$_guid
$_guid : string|boolean
The GUID of the current user.
This class provides methods to deal with objects stored in a standard LDAP db.
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.
read(string $guid) : array
Low level access to reading object data.
This function provides direct access to the Server data.
Usually you should use
$object = $server->fetch('a server uid');
$variable = $object['attribute']
to access object attributes. This is slower but takes special object handling into account (e.g. custom attribute parsing).
string | $guid | The object to retrieve. |
If the search operation hit an error or returned no result.
An array of attributes.
readAttributes(string $guid, string $attrs) : array
Low level access to reading some object attributes.
string | $guid | The object to retrieve. |
string | $attrs | Restrict to these attributes. |
If the search operation hit an error or returned no result.
An array of attributes.
find(string $query, array $params = array()) : \Horde_Kolab_Server_Result
Finds object data matching a given set of criteria.
string | $query | The LDAP search query |
array | $params | Additional search parameters. |
The result object.
findBelow(string $query, string $parent, array $params = array()) : \Horde_Kolab_Server_Result
Finds all object data below a parent matching a given set of criteria.
string | $query | The LDAP search query |
string | $parent | The parent to search below. |
array | $params | Additional search parameters. |
The result object.
_search(string $filter, array $params, string $base) : array
Search for object data.
string | $filter | The LDAP search filter. |
array | $params | Additional search parameters. |
string | $base | The search base |
If the search operation encountered a problem.
The result array.