ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
◀ ilDoc Overview
ListPaths.php
Go to the documentation of this file.
1
<?
php
2
3
namespace
League\Flysystem\Plugin
;
4
5
class
ListPaths
extends
AbstractPlugin
6
{
12
public
function
getMethod
()
13
{
14
return
'listPaths'
;
15
}
16
25
public
function
handle
($directory =
''
, $recursive =
false
)
26
{
27
$result
= [];
28
$contents = $this->filesystem->listContents($directory, $recursive);
29
30
foreach
($contents as $object) {
31
$result
[] = $object[
'path'
];
32
}
33
34
return
$result
;
35
}
36
}
$result
$result
Definition:
CleanUpTest.php:463
League\Flysystem\Plugin\ListPaths\handle
handle($directory='', $recursive=false)
List all paths.
Definition:
ListPaths.php:25
League\Flysystem\Plugin\AbstractPlugin
Definition:
AbstractPlugin.php:8
League\Flysystem\Plugin\ListPaths
Definition:
ListPaths.php:5
League\Flysystem\Plugin
Definition:
AbstractPlugin.php:3
php
League\Flysystem\Plugin\ListPaths\getMethod
getMethod()
Get the method name.
Definition:
ListPaths.php:12
libs
composer
vendor
league
flysystem
src
Plugin
ListPaths.php
Generated on Thu Jan 16 2025 19:01:43 for ILIAS by
1.8.13 (using
Doxyfile
)