Lines Matching refs:a
86 * This returns a flat list suitable for html_buildlist()
146 uasort($items, function ($a, $b) use ($useNatSort, $nsFirst) {
147 return $this->itemComparator($a, $b, $useNatSort, $nsFirst);
152 // merge levels into a flat list again
172 * @param array $a
178 public function itemComparator($a, $b, $useNatSort, $nsFirst)
180 if ($nsFirst && $a['type'] != $b['type']) {
181 return $a['type'] == 'd' ? -1 : 1;
185 return Sort::strcmp($a['title'], $b['title']);
187 return strcmp($a['title'], $b['title']);
193 * Create a list openening
211 * Create a list item
275 // if the resolve id is in the same namespace as the original it's a start page named like the dir