Lines Matching refs:id
42 * @param string $id page ID
47 function auth_aclcheck($id,$user,$groups, $_auth=1){ argument
74 $ns = getNS($id);
87 $matches = preg_grep('/^'.preg_quote($id, '/').'[ \t]+([^ \t]+)[ \t]+/', $AUTH_ACL);
202 function getNS($id){ argument
203 $pos = strrpos((string)$id,':');
205 return substr((string)$id,0,$pos);
237 $id = trim((string)$raw_id);
238 $id = utf8_strtolower($id);
249 if($dwfck_conf['deaccent'] == 2 || $ascii) $id = utf8_romanize($id);
250 if($dwfck_conf['deaccent'] || $ascii) $id = utf8_deaccent($id,-1);
253 $id = utf8_stripspecials($id,$sepchar,'\*');
255 if($ascii) $id = utf8_strip($id);
258 $id = preg_replace($sepcharpat,$sepchar,$id);
259 $id = preg_replace('#:+#',':',$id);
260 $id = ($media ? trim($id,':.-') : trim($id,':._-'));
261 $id = preg_replace('#:[:\._\-]+#',':',$id);
263 $cache[(string)$raw_id] = $id;
264 return($id);
296 list($id,$rest) = preg_split('/\s+/',$acl[$i],2);
297 $id = str_replace('%USER%',cleanID($_SERVER['REMOTE_USER']),$id);
299 $acl[$i] = "$id\t$rest";