ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
◀ 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
(
$path
);
35
36
50
public
function
listContents
(
$path
=
''
, $recursive =
false
);
51
}
Metadata
ILIAS\Filesystem\Provider
DirectoryNotFoundException
ILIAS\Filesystem\Provider\DirectoryReadAccess\hasDir
hasDir($path)
Checks whether the directory exists or not.
$path
$path
Definition:
serviceValidate.php:27
ILIAS\Filesystem\Provider\DirectoryReadAccess\listContents
listContents($path='', $recursive=false)
Lists the content of a directory.
ILIAS\Filesystem\Provider\DirectoryReadAccess
Interface DirectoryReadAccess.
Definition:
DirectoryReadAccess.php:21
src
Filesystem
Provider
DirectoryReadAccess.php
Generated on Sat Jan 18 2025 19:01:42 for ILIAS by
1.8.13 (using
Doxyfile
)