Lines Matching refs:key
21 * @var string sort key: 'cdate', 'mdate', 'pagename', 'id', 'ns', 'title'
278 // determine the sort key
304 // make sure that the key is unique
325 // finally sort by sort key
338 * @param array $pages The pages that shall be filtered, each page needs to be an array with a key "id"
350 foreach ($pages as $key => $page) {
352 unset($pages[$key]);
586 * Non-recursive function to check whether an array key is unique
588 * @param int|string $key
595 protected function uniqueKey($key, $result) {
598 if (is_numeric($key)) {
599 while (array_key_exists($key, $result)) {
600 $key++;
602 return $key;
607 $testkey = $key;
609 $testkey = $key.$num;