11 * Get the namespace index.
13 * @return int Namespace index
15 public function getNamespace();
18 * Get the link fragment (i.e. the bit after the #) in text form.
20 * @return string link fragment
22 public function getFragment();
25 * Whether the link target has a fragment
29 public function hasFragment();
32 * Get the main part with underscores.
34 * @return string Main part of the link, with underscores (for use in href attributes)
36 public function getDBkey();
39 * Returns the link in text form, without namespace prefix or fragment.
41 * This is computed from the DB key by replacing any underscores with spaces.
45 public function getText();