Lines Matching refs:pid
36 function add($path, $pid) { argument
38 $this->pids[] = $pid;
70 $pid = $this->pids[$key];
71 $result = array($path, $pid );
100 * @param null $pid
103 function filtered($section = null, $regex = null, $pid = null) { argument
111 if ($pid !== null) {
112 $fpaths = array_intersect_key($this->paths, preg_grep('/' . $pid . '/', $this->pids));
172 …* @param integer $pid The page id of the page being updated; needed to reference the …
176 function update($pid, Array $matched_entries) { argument
179 $page_index = $this->index->filtered(null, null, $pid);
191 $this->index->add($matched_path, $pid);
223 foreach ($index->pids as $key => $pid) {
227 if (isset($missing_pids[$pid]) || ! SI_Utils::is_valid_page($all_pages[$pid])) {
228 $missing_pids[$pid][] = $key;
231 foreach ($missing_pids as $pid) {
232 foreach ($pid as $key)
289 $pid = array();
293 $pid[] = substr($entry, $delim + 1);
295 return array($path, $pid);