Lines Matching refs:id
76 * @param null|string $id the ID to check against, null for global $ID
79 public function getIncludes($location, $id = null) argument
82 if ($id === null) $id = $ID;
83 $id = cleanID($id);
84 $ns = getNS($id);
93 $page = $this->matchPagePattern($pattern, $id, $page, $pns);
108 * @param null|string $id the ID to check against, null for global $ID
111 public function renderIncludes($location, $id = null) argument
113 $pages = $this->getIncludes($location, $id);
143 * @param string $id the cleaned pageid to check
148 protected function matchPagePattern($pattern, $id, $page, $pns = null) argument
154 if (preg_match($pattern, ":$id", $matches)) {
165 $pns = ':' . getNS($id) . ':';
182 if (cleanID($pattern) == $id) {