Méthode |
Description |
|
__construct ( Turba_Driver $driver, array $attributes = [], array $options = [] ) |
Constructs a new Turba_Object object. |
|
addFile ( array $info ) |
Saves a file into the VFS backend associated with this object. |
|
deleteFile ( string $file ) |
Deletes a file from the VFS backend associated with this object. |
|
deleteFiles ( ) |
Deletes all files from the VFS backend associated with this object. |
|
getAttributes ( ) : array |
Returns a key-value hash containing all properties of this object. |
|
getGuid ( string $delimiter = ':' ) : string |
Get a fully qualified key for this contact. |
|
getHistory ( ) : array |
Returns history information about this contact. |
|
getSource ( ) |
Returns the name of the address book that this object is from. |
|
getValue ( string $attribute ) : mixed |
Returns the value of the specified attribute. |
|
hasPermission ( integer $perm ) : boolean |
Returns whether or not the current user has the requested permission. |
|
hasValue ( string $attribute ) : boolean |
Determines whether or not the object has a value for the specified
attribute. |
|
isEditable ( ) : boolean |
Returns true if this object is editable by the current user. |
|
isGroup ( ) : boolean |
Returns true if this object is a group of multiple contacts. |
|
lastModification ( ) : integer |
Returns the timestamp of the last modification, whether this was the
creation or editing of the object and stores it as the attribute
__modified. The value is cached for the lifetime of the object. |
|
listFiles ( ) : array |
Returns all files from the VFS backend associated with this object. |
|
merge ( Turba_Object $contact ) |
Merges another contact into this one by filling empty fields of this
contact with values from the other. |
|
setValue ( string $attribute, string $value ) |
Sets the value of the specified attribute. |
|
store ( ) |
Saves the current state of the object to the storage backend. |
|
synchronizeTags ( array $tags ) |
Syncronizes tags from the tagging backend with the contacts storage
backend, if necessary. |
|
url ( string $view = null, boolean $full = false ) : string |
Contact url. |
|
vfsDisplayUrl ( string $file ) : string |
Returns a link to display and download a file from the VFS backend
associated with this object. |
|
vfsEditUrl ( string $file ) : string |
Returns a link to display, download, and delete a file from the VFS
backend associated with this object. |
|
vfsInit ( ) : Horde_Vfs |
Loads the VFS configuration and initializes the VFS backend. |
|