|
ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
The ICollection Interface. More...
Inheritance diagram for Sabre\DAV\ICollection:
Collaboration diagram for Sabre\DAV\ICollection:Public Member Functions | |
| createFile ($name, $data=null) | |
| Creates a new file in the directory. More... | |
| createDirectory ($name) | |
| Creates a new subdirectory. More... | |
| getChild ($name) | |
| Returns a specific child node, referenced by its name. More... | |
| getChildren () | |
| Returns an array with all the child nodes. More... | |
| childExists ($name) | |
| Checks if a child-node with the specified name exists. More... | |
Public Member Functions inherited from Sabre\DAV\INode | |
| delete () | |
| Deleted the current node. More... | |
| getName () | |
| Returns the name of the node. More... | |
| setName ($name) | |
| Renames the node. More... | |
| getLastModified () | |
| Returns the last modification time, as a unix timestamp. More... | |
The ICollection Interface.
This interface should be implemented by each class that represents a collection
Definition at line 14 of file ICollection.php.
| Sabre\DAV\ICollection::childExists | ( | $name | ) |
Checks if a child-node with the specified name exists.
| string | $name |
Implemented in Sabre\CalDAV\Calendar, Sabre\CalDAV\CalendarHome, Sabre\CalDAV\Principal\User, Sabre\DAV\Collection, Sabre\DAV\FS\Directory, Sabre\DAV\FSExt\Directory, Sabre\DAV\TreeDirectoryTester, ilClientNodeDAV, ilMountPointDAV, and ilObjContainerDAV.
| Sabre\DAV\ICollection::createDirectory | ( | $name | ) |
Creates a new subdirectory.
| string | $name |
Implemented in Sabre\CalDAV\CalendarHome, Sabre\CardDAV\AddressBookHome, Sabre\CalDAV\Calendar, Sabre\CalDAV\Principal\User, Sabre\CardDAV\AddressBook, Sabre\DAV\Collection, Sabre\DAV\FS\Directory, Sabre\DAV\FSExt\Directory, Sabre\DAV\Mock\Collection, Sabre\DAV\TreeDirectoryTester, ilClientNodeDAV, ilMountPointDAV, and ilObjContainerDAV.
Referenced by Sabre\DAV\Tree\copyNode().
Here is the caller graph for this function:| Sabre\DAV\ICollection::createFile | ( | $name, | |
$data = null |
|||
| ) |
Creates a new file in the directory.
Data will either be supplied as a stream resource, or in certain cases as a string. Keep in mind that you may have to support either.
After successful creation of the file, you may choose to return the ETag of the new file here.
The returned ETag must be surrounded by double-quotes (The quotes should be part of the actual string).
If you cannot accurately determine the ETag, you should not return it. If you don't store the file exactly as-is (you're transforming it somehow) you should also not return an ETag.
This means that if a subsequent GET to this new file does not exactly return the same contents of what was submitted here, you are strongly recommended to omit the ETag.
| string | $name | Name of the file |
| resource | string | $data | Initial payload |
Implemented in Sabre\CalDAV\CalendarHome, Sabre\CardDAV\AddressBookHome, Sabre\CalDAV\Calendar, Sabre\CalDAV\Principal\User, Sabre\CalDAV\Schedule\Inbox, Sabre\DAV\Collection, Sabre\DAV\FS\Directory, Sabre\DAV\FSExt\Directory, Sabre\DAV\Mock\Collection, Sabre\DAV\TreeDirectoryTester, ilClientNodeDAV, ilMountPointDAV, ilObjContainerDAV, and Sabre\CardDAV\AddressBook.
Referenced by Sabre\DAV\Tree\copyNode().
Here is the caller graph for this function:| Sabre\DAV\ICollection::getChild | ( | $name | ) |
Returns a specific child node, referenced by its name.
This method must throw Sabre\DAV\Exception\NotFound if the node does not exist.
| string | $name |
Implemented in Sabre\CalDAV\Calendar, Sabre\CalDAV\CalendarHome, Sabre\CalDAV\Principal\User, Sabre\CardDAV\AddressBook, Sabre\CardDAV\AddressBookHome, Sabre\DAV\Collection, Sabre\DAV\FS\Directory, Sabre\DAV\FSExt\Directory, Sabre\DAV\SimpleCollection, Sabre\DAVACL\AbstractPrincipalCollection, Sabre\DAVACL\FS\Collection, Sabre\DAV\TreeDirectoryTester, ilClientNodeDAV, ilMountPointDAV, and ilObjContainerDAV.
Referenced by Sabre\DAV\Tree\copyNode().
Here is the caller graph for this function:| Sabre\DAV\ICollection::getChildren | ( | ) |
Returns an array with all the child nodes.
Implemented in Sabre\CalDAV\Calendar, Sabre\CalDAV\CalendarHome, Sabre\CalDAV\Notifications\Collection, Sabre\CalDAV\Principal\User, Sabre\CalDAV\Schedule\Inbox, Sabre\CalDAV\Schedule\Outbox, Sabre\CalDAV\Subscriptions\Subscription, Sabre\CardDAV\AddressBook, Sabre\CardDAV\AddressBookHome, Sabre\DAV\FS\Directory, Sabre\DAV\FSExt\Directory, Sabre\DAV\SimpleCollection, Sabre\DAVACL\AbstractPrincipalCollection, Sabre\DAV\DirectoryMock, Sabre\DAV\Mock\Collection, ilClientNodeDAV, ilMountPointDAV, and ilObjContainerDAV.
Referenced by Sabre\DAV\Mock\Collection\delete(), and Sabre\DAV\Collection\getChild().
Here is the caller graph for this function: