Verzeichnisstruktur phpBB-3.1.0
- Veröffentlicht
- 27.10.2014
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 |
FakeFile.php
01 <?php
02
03 /*
04 * This file is part of the Symfony package.
05 *
06 * (c) Fabien Potencier <fabien@symfony.com>
07 *
08 * For the full copyright and license information, please view the LICENSE
09 * file that was distributed with this source code.
10 */
11
12 namespace Symfony\Component\HttpFoundation\Resources\stubs;
13
14 use Symfony\Component\HttpFoundation\File\File as OrigFile;
15
16 class FakeFile extends OrigFile
17 {
18 private $realpath;
19
20 public function __construct($realpath, $path)
21 {
22 $this->realpath = $realpath;
23 parent::__construct($path, false);
24 }
25
26 public function isReadable()
27 {
28 return true;
29 }
30
31 public function getRealpath()
32 {
33 return $this->realpath;
34 }
35
36 public function getSize()
37 {
38 return 42;
39 }
40
41 public function getMTime()
42 {
43 return time();
44 }
45 }
46