ILIAS  trunk Revision v12.0_alpha-1540-g00f839d5fa1
ILIAS\WebDAV\Entity\BaseContainer Class Reference
+ Inheritance diagram for ILIAS\WebDAV\Entity\BaseContainer:
+ Collaboration diagram for ILIAS\WebDAV\Entity\BaseContainer:

Public Member Functions

 createFile ($name, $data=null)
 
 createDirectory ($name)
 
 getChild ($name)
 
 getChildren ()
 
 childExists ($name)
 
 getFullPath ()
 
- Public Member Functions inherited from ILIAS\WebDAV\Entity\BaseEntity
 __construct (protected Factory $factory, protected string $path, protected ?Proxy $object_proxy=null)
 
 delete ()
 
 getName ()
 
 setName ($name)
 
 getLastModified ()
 
 getObjectProxy ()
 
 getPath ()
 
- Public Member Functions inherited from ILIAS\WebDAV\Entity\Entity
 __construct (Factory $factory, string $path, ?Proxy $proxy=null,)
 
 getObjectProxy ()
 
 getPath ()
 

Detailed Description

Author
Fabian Schmid fabia.nosp@m.n@sr.nosp@m..solu.nosp@m.tion.nosp@m.s

Definition at line 29 of file BaseContainer.php.

Member Function Documentation

◆ childExists()

ILIAS\WebDAV\Entity\BaseContainer::childExists (   $name)

Definition at line 48 of file BaseContainer.php.

48 : bool
49 {
50 return $this->factory->has($this, $name);
51 }
factory()

References factory().

+ Here is the call graph for this function:

◆ createDirectory()

ILIAS\WebDAV\Entity\BaseContainer::createDirectory (   $name)

Definition at line 36 of file BaseContainer.php.

36 : string
37 {
38 return $this->factory->createContainer($this, $name);
39 }

References factory().

+ Here is the call graph for this function:

◆ createFile()

ILIAS\WebDAV\Entity\BaseContainer::createFile (   $name,
  $data = null 
)

Definition at line 31 of file BaseContainer.php.

31 : ?string
32 {
33 return $this->factory->createFile($this, $name, $data);
34 }

References $data, and factory().

+ Here is the call graph for this function:

◆ getChild()

ILIAS\WebDAV\Entity\BaseContainer::getChild (   $name)
abstract

◆ getChildren()

ILIAS\WebDAV\Entity\BaseContainer::getChildren ( )

Definition at line 43 of file BaseContainer.php.

43 : array
44 {
45 return $this->factory->getChildren($this);
46 }

References factory().

+ Here is the call graph for this function:

◆ getFullPath()

ILIAS\WebDAV\Entity\BaseContainer::getFullPath ( )

Reimplemented in ILIAS\WebDAV\Entity\Container.

Definition at line 53 of file BaseContainer.php.

53 : string
54 {
55 return '';
56 }

The documentation for this class was generated from the following file: