Searches the address book with the given criteria and returns a
filtered list of results. If the criteria parameter is an empty array,
all records will be returned.
protected _search ( array $criteria, array $fields, array $blobFields = [], boolean $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. |
$count_only | boolean | Only return the count of matching entries, not the entries themselves. |
return | array | Hash containing the search results. |