| 1 | <?php |
||
| 12 | abstract class Filemanager { |
||
| 13 | |||
| 14 | /** |
||
| 15 | * Get a container object for a path located within the addons directory |
||
| 16 | */ |
||
| 17 | |||
| 18 | public static function openAddons(string $path = '') : Filemanager\Container\Addons { |
||
| 22 | |||
| 23 | /** |
||
| 24 | * Get a container object for a path located within the languages directory |
||
| 25 | */ |
||
| 26 | |||
| 27 | public static function openLanguages(string $path = '') : Filemanager\Container\Languages { |
||
| 31 | |||
| 32 | /** |
||
| 33 | * Get a container object for a path located within the templates directory |
||
| 34 | */ |
||
| 35 | |||
| 36 | public static function openTemplates(string $path = '') : Filemanager\Container\Templates { |
||
| 40 | |||
| 41 | /** |
||
| 42 | * Get a container object for a path located within the uploads directory |
||
| 43 | */ |
||
| 44 | |||
| 45 | public static function openUploads(string $path = '') : Filemanager\Container\Uploads { |
||
| 49 | |||
| 50 | /** |
||
| 51 | * Get a directory/file entity object |
||
| 52 | */ |
||
| 53 | |||
| 54 | public static function get(Filemanager\Utils\Container $parent, string $name = '') : Filemanager\Utils\Entity { |
||
| 58 | |||
| 59 | /** |
||
| 60 | * Get a loader object for a given parent |
||
| 61 | */ |
||
| 62 | |||
| 63 | public static function getLoader(Filemanager\Utils\Container $parent) : Filemanager\Utils\Loader { |
||
| 67 | } |
||
| 68 | } |
||
| 69 |