ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
◀ 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
21
interface
DirectoryReadAccess
22
{
23
34
public
function
hasDir
(
string
$path
) : bool;
35
36
50
public
function
listContents
(
string
$path =
''
,
bool
$recursive =
false
) : array;
51
}
Metadata
$path
$path
Definition:
aliased.php:25
ILIAS\Filesystem\Provider\DirectoryReadAccess\hasDir
hasDir(string $path)
Checks whether the directory exists or not.
ILIAS\Filesystem\Provider
DirectoryNotFoundException
ILIAS\Filesystem\Provider\DirectoryReadAccess
Interface DirectoryReadAccess.
Definition:
DirectoryReadAccess.php:21
php
ILIAS\Filesystem\Provider\DirectoryReadAccess\listContents
listContents(string $path='', bool $recursive=false)
Lists the content of a directory.
src
Filesystem
Provider
DirectoryReadAccess.php
Generated on Thu Jan 16 2025 19:02:37 for ILIAS by
1.8.13 (using
Doxyfile
)