Lines Matching defs:clean
32 * @param bool $clean if true, ID is cleaned
35 function getID($param = 'id', $clean = true)
70 //clean script and request (fixes a windows problem)
106 if ($clean) $id = cleanID($id);
120 * @param string $raw_id The pageid to clean
159 //clean up
281 * @param bool $clean flag indicating that $id should be cleaned (see wikiFN as well)
285 function page_exists($id, $rev = '', $clean = true, $date_at = false)
295 return file_exists(wikiFN($id, $rev, $clean));
303 * @param bool $clean flag indicating that $id should be cleaned (see mediaFN as well)
307 function media_exists($id, $rev = '', $clean = true, $date_at = false)
316 return file_exists(mediaFN($id, $rev, $clean));
326 * @param $clean bool flag indicating that $raw_id should be cleaned. Only set to false
332 function wikiFN($raw_id, $rev = '', $clean = true)
341 if ($clean) $id = cleanID($id);
452 * @param bool $clean
456 function mediaFN($id, $rev = '', $clean = true)
459 if ($clean) $id = cleanID($id);
507 * @param bool $clean flag indicating that id should be cleaned
510 function resolve_id($ns, $id, $clean = true)
548 if ($clean) $id = cleanID($id);