Lines Matching defs:entry
101 * @param string $entry
105 protected function dirFilter($entry, $basepath)
107 if ($entry == '.' || $entry == '..') {
110 if (is_dir($basepath . '/' . $entry)) {
111 if (strpos($entry, '_') === 0) {
116 if (preg_match('/\.txt$/', $entry)) {
143 while (false !== ($entry = readdir($dh))) {
144 $status = $this->dirFilter($entry, $dir);
148 $pages = array_merge($pages, $this->getPages($dir . '/' . $entry));
150 $page = ['id' => pathID(substr($dir . '/' . $entry, $trunclen)), 'file' => $dir . '/' . $entry];