Lines Matching refs:id
439 function internallink($id, $name = NULL, $search=NULL, $returnonly=false) { argument
442 $default = $this->_simpleTitle($id);
445 resolve_pageid(getNS($ID),$id,$exists);
446 $name = $this->_getLinkTitle($name, $default, $isImage, $id);
447 list($page, $section) = split('#', $id, 2);
451 $cleanid = noNS(cleanID($id, TRUE));
454 array_push($this->dokulinks, array('id' => $id, 'name' => $name,
476 function internallink_xhtml($id, $name = NULL, $search=NULL, $returnonly=false) { argument
480 $default = $this->_simpleTitle($id);
482 resolve_pageid(getNS($ID),$id,$exists);
483 $name = $this->_getLinkTitle($name, $default, $isImage, $id);
496 list($id,$hash) = split('#',$id,2);
498 $this->putcmd('href{' . $id . '#' . $hash . '}{' . $name . '}');
500 $this->putcmd('hyperlink{' . $id . '}{' . $name . '}');
1425 function _getLinkTitle($title, $default, & $isImage, $id=NULL) { argument
1430 if ($conf['useheading'] && $id) {
1431 $heading = p_get_first_heading($id);