Lines Matching refs:paths
23 public $paths = array(); variable in SI_Index
27 function __construct(Array $paths = null, Array $pids = null) { argument
28 if ($paths === null) {
29 $paths = $pids = array();
31 $this->paths = $paths;
37 $this->paths[] = $path;
43 unset($this->paths[$key]);
49 return empty($this->paths);
54 uasort($this->paths, array($this, '_pathcmp'));
59 reset($this->paths);
65 $path = current($this->paths);
69 $key = key($this->paths);
79 return key($this->paths);
83 next($this->paths);
89 $valid = current($this->paths) !== false;
104 $fpaths = $this->paths;
112 $fpaths = array_intersect_key($this->paths, preg_grep('/' . $pid . '/', $this->pids));
180 $page_paths = $page_index->paths;
270 list($paths, $pids) = self::import_old($fn);
271 $index = new SI_Index($paths, $pids);