|
|
|
@ -107,12 +107,10 @@ class AddressBookImpl implements IAddressBook { |
|
|
|
|
* ['id' => 0, 'FN' => 'Thomas Müller', 'EMAIL' => 'a@b.c', 'GEO' => '37.386013;-122.082932'], |
|
|
|
|
* ['id' => 5, 'FN' => 'Thomas Tanghus', 'EMAIL' => ['d@e.f', 'g@h.i']] |
|
|
|
|
* ] |
|
|
|
|
* @param array $options = array() 'escape_like_param' - to not escape wildcards _ and % - for future use. One should always have options! |
|
|
|
|
* @return array an array of contacts which are arrays of key-value-pairs |
|
|
|
|
* @since 5.0.0 |
|
|
|
|
*/ |
|
|
|
|
public function search($pattern, $searchProperties, $options) { |
|
|
|
|
$results = $this->backend->search($this->getKey(), $pattern, $searchProperties, $options = $options); |
|
|
|
|
$results = $this->backend->search($this->getKey(), $pattern, $searchProperties, $options); |
|
|
|
|
|
|
|
|
|
$withTypes = \array_key_exists('types', $options) && $options['types'] === true; |
|
|
|
|
|
|
|
|
|