MAX_HIERARCHY
MAX_HIERARCHY
Maximum accepted level for the object class hierarchy
This class provides methods to deal with the LDAP tree structure.
Copyright 2009-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.
$_composite : \Horde_Kolab_Server_Composite
A link to the composite server handler.
find(\Horde_Kolab_Server_Query_Element $criteria, array $params = array()) : \Horde_Kolab_Server_Result
Finds object data matching a given set of criteria.
\Horde_Kolab_Server_Query_Element | $criteria | The criteria for the search. |
array | $params | Additional search parameters. |
The result object.
findBelow(\Horde_Kolab_Server_Query_Element $criteria, string $parent, array $params = array()) : \Horde_Kolab_Server_Result
Finds all object data below a parent matching a given set of criteria.
\Horde_Kolab_Server_Query_Element | $criteria | The criteria for the search. |
string | $parent | The parent to search below. |
array | $params | Additional search parameters. |
The result object.
setComposite(\Horde_Kolab_Server_Composite $composite) : NULL
Set the composite server reference for this object.
\Horde_Kolab_Server_Composite | $composite | A link to the composite server handler. |
getComposite() : \Horde_Kolab_Server_Composite
Get the composite server reference for this object.
A link to the composite server handler.
getExternalAttributes(string $class) : array
Return the attributes supported by the given object class.
string | $class | Determine the attributes for this class. |
If the schema analysis fails.
The supported attributes.
determineType(string $guid) : string
Determine the type of an object by its tree position and other parameters.
string | $guid | The GUID of the object to examine. |
If the object type is unknown.
The class name of the corresponding object type.
generateServerGuid(string $type, string $id, array $info) : string
Generates a GUID for the given information.
string | $type | The class name of the object to create. |
string | $id | The id of the object. |
array | $info | Any additional information about the object to create. |
The GUID.
getExternalAttribute( $name, \Horde_Kolab_Server_Object_Interface $object)
$name | ||
\Horde_Kolab_Server_Object_Interface | $object |
_determineType(string $guid, array $ocs) : string
Determine the type of an object by its tree position and other parameters.
string | $guid | The GUID of the object to examine. |
array | $ocs | The object classes of the object to examine. |
If the object type is unknown.
The class name of the corresponding object type.
getObjectClasses(string $guid) : array
Get the LDAP object classes for the given GUID.
This is meant to be a shortcut for the structure handler. It should be used when determining the object type.
string | $guid | GUID of the object. |
If the object has no object classes.
An array of object classes.