Lines Matching defs:id

92      * Builds the sorting array: array of arrays (0 = id, 1 = name, 2 = abstract, 3 = ... , etc)
114 // look for 'abc' by title instead of name ('abc' by page-id makes little sense)
130 foreach ($ids as $id) {
132 $meta = p_get_metadata($id, '', METADATA_DONT_RENDER);
141 $name = noNS($id);
146 // first column is the basic page id
147 $row['id'] = $id;
186 case 'id':
187 $value = $id;
190 $value = getNS($id);
218 // we only set real date once per id (needed for grouping)
226 // only set date formats once per sort column/key (not per id!), i.e. on first row
310 case 'id':
347 case 'id':
507 // we only look for namespace from beginning of the id
755 // args : $level, $name, $id, $_, $abstract, $display
764 $id = implode(':', array_slice($cur_ns, 0, $i + 1)) . ':' . $conf['start'];
765 if (page_exists($id)) {
766 $ns_start = $id;
767 // allow the first heading to be used instead of page id/name
768 $display = p_get_metadata($id, 'title');
773 // args : $level, $name, $id, $_, $abstract, $display
825 $render .= '<div class="pagequery ' . $outer_border . " " . $tableless . '" id="' . $top_id . '" style="'
840 [$level, $name, $id, $_, $abstract, $display] = $line;
894 if (!empty($id)) {
895 $heading = $this->htmlWikilink($id, $heading, '', $opt, false, true);
911 $link = $this->htmlWikilink($id, $display, $abstract, $opt);
948 * Changes a wiki page id into proper case (allowing for :'s etc...)
949 * @param string $id page id
951 private function proper(string $id): string
953 $id = str_replace(':', ': ', $id); // make a little whitespace before words so ucwords can work!
954 $id = str_replace('_', ' ', $id);
955 $id = ucwords($id);
956 return str_replace(': ', ':', $id);
961 * @param string $id
969 string $id,
976 $id = (strpos($id, ':') === false) ? ':' . $id : $id; // : needed for root pages (root level)
977 $link = html_wikilink($id, $display);
991 $more = html_wikilink($id, 'more');
1103 [$level, $name, $id, $_, $abstract, $display] = $line;
1127 if (!empty($id)) {
1128 $heading = $this->htmlWikilink($id, $heading, '', $opt, false, true);
1144 $link = $this->htmlWikilink($id, $display, $abstract, $opt);
1153 $render .= '<div class="pagequery ' . $outer_border . '" id="' . $top_id . '" style="'