|
ILIAS
trunk Revision v12.0_alpha-377-g3641b37b9db
|
Inheritance diagram for ILIAS\Filesystem\Provider\DirectoryReadAccess:
Collaboration diagram for ILIAS\Filesystem\Provider\DirectoryReadAccess:Public Member Functions | |
| hasDir (string $path) | |
| Checks whether the directory exists or not. More... | |
| listContents (string $path='', bool $recursive=false) | |
| Lists the content of a directory. More... | |
Definition at line 28 of file DirectoryReadAccess.php.
| ILIAS\Filesystem\Provider\DirectoryReadAccess::hasDir | ( | string | $path | ) |
Checks whether the directory exists or not.
| string | $path | The path which should be checked. |
Implemented in ILIAS\Filesystem\Decorator\FilesystemWhitelistDecorator, ILIAS\Filesystem\Decorator\ReadOnlyDecorator, ILIAS\Filesystem\FilesystemFacade, and ILIAS\Filesystem\Provider\FlySystem\FlySystemDirectoryAccess.
| ILIAS\Filesystem\Provider\DirectoryReadAccess::listContents | ( | string | $path = '', |
| bool | $recursive = false |
||
| ) |
Lists the content of a directory.
| string | $path | The directory which should listed. Defaults to the adapter root directory. |
| bool | $recursive | Set to true if the child directories also should be listed. Defaults to false. |
| DirectoryNotFoundException | If the directory is not found or inaccessible. |
Implemented in ILIAS\Filesystem\Decorator\FilesystemWhitelistDecorator, ILIAS\Filesystem\Decorator\ReadOnlyDecorator, and ILIAS\Filesystem\FilesystemFacade.
Referenced by ILIAS\Filesystem\Provider\FlySystem\FlySystemDirectoryAccess\copyDir(), and ILIAS\Filesystem\Provider\FlySystem\FlySystemDirectoryAccess\ensureEmptyDirectory().
Here is the caller graph for this function: