Lines Matching refs:id
36 * @param string $id page ID
41 function auth_aclcheck($id,$user,$groups, $_auth=1){ argument
67 $ns = getNS($id);
82 $matches = preg_grep('/^'.preg_quote($id,'/').'\s+('.$regexp.')\s+/'.$ci,$AUTH_ACL);
171 function getNS($id){ argument
172 $pos = strrpos((string)$id,':');
174 return substr((string)$id,0,$pos);
206 $id = trim((string)$raw_id);
207 $id = utf8_strtolower($id);
210 $id = strtr($id,';',':');
212 $id = strtr($id,'/',':');
214 $id = strtr($id,'/',$sepchar);
217 if($dwfck_conf['deaccent'] == 2 || $ascii) $id = utf8_romanize($id);
218 if($dwfck_conf['deaccent'] || $ascii) $id = utf8_deaccent($id,-1);
221 $id = utf8_stripspecials($id,$sepchar,'\*');
223 if($ascii) $id = utf8_strip($id);
226 $id = preg_replace($sepcharpat,$sepchar,$id);
227 $id = preg_replace('#:+#',':',$id);
228 $id = ($media ? trim($id,':.-') : trim($id,':._-'));
229 $id = preg_replace('#:[:\._\-]+#',':',$id);
231 $cache[(string)$raw_id] = $id;
232 return($id);
264 list($id,$rest) = preg_split('/\s+/',$acl[$i],2);
265 $id = str_replace('%USER%',cleanID($_SERVER['REMOTE_USER']),$id);
267 $acl[$i] = "$id\t$rest";