ILIAS
release_8 Revision v8.24
◀ ilDoc Overview
DirectoryReadAccess.php
Go to the documentation of this file.
1
<?php
2
3
namespace
ILIAS\Filesystem\Provider
;
4
5
use
ILIAS\Filesystem\DTO\Metadata
;
6
use
ILIAS\Filesystem\Exception\DirectoryNotFoundException
;
7
8
/******************************************************************************
9
*
10
* This file is part of ILIAS, a powerful learning management system.
11
*
12
* ILIAS is licensed with the GPL-3.0, you should have received a copy
13
* of said license along with the source code.
14
*
15
* If this is not the case or you just want to try ILIAS, you'll find
16
* us at:
17
* https://www.ilias.de
18
* https://github.com/ILIAS-eLearning
19
*
20
*****************************************************************************/
34
interface
DirectoryReadAccess
35
{
46
public
function
hasDir
(
string
$path
): bool;
47
48
62
public
function
listContents
(
string
$path
=
''
,
bool
$recursive =
false
): array;
63
}
ILIAS\Filesystem\DTO\Metadata
Class Metadata.
Definition:
Metadata.php:20
ILIAS\Filesystem\Exception\DirectoryNotFoundException
Class DirectoryNotFoundException.
Definition:
DirectoryNotFoundException.php:28
ILIAS\Filesystem\Provider\DirectoryReadAccess
Interface DirectoryReadAccess.
Definition:
DirectoryReadAccess.php:35
ILIAS\Filesystem\Provider\DirectoryReadAccess\hasDir
hasDir(string $path)
Checks whether the directory exists or not.
ILIAS\Filesystem\Provider\DirectoryReadAccess\listContents
listContents(string $path='', bool $recursive=false)
Lists the content of a directory.
$path
$path
Definition:
ltiservices.php:32
ILIAS\Filesystem\Provider
src
Filesystem
Provider
DirectoryReadAccess.php
Generated on Sun Nov 2 2025 22:01:58 for ILIAS by
1.9.4 (using
Doxyfile
)