ILIAS
release_7 Revision v7.30-3-g800a261c036
◀ 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
17
interface
DirectoryReadAccess
18
{
19
27
public
function
hasDir
(
string
$path) : bool;
28
38
public
function
listContents
(
string
$path =
''
,
bool
$recursive =
false
) : array;
39
}
Metadata
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 Defines the readonly directory access operations of the filesystem...
Definition:
DirectoryReadAccess.php:17
ILIAS\Filesystem\Provider\DirectoryReadAccess\listContents
listContents(string $path='', bool $recursive=false)
Lists the content of a directory.
src
Filesystem
Provider
DirectoryReadAccess.php
Generated on Mon Sep 1 2025 21:01:45 for ILIAS by
1.8.13 (using
Doxyfile
)