Lines Matching defs:id

272             $item['id'],
318 * or the page id depending on the wiki's configuration.
332 foreach ($data as $id => $score) {
334 $snippet = ft_snippet($id, $regex);
341 $id,
344 useHeading('navigation') ? p_get_first_heading($id) : $id
372 $recent['id'],
395 * @param string $page wiki page id
424 * @param string $page page id
444 * @param string $page page id
470 * @param string $page page id
516 * @param string $page page id
564 * @param string $page page id
600 foreach ($pages as $id) {
601 $id = cleanID($id);
602 if ($id === '') continue;
603 if (auth_quickaclcheck($id) < AUTH_EDIT || checklock($id)) {
606 lock($id);
607 $locked[] = $id;
631 foreach ($pages as $id) {
632 $id = cleanID($id);
633 if ($id === '') continue;
634 if (auth_quickaclcheck($id) < AUTH_EDIT || !unlock($id)) {
637 $unlocked[] = $id;
651 * @param string $page page id
657 * @throws RemoteException no id, empty new page or locked
715 * @param string $page page id
770 $item['id'],
803 $recent['id'],
822 * @param string $media file id
853 * @param string $media file id
888 * @param string $media file id
912 * @param string $media media id
964 * @param string $media media id
998 * - clean the given page id
999 * - disallow an empty page id
1003 * @param string $id page id
1007 * @return string the cleaned page id
1011 private function checkPage($id, $rev = 0, $existCheck = true, $minAccess = AUTH_READ)
1013 $id = cleanID($id);
1014 if ($id === '') {
1018 if ($existCheck && !page_exists($id, $rev)) {
1022 if ($minAccess && auth_quickaclcheck($id) < $minAccess) {
1026 return $id;