Lines Matching refs:id
172 preg_match("/id=\"(.*?)\"/", $this->doc, $matches);
174 $this->doc = preg_replace("/id=\".*?\"/", '', $this->doc);
175 $this->doc = DOKU_LF.'<a id="'. $matches[1] .'" class="head-anchor" style="visibility:hidden"></a>'.DOKU_LF . $this->doc;
242 function internallink($id, $name = null, $search=null,$returnonly=false,$linktype='content') {
248 $parts = explode('?', $id, 2);
250 $id = $parts[0];
254 // For empty $id we need to know the current $ID
256 // correct $id and resolve_pageid() use cleanID($id)
258 if ($id === '') {
259 $id = $ID;
262 // default name is based on $id as given
263 $default = $this->_simpleTitle($id);
265 // now first resolve and clean up the $id
267 $id = (new dokuwiki\File\PageResolver($ID))->resolveId($id);
268 $exists = page_exists($id);
270 resolve_pageid(getNS($ID),$id,$exists);
273 $name = $this->_getLinkTitle($name, $default, $isImage, $id, $linktype);
286 list($id,$hash) = explode('#',$id,2);
295 if ($id == $INFO['id']) {
301 $link['url'] = wl($id, $params);
303 $link['title'] = $this->_getLinkTitle(null, $default, $isImage, $id, $linktype);