프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$searchCriteria | array | The search criteria that defines this virtual address book. | |
$searchType | string | Search type for this virtual address book. |
프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$_driver | Turba_Driver | The composed driver. |
메소드 | 설명 | |
---|---|---|
__construct ( $name = '', array $params = [] ) | ||
hasPermission ( integer $perm ) : boolean | Check to see if the currently logged in user has requested permissions. |
메소드 | 설명 | |
---|---|---|
_add ( array $attributes, array $blob_fields = [], array $date_fields = [] ) | Adds the specified contact to the addressbook. | |
_delete ( $object_key, $object_id ) | Not supported for virtual address books. | |
_filterTags ( array $objects, array $tags, Array $sort_order = null ) : Turba_List | Returns a Turba_List object containing $objects filtered by $tags. | |
_getContactOwner ( ) : string | Return the owner to use when searching or creating contacts in this address book. | |
_read ( string $key, mixed $ids, string $owner, array $fields, array $blobFields = [], array $dateFields = [] ) : array | Reads the requested entries from the underlying source. | |
_save ( Turba_Object $object ) | ||
_search ( array $criteria, array $fields, array $blobFields = [], $count_only = false ) : array | Return all entries matching the combined searches represented by $criteria and the vitural address book's search criteria. |
protected _delete ( $object_key, $object_id ) |
protected _filterTags ( array $objects, array $tags, Array $sort_order = null ) : Turba_List | ||
$objects | array | A hash of objects, as returned by self::_search. |
$tags | array | An array of tags to filter by. |
$sort_order | Array | The sort order to pass to Turba_List::sort. (Unused). |
리턴 | Turba_List | The filtered Turba_List object. |
protected _getContactOwner ( ) : string | ||
리턴 | string |
protected _read ( string $key, mixed $ids, string $owner, array $fields, array $blobFields = [], array $dateFields = [] ) : array | ||
$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 |
리턴 | array | Hash containing the search results. |
public hasPermission ( integer $perm ) : boolean | ||
$perm | integer | The permissions to check against. |
리턴 | boolean | True or False. |
public array $searchCriteria | ||
리턴 | array |
public string $searchType | ||
리턴 | string |