diff options
author | Arne Hamann <kontakt+github@arne.email> | 2018-01-18 15:08:24 +0530 |
---|---|---|
committer | Arne Hamann <kontakt+github@arne.email> | 2019-05-28 10:01:56 +0200 |
commit | 2c5ebac458f899af190d2ef7bf8702624e700049 (patch) | |
tree | 31540390a12c3f423279db1566b5da3ef6429299 /lib/public/Contacts | |
parent | 633a1981428a1b94626ea6447c9ee305162c01dd (diff) | |
download | nextcloud-server-2c5ebac458f899af190d2ef7bf8702624e700049.tar.gz nextcloud-server-2c5ebac458f899af190d2ef7bf8702624e700049.zip |
Allow to search for real pattern in contacts
Added an option escape_like_param to allow wildcards
Signed-off-by: Arne Hamann <kontakt+github@arne.email>
Diffstat (limited to 'lib/public/Contacts')
-rw-r--r-- | lib/public/Contacts/IManager.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/public/Contacts/IManager.php b/lib/public/Contacts/IManager.php index e744a92d9e2..84948a929c0 100644 --- a/lib/public/Contacts/IManager.php +++ b/lib/public/Contacts/IManager.php @@ -90,7 +90,8 @@ interface IManager { * * @param string $pattern which should match within the $searchProperties * @param array $searchProperties defines the properties within the query pattern should match - * @param array $options - for future use. One should always have options! + * @param array $options = array() to define the search behavior + * - 'escape_like_param' - If set to false wildcards _ and % are not escaped * @return array an array of contacts which are arrays of key-value-pairs * @since 6.0.0 */ |