Lines Matching refs:id
115 * @param string $id page ID to link to. eg. 'wiki:syntax'
121 function internallink($id, $name = NULL, $returnonly = false) { argument
124 $default = $this->_simpleTitle($id);
126 resolve_pageid(getNS($ID),$id,$exists);
127 $name = $this->_getLinkTitle($name, $default, $isImage, $id);
130 list($id,$hash) = explode('#',$id,2);
134 if ( in_array($id, $pages) ) {
137 return $this->locallink_with_text($hash, $id, $name, $returnonly);
139 $this->locallink_with_text($hash, $id, $name, $returnonly);
145 $url = wl($id,'',true);
148 if ($ID == $id) {
150 return $this->locallink_with_text($hash, $id, $name, $returnonly);
152 $this->locallink_with_text($hash, $id, $name, $returnonly);