Lines Matching refs:ns
133 protected function _parseNS($ns) { argument
135 if(strpos($ns, '@PAGE@') !== false) {
136 return cleanID(str_replace('@PAGE@', $ID, $ns));
138 if($ns == "@NS@") return getNS($ID);
139 $ns = preg_replace("/^\.(:|$)/", dirname(str_replace(':', '/', $ID)) . "$1", $ns);
140 $ns = str_replace("/", ":", $ns);
142 return cleanID($ns);
203 foreach($subnamespaces as $ns) {
205 if(auth_quickaclcheck($ns . ":") < AUTH_CREATE) continue;
208 …while(!empty($ancestor_stack) && strpos($ns, $ancestor_stack[count($ancestor_stack) - 1] . ':') !=…
212 $nsparts = explode(':', $ns);
259 foreach($searchdata as $ns) {
261 if( ! empty($exclude) && strpos($ns['id'], $exclude) === 0) {
265 $namespaces[] = $ns['id'];