ILIAS
trunk Revision v12.0_alpha-1540-g00f839d5fa1
◀ ilDoc Overview
BaseContainer.php
Go to the documentation of this file.
1
<?php
2
19
declare(strict_types=1);
20
21
namespace
ILIAS\WebDAV\Entity
;
22
23
use Sabre\DAV\ICollection;
24
use Sabre\DAV\INode;
25
29
abstract
class
BaseContainer
extends
BaseEntity
implements ICollection,
Entity
30
{
31
public
function
createFile
($name,
$data
=
null
): ?string
32
{
33
return
$this->
factory
->createFile($this, $name,
$data
);
34
}
35
36
public
function
createDirectory
($name): string
37
{
38
return
$this->
factory
->createContainer($this, $name);
39
}
40
41
abstract
public
function
getChild
($name):
INode
;
42
43
public
function
getChildren
(): array
44
{
45
return
$this->
factory
->getChildren($this);
46
}
47
48
public
function
childExists
($name): bool
49
{
50
return
$this->
factory
->has($this, $name);
51
}
52
53
public
function
getFullPath
(): string
54
{
55
return
''
;
56
}
57
58
}
factory
factory()
Definition:
UITestHelper.php:61
ILIAS\WebDAV\Entity\BaseContainer
Definition:
BaseContainer.php:30
ILIAS\WebDAV\Entity\BaseContainer\getChild
getChild($name)
ILIAS\WebDAV\Entity\BaseContainer\createFile
createFile($name, $data=null)
Definition:
BaseContainer.php:31
ILIAS\WebDAV\Entity\BaseContainer\getChildren
getChildren()
Definition:
BaseContainer.php:43
ILIAS\WebDAV\Entity\BaseContainer\childExists
childExists($name)
Definition:
BaseContainer.php:48
ILIAS\WebDAV\Entity\BaseContainer\getFullPath
getFullPath()
Definition:
BaseContainer.php:53
ILIAS\WebDAV\Entity\BaseContainer\createDirectory
createDirectory($name)
Definition:
BaseContainer.php:36
ILIAS\WebDAV\Entity\BaseEntity
Definition:
BaseEntity.php:30
ILIAS\WebDAV\Entity\Entity
Definition:
Entity.php:30
$data
$data
Definition:
ltiregistration.php:29
ILIAS\UI\Component\Tree\Node
Definition:
AsyncNode.php:21
ILIAS\WebDAV\Entity
Definition:
BaseContainer.php:21
components
ILIAS
WebDAV
src
Entity
BaseContainer.php
Generated on Wed Jun 3 2026 23:07:35 for ILIAS by
1.9.4 (using
Doxyfile
)