Lines Matching refs:ID
91 $fp = wikiFN($ID);
92 $ID = substr($fp, 0, strrpos($fp, '.'));
95 if (is_dir($ID . '/')) {
97 …$posts = $this->read_dir_to_array($ID . '/', 'file', '/^[0-9]{4}-[0-9]{2}-[0-9]{2}-[0-9]{6}\.txt$/…
104 $recents[] = $ID . '/' . $post;
111 $years = $this->read_dir_to_array($ID . '/', 'dir');
117 $months = $this->read_dir_to_array($ID . '/' . $year . '/', 'dir');
122 $days = $this->read_dir_to_array($ID . '/' . $year . '/' . $month . '/', 'dir');
127 $posts = $this->read_dir_to_array($ID . '/' . $year . '/' . $month . '/' . $day . '/',
136 $recents[] = $ID . '/' . $year . '/' . $month . '/' . $day . '/' . $post;
155 global $ID, $conf;
175 $post_url = $this->getUrlPartFromTimestamp($ID, $ts);
224 * @param String $ID
228 function getUrlPartFromTimestamp($ID, $ts=0) { argument
243 return $ID . $sep . date('Y-m-d-His', $ts);
246 return $ID . $sep . date('Y' . $sep . 'm' . $sep . 'd' . $sep . 'His', $ts);
297 global $conf, $ID;
302 $page = $this->getUrlPartFromTimestamp($ID, time());
318 global $conf, $ID;
321 $html .= $this->getRewriteUrl($ID, "page=$page");
379 global $ID, $conf;
395 … $recents = $this->getPosts($ID, $this->getConf('numposts'), ($page * $this->getConf('numposts')));