Lines Matching full:pages
6 * A set of pages with associated scores
15 protected array $pages; variable in dokuwiki\\Search\\Query\\PageSet
18 * @param array<string, int> $pages page ID => score
20 public function __construct(array $pages = []) argument
22 $this->pages = $pages;
30 return $this->pages;
34 * Intersect with another PageSet, summing scores for pages present in both
36 * @return self pages present in both sets
42 foreach ($this->pages as $id => $score) {
51 * Unite with another PageSet, summing scores where pages overlap
53 * @return self pages present in either set
57 $result = $this->pages;
65 * Remove pages that exist in the other PageSet
67 * @return self pages in this set but not in $other
71 return new self(array_diff_key($this->pages, $other->getPages()));
75 * @return bool true if this set contains no pages
79 return $this->pages === [];