Lines Matching refs:name

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)
115 // title takes precedence over name (should you try to sort by both...why?)
140 // establish page name (without namespace)
141 $name = noNS($id);
149 // second column is the display 'name' (used when sorting by 'name')
150 // this also avoids rebuilding the display name when building links later (DRY)
151 $row['name'] = $name;
153 // third column: cache the display name; taken from metadata => 1st heading
155 $title = (isset($meta['title']) && !empty($meta['title'])) ? $meta['title'] : $name;
159 $abc = ($from_title) ? $title : $name;
181 case 'name':
183 // name/title columns already exists by default (col 1,2)
276 // e.g. display=title or display=name
279 // if all else fails then use the page name (always available)
281 $display = $row['name'];
308 case 'name':
342 // name strings and full dates cannot be meaningfully grouped (no duplicates!)
345 case 'name':
528 foreach ($pages as $idx => $name) {
529 if ($nostart && substr($name, -$offset) == $start) {
531 } elseif ($maxns > 0 && (substr_count($name, ':')) > $maxns) {
696 * @return array $results : array of arrays: (level, name, page_id, title), e.g. array(1, 'Main Title')
755 // args : $level, $name, $id, $_, $abstract, $display
767 // allow the first heading to be used instead of page id/name
773 // args : $level, $name, $id, $_, $abstract, $display
840 [$level, $name, $id, $_, $abstract, $display] = $line;
845 $heading = $name;
908 if ($opt['proper'] === 'name' || $opt['proper'] === 'both') {
1103 [$level, $name, $id, $_, $abstract, $display] = $line;
1106 $heading = ($is_heading) ? $name : '';
1141 if ($opt['proper'] === 'name' || $opt['proper'] === 'both') {