ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
The Card object represents a single Card from an addressbook. More...
Public Member Functions | |
__construct (Backend\BackendInterface $carddavBackend, array $addressBookInfo, array $cardData) | |
Constructor. More... | |
getName () | |
Returns the uri for this object. More... | |
get () | |
Returns the VCard-formatted object. More... | |
put ($cardData) | |
Updates the VCard-formatted object. More... | |
delete () | |
Deletes the card. More... | |
getContentType () | |
Returns the mime content-type. More... | |
getETag () | |
Returns an ETag for this object. More... | |
getLastModified () | |
Returns the last modification date as a unix timestamp. More... | |
getSize () | |
Returns the size of this object in bytes. More... | |
getOwner () | |
Returns the owner principal. More... | |
getACL () | |
Returns a list of ACE's for this node. More... | |
Public Member Functions inherited from Sabre\DAV\File | |
put ($data) | |
Replaces the contents of the file. More... | |
get () | |
Returns the data. More... | |
getSize () | |
Returns the size of the file, in bytes. More... | |
getETag () | |
Returns the ETag for a file. More... | |
getContentType () | |
Returns the mime-type for a file. More... | |
Public Member Functions inherited from Sabre\DAV\Node | |
getLastModified () | |
Returns the last modification time as a unix timestamp. More... | |
delete () | |
Deletes the current node. More... | |
setName ($name) | |
Renames the node. More... | |
Public Member Functions inherited from Sabre\DAVACL\IACL | |
getGroup () | |
Returns a group principal. More... | |
setACL (array $acl) | |
Updates the ACL. More... | |
getSupportedPrivilegeSet () | |
Returns the list of supported privileges for this node. More... | |
Protected Attributes | |
$carddavBackend | |
$cardData | |
$addressBookInfo | |
The Card object represents a single Card from an addressbook.
Sabre\CardDAV\Card::__construct | ( | Backend\BackendInterface | $carddavBackend, |
array | $addressBookInfo, | ||
array | $cardData | ||
) |
Constructor.
Backend\BackendInterface | $carddavBackend | |
array | $addressBookInfo | |
array | $cardData |
Definition at line 47 of file Card.php.
References Sabre\CardDAV\Card\$addressBookInfo, Sabre\CardDAV\Card\$cardData, and Sabre\CardDAV\Card\$carddavBackend.
Sabre\CardDAV\Card::delete | ( | ) |
Sabre\CardDAV\Card::get | ( | ) |
Returns the VCard-formatted object.
Implements Sabre\DAV\IFile.
Sabre\CardDAV\Card::getACL | ( | ) |
Returns a list of ACE's for this node.
Each ACE has the following properties:
Implements Sabre\DAVACL\IACL.
Definition at line 199 of file Card.php.
Sabre\CardDAV\Card::getContentType | ( | ) |
Sabre\CardDAV\Card::getETag | ( | ) |
Returns an ETag for this object.
Implements Sabre\DAV\IFile.
Definition at line 131 of file Card.php.
References $data.
Sabre\CardDAV\Card::getLastModified | ( | ) |
Sabre\CardDAV\Card::getName | ( | ) |
Sabre\CardDAV\Card::getOwner | ( | ) |
Returns the owner principal.
This must be a url to a principal, or null if there's no owner
Implements Sabre\DAVACL\IACL.
Sabre\CardDAV\Card::getSize | ( | ) |
Sabre\CardDAV\Card::put | ( | $cardData | ) |
Updates the VCard-formatted object.
string | $cardData |
Implements Sabre\DAV\IFile.
Definition at line 88 of file Card.php.
References Sabre\CardDAV\Card\$cardData, and Sabre\DAV\StringUtil\ensureUTF8().
|
protected |
Definition at line 38 of file Card.php.
Referenced by Sabre\CardDAV\Card\__construct().
|
protected |
Definition at line 31 of file Card.php.
Referenced by Sabre\CardDAV\Card\__construct(), and Sabre\CardDAV\Card\put().
|
protected |
Definition at line 24 of file Card.php.
Referenced by Sabre\CardDAV\Card\__construct().