Lines Matching refs:id
138 * @param string $id the hash link
142 public function toc_additem($id, $text, $level)
150 'hid' => $id,
463 * @param string $id page ID to link to. eg. 'wiki:syntax'
466 public function internallink($id, $name = null)
477 $parts = explode('?', $id, 2);
479 $id = $parts[0];
482 $default = $this->_simpleTitle($id);
484 // first resolve and clean up the $id
486 $id = $resolver->resolveId($id);
487 [$page] = sexplode('#', $id, 2);
492 // p_set_metadata($id, $data);
496 $name = $this->_getLinkTitle($name, $default, $id);
702 * @param null|string $id linked page id (used to extract title from first heading)
706 public function _getLinkTitle($title, $default, $id = null)
715 if (useHeading('content') && $id) {
716 $heading = p_get_first_heading($id, METADATA_DONT_RENDER);