Method | Description | |
---|---|---|
_save ( Turba_Object $object ) | Saves the specified object in the preferences. |
Method | Description | |
---|---|---|
_add ( array $attributes, array $blob_fields = [], array $date_fields = [] ) | Adds the specified contact to the addressbook. | |
_canAdd ( ) | TODO | |
_delete ( string $object_key, string $object_id ) | Deletes the specified object from the preferences. | |
_getAddressBook ( ) : TODO | TODO | |
_read ( string $key, mixed $ids, string $owner, array $fields, array $blobFields = [], array $dateFields = [] ) | Reads the given data from the preferences and returns the result's fields. | |
_search ( array $criteria, array $fields, array $blobFields = [], $count_only = false ) : array | Returns all entries - searching isn't implemented here for now. The parameters are simply ignored. | |
_setAddressBook ( $addressbook ) : TODO | TODO |
protected _read ( string $key, mixed $ids, string $owner, array $fields, array $blobFields = [], array $dateFields = [] ) | ||
$key | string | The primary key field to use. |
$ids | mixed | The ids of the contacts to load. |
$owner | string | Only return contacts owned by this user. |
$fields | array | List of fields to return. |
$blobFields | array | Array of fields containing binary data. |
$dateFields | array | Array of fields containing date data. @since 4.2.0 |
public _save ( Turba_Object $object ) | ||
$object | Turba_Object | TODO |
protected _search ( array $criteria, array $fields, array $blobFields = [], $count_only = false ) : array | ||
$criteria | array | Array containing the search criteria. |
$fields | array | List of fields to return. |
$blobFields | array | Array of fields containing binary data. |
return | array | Hash containing the search results. |
protected _setAddressBook ( $addressbook ) : TODO | ||
$addressbook | TODO | |
return | TODO |