\Horde_Kolab_Server_Search_Operation_Guidformail

Return all KolabInetOrgPersons with the given mail address.

Copyright 2008-2017 Horde LLC (http://www.horde.org/)

See the enclosed file LICENSE for license information (LGPL). If you did not receive this file, see http://www.horde.org/licenses/lgpl21.

Summary

Methods
Properties
Constants
searchRestrictKolab()
searchGuid()
__construct()
getStructure()
searchGuidForMail()
No public properties found
No constants found
guidFromResult()
No protected properties found
N/A
No private methods found
$_structure
N/A

Properties

Methods

searchRestrictKolab()

searchRestrictKolab(\Horde_Kolab_Server_Query_Element  $criteria) : array

Restrict a search to KolabInetOrgPersons.

Parameters

\Horde_Kolab_Server_Query_Element $criteria

The search criteria.

Throws

\Horde_Kolab_Server_Exception

Returns

array —

The GUID(s).

searchGuid()

searchGuid(\Horde_Kolab_Server_Query_Element  $criteria) : array

Perform the search.

Parameters

\Horde_Kolab_Server_Query_Element $criteria

The search criteria.

Returns

array —

The search result.

searchGuidForMail()

searchGuidForMail(string  $mail) : array

Return all KolabInetOrgPersons with the given mail.

Parameters

string $mail

The mail to search for.

Throws

\Horde_Kolab_Server_Exception

Returns

array —

The GUID(s).

guidFromResult()

guidFromResult(array  $result) : boolean|array

Identify the GUID(s) of the result entry(s).

Parameters

array $result

The LDAP search result.

Returns

boolean|array —

The GUID(s) or false if there was no result.