Lines Matching refs:pages

60      * @param string $ns list only pages from this namespace
61 * @param bool $aclSafe if true, add only tags that are on readable pages
113 * @param string $ns list only tags used on pages from this namespace
114 * @param bool $aclSafe if true, checks if user has read permission for the pages containing the tags
169 * @param string $ns list pages from this namespace
183 $pages = $indexer->lookupKey('subject', $tag, [$this, 'tagCompare']);
185 foreach ($pages as $page) {
226 * @param string $ns list only pages from this namespace
261 $pages = [];
265 $pages[] = $p['id'];
272 $pages = array_unique($pages);
273 $this->ps_pages_id = array_intersect($this->ps_pages_id, $pages);
282 $pages = array();
286 $pages[] = $p['id'];
289 $pages = array_unique($pages);
290 $this->ps_pages_id = array_diff($this->ps_pages_id, $pages);
300 $pages = array();
304 $pages[] = $p['id'];
310 $pages = array_unique($pages);
311 $this->ps_pages_id = array_merge($this->ps_pages_id, $pages);
396 * return all pages defined by tag_list_r in a specific namespace
404 $pages = array();
405 $pages[''] = '';
414 $pages[$page] = strip_tags($title); //FIXME hsc() doesent work with chosen
417 asort($pages);
418 return $pages;
435 * Gets the pages defined by tag_list
450 // filter by namespace, root namespace is identified with a dot // root namespace is specified, discard all pages who lay outside the root namespace
516 * Returns per tag the pages where these are used as array with: tag=>array with pages
517 * The tags matches the tag regexp pattern and only shown if it is used at pages in requested namespace, these pages
523 * @param string $ns list only pages from this namespace
524 * @return array [tag]=>array pages where tag is used
546 $pages = $this->taghelper->getIndexedPagesMatchingTagQuery([$tag]);
549 $matchedPages[$tag] = array_filter($pages, function ($pageid) use ($ns) {