Lines Matching refs:page
70 * @param string $page
73 public function addPattern($pattern, $page, $pos) argument
77 $ok = (bool) $this->sqlite->query($sql, array($pattern, $page, $pos));
93 * @param string $page
114 if (!in_array($page, $pages)) {
151 * @param string $page
155 public function assignPageExtension($page, $pattern) argument
158 return (bool) $this->sqlite->query($sql, array($page, $pattern));
164 * @param string $page
168 public function deassignPageExtension($page, $pattern) argument
171 return (bool) $this->sqlite->query($sql, array($page, $pattern));
187 * @param string $page
192 public function getPageAssignments($page, $pos, $checkpatterns = true) argument
195 $page = cleanID($page);
199 $pns = ':' . getNS($page) . ':';
201 if (($this->matchPagePattern($row['pattern'], $page, $pns)) &&
214 $res = $this->sqlite->query($sql, array($page, $pos));
231 * @param string $page the cleaned pageid to check
235 protected function matchPagePattern($pattern, $page, $pns = null) argument
241 return (bool) preg_match($pattern, ":$page");
245 $pns = ':' . getNS($page) . ':';
261 if (cleanID($pattern) == $page) {