Lines Matching defs:id
22 * @param string $id - a pageid, the namespace of that id will be tried to deleted
29 function io_sweepNS($id, $basedir = 'datadir')
38 while (($id = getNS($id)) !== false) {
39 $dir = $conf[$basedir] . '/' . utf8_encodeFN(str_replace(':', '/', $id));
44 $data = [$id, $ns_type];
69 * @param string $id page id
75 function io_readWikiPage($file, $id, $rev = false)
80 $data = [[$file, true], getNS($id), noNS($id), $rev];
202 * @param string $id page id
208 function io_writeWikiPage($file, $content, $id, $rev = false)
214 io_createNamespace($id); // create namespaces as needed
216 $data = [[$file, $content, false], getNS($id), noNS($id), $rev];
480 * @param string $id page id
485 function io_createNamespace($id, $ns_type = 'pages')
495 $ns_stack = explode(':', $id);
496 $ns = $id;