Lines Matching refs:pages
207 $pages = $this->getTopic('', 1, $svtag);
208 if (empty($pages)) {
252 $pages = $this->getIndexedPagesMatchingTagQuery($queryTags);
253 if (!count($pages)) {
257 foreach ($pages as $page) {
338 …* @param array $pages The pages that shall be filtered, each page needs to be an array with a key …
342 public function tagRefine($pages, $tagquery) { argument
343 if (!is_array($pages)) {
345 return $pages;
350 foreach ($pages as $key => $page) {
352 unset($pages[$key]);
356 return $pages;
393 $pages = array_unique($indexedPagesWithTags[$tag]);
397 $pages = array_filter($pages, [$this, 'isVisible']);
399 if (empty($pages)) continue;
403 $tagOccurrences[$tag] = count($pages);
407 foreach ($pages as $page) {
415 foreach ($pages as $page) {
465 $pages = $indexer->lookupKey('subject', $cleanTags, [$this, 'tagCompare']);
473 if (!is_array($pages[$tag])) {
474 $pages[$tag] = [];
478 $result = array_intersect($result, $pages[$tag]);
480 $result = array_diff($result, $pages[$tag]);
482 $result = array_unique(array_merge($result, $pages[$tag]));