|
ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
AddressBook Home class. More...
Inheritance diagram for Sabre\CardDAV\AddressBookHome:
Collaboration diagram for Sabre\CardDAV\AddressBookHome:Public Member Functions | |
| __construct (Backend\BackendInterface $carddavBackend, $principalUri) | |
| Constructor. More... | |
| getName () | |
| Returns the name of this object. More... | |
| setName ($name) | |
| Updates the name of this object. More... | |
| delete () | |
| Deletes this object. More... | |
| getLastModified () | |
| Returns the last modification date. More... | |
| createFile ($filename, $data=null) | |
| Creates a new file under this object. More... | |
| createDirectory ($filename) | |
| Creates a new directory under this object. More... | |
| getChild ($name) | |
| Returns a single addressbook, by name. More... | |
| getChildren () | |
| Returns a list of addressbooks. More... | |
| createExtendedCollection ($name, MkCol $mkCol) | |
| Creates a new address book. More... | |
| getOwner () | |
| Returns the owner principal. More... | |
Public Member Functions inherited from Sabre\DAV\Collection | |
| getChild ($name) | |
| Returns a child object, by its name. More... | |
| childExists ($name) | |
| Checks is a child-node exists. More... | |
| createFile ($name, $data=null) | |
| Creates a new file in the directory. More... | |
| createDirectory ($name) | |
| Creates a new subdirectory. More... | |
| getLastModified () | |
| Returns the last modification time as a unix timestamp. More... | |
| delete () | |
| Deletes the current node. More... | |
| setName ($name) | |
| Renames the node. More... | |
| 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... | |
| 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... | |
| createExtendedCollection ($name, MkCol $mkCol) | |
| Creates a new collection. More... | |
Public Member Functions inherited from Sabre\DAVACL\IACL | |
| getOwner () | |
| Returns the owner principal. More... | |
| getGroup () | |
| Returns a group principal. More... | |
| getACL () | |
| Returns a list of ACE's for this node. More... | |
| setACL (array $acl) | |
| Updates the ACL. More... | |
| getSupportedPrivilegeSet () | |
| Returns the list of supported privileges for this node. More... | |
Protected Attributes | |
| $principalUri | |
| $carddavBackend | |
AddressBook Home class.
This collection contains a list of addressbooks associated with one user.
Definition at line 19 of file AddressBookHome.php.
| Sabre\CardDAV\AddressBookHome::__construct | ( | Backend\BackendInterface | $carddavBackend, |
| $principalUri | |||
| ) |
Constructor.
| Backend\BackendInterface | $carddavBackend | |
| string | $principalUri |
Definition at line 43 of file AddressBookHome.php.
References Sabre\CardDAV\AddressBookHome\$carddavBackend, and Sabre\CardDAV\AddressBookHome\$principalUri.
| Sabre\CardDAV\AddressBookHome::createDirectory | ( | $filename | ) |
Creates a new directory under this object.
This is currently not allowed.
| string | $filename |
Reimplemented from Sabre\DAV\Collection.
Definition at line 119 of file AddressBookHome.php.
| Sabre\CardDAV\AddressBookHome::createExtendedCollection | ( | $name, | |
| MkCol | $mkCol | ||
| ) |
Creates a new address book.
| string | $name | |
| MkCol | $mkCol |
| DAV |
Exception\InvalidResourceType
Implements Sabre\DAV\IExtendedCollection.
Definition at line 167 of file AddressBookHome.php.
| Sabre\CardDAV\AddressBookHome::createFile | ( | $filename, | |
$data = null |
|||
| ) |
Creates a new file under this object.
This is currently not allowed
| string | $filename | |
| resource | $data |
Reimplemented from Sabre\DAV\Collection.
Definition at line 105 of file AddressBookHome.php.
| Sabre\CardDAV\AddressBookHome::delete | ( | ) |
Deletes this object.
Implements Sabre\DAV\INode.
Definition at line 79 of file AddressBookHome.php.
| Sabre\CardDAV\AddressBookHome::getChild | ( | $name | ) |
Returns a single addressbook, by name.
| string | $name |
Reimplemented from Sabre\DAV\Collection.
Definition at line 132 of file AddressBookHome.php.
References $name, and Sabre\CardDAV\AddressBookHome\getChildren().
Here is the call graph for this function:| Sabre\CardDAV\AddressBookHome::getChildren | ( | ) |
Returns a list of addressbooks.
Implements Sabre\DAV\ICollection.
Definition at line 148 of file AddressBookHome.php.
Referenced by Sabre\CardDAV\AddressBookHome\getChild().
Here is the caller graph for this function:| Sabre\CardDAV\AddressBookHome::getLastModified | ( | ) |
Returns the last modification date.
Implements Sabre\DAV\INode.
Definition at line 90 of file AddressBookHome.php.
| Sabre\CardDAV\AddressBookHome::getName | ( | ) |
Returns the name of this object.
Implements Sabre\DAV\INode.
Definition at line 55 of file AddressBookHome.php.
References $name, and Sabre\Uri\split().
Here is the call graph for this function:| Sabre\CardDAV\AddressBookHome::getOwner | ( | ) |
Returns the owner principal.
This must be a url to a principal, or null if there's no owner
Implements Sabre\DAVACL\IACL.
Definition at line 185 of file AddressBookHome.php.
| Sabre\CardDAV\AddressBookHome::setName | ( | $name | ) |
Updates the name of this object.
| string | $name |
Implements Sabre\DAV\INode.
Definition at line 68 of file AddressBookHome.php.
|
protected |
Definition at line 35 of file AddressBookHome.php.
Referenced by Sabre\CardDAV\AddressBookHome\__construct().
|
protected |
Definition at line 28 of file AddressBookHome.php.
Referenced by Sabre\CardDAV\AddressBookHome\__construct().