Lines Matching defs:pages
561 private $pages;
578 $this->pages = array();
622 list($warnings, $this->matches, $this->pages) = $matches;
636 $this->saveArray('matches', array($this->warnings, $this->matches, $this->pages));
651 $this->pages = array();
683 $this->pages[$page->getId()] = $page;
691 return $this->pages;
711 return count($this->pages);
783 protected $pages;
788 public function __construct($pages) {
789 $this->pages = $pages;
805 public function __construct($pages, $cache) {
806 parent::__construct($pages);
815 if (!array_key_exists($pageId, $this->pages) || !array_key_exists($pageId, $this->cache)) {
819 $matches = $this->pages[$pageId]->getMatches();
827 $this->pages[$pageId]->markMatch($offset);
856 if (array_key_exists($pageId, $this->pages)) {
857 $this->pages[$pageId]->markMatch($offset);
868 if (!array_key_exists($pageId, $this->pages)) {
872 if (array_key_exists($offset, $this->pages[$pageId]->getMatches())) {
873 $this->pages[$pageId]->markMatch($offset);
881 foreach ($this->pages[$pageId]->getMatches() as $match) {
903 $this->pages[$pageId]->markMatch($minOffset);