Lines Matching refs:id
328 * @param string $id
335 private function _render_wikilink($id, $proper, $title, $abstract, $anchor) { argument
337 $id = (strpos($id, ':') === false) ? ':' . $id : $id; // : needed for root pages
341 $value = p_get_metadata($id, 'title', true);
342 $name = (empty($value)) ? $this->_proper(noNS($id)) : $value;
344 $name = $this->_proper(noNS($id));
349 $link = html_wikilink($id, $name);
353 $link = $this->_add_tooltip($link, $id);
359 private function _proper($id) { argument
360 $id = str_replace(':', ': ', $id);
361 $id = str_replace('_', ' ', $id);
362 $id = ucwords($id);
363 $id = str_replace(': ', ':', $id);
364 return $id;
372 * @param string $id page id
375 private function _add_tooltip($link, $id) { argument
376 $tooltip = $this->_get_abstract($id);
385 private function _get_abstract($id) { argument
386 $meta = \p_get_metadata($id, 'description abstract', true);