Verzeichnisstruktur phpBB-3.2.0
- Veröffentlicht
- 06.01.2017
So funktioniert es
|
Auf das letzte Element klicken. Dies geht jeweils ein Schritt zurück |
Auf das Icon klicken, dies öffnet das Verzeichnis. Nochmal klicken schließt das Verzeichnis. |
|
(Beispiel Datei-Icons)
|
Auf das Icon klicken um den Quellcode anzuzeigen |
recursive_dot_prefix_filter_iterator.php
01 <?php
02 /**
03 *
04 * This file is part of the phpBB Forum Software package.
05 *
06 * @copyright (c) phpBB Limited <https://www.phpbb.com>
07 * @license GNU General Public License, version 2 (GPL-2.0)
08 *
09 * For full copyright and license information, please see
10 * the docs/CREDITS.txt file.
11 *
12 */
13
14 namespace phpbb;
15
16 /**
17 * Class recursive_dot_prefix_filter_iterator
18 *
19 * This filter ignores directories starting with a dot.
20 * When searching for php classes and template files of extensions
21 * we don't need to look inside these directories.
22 */
23 class recursive_dot_prefix_filter_iterator extends \RecursiveFilterIterator
24 {
25 public function accept()
26 {
27 $filename = $this->current()->getFilename();
28 return $filename[0] !== '.' || !$this->current()->isDir();
29 }
30 }
31