Lines Matching refs:ID
48 foreach($joinedIDs as $ID)
50 $files = $this->scan($ID);
69 * @param string $ID ID of the page or namespace
72 function scan($ID = null) argument
74 $path = $this->ID2abs($ID);
79 if($this->getScanType($ID) == 'SINGLE_PAGE')
81 elseif($this->getScanType($ID) == 'RECURSIVE_DIRECTORY')
83 elseif($this->getScanType($ID) == 'SINGLE_DIRECTORY')
121 * @param string $ID
124 function getScanType($ID = null) argument
126 $IDparts = explode(':', $ID);
198 * @param string $ID page/namespace ID
201 function ID2abs($ID = null) { argument
202 if(noNS($ID) == '*' || noNS($ID) == '**')
203 $abs = DOKU_PAGES.'/'.str_replace(':','/',getNS($ID));
205 $abs = DOKU_PAGES.'/'.str_replace(':','/',$ID.'.txt');
223 $ID = preg_replace('/[\/\\\]/',':',$abs);
225 if(substr($ID,0,1) == ':')
226 $ID = substr($ID,1);
228 return $ID;