Lines Matching refs:matches
244 private $matches;
251 $this->matches = array();
302 return $this->matches;
309 if (array_key_exists($offset, $this->matches)) {
310 $this->matches[$offset]->mark();
320 foreach ($this->matches as $match) {
336 foreach ($this->matches as $match) {
352 foreach ($this->matches as $match) {
373 foreach ($this->matches as $match) {
400 return serialize(array($this->id, $this->matches));
407 list($this->id, $this->matches) = unserialize($data);
414 $this->matches[$offset] = new BatcheditMatch($text, $offset, $matched, $regexp, $replacement, $contextChars, $contextLines);
438 foreach ($this->matches as $match) {
496 $matchesTime = @filemtime(self::getFileName($id, 'matches'));
522 @unlink(self::getFileName($id, 'matches'));
562 private $matches;
579 $this->matches = 0;
616 $matches = $this->loadArray('matches');
618 if (!is_array($matches)) {
622 list($warnings, $this->matches, $this->pages) = $matches;
636 $this->saveArray('matches', array($this->warnings, $this->matches, $this->pages));
652 $this->matches = 0;
684 $this->matches += count($page->getMatches());
702 $matches = $this->loadArray('matches');
704 return is_array($matches) ? $matches[2] : array();
718 return $this->matches;
819 $matches = $this->pages[$pageId]->getMatches();
822 if (!array_key_exists($offset, $matches) || !array_key_exists($offset, $cache)) {
826 if ($this->compareMatches($matches[$offset], $cache[$offset])) {