PHP Класс Horde_Kolab_Server_Structure_Ldap, horde

Автор: Gunnar Wrobel ([email protected])
Наследование: extends Horde_Kolab_Server_Structure_Base
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
determineType ( string $guid ) : string Determine the type of an object by its tree position and other parameters.
generateServerGuid ( string $type, string $id, array $info ) : string Generates a GUID for the given information.
getExternalAttribute ( $name, Horde_Kolab_Server_Object_Interface $object )
getSearchOperations ( ) : array Returns the set of search operations supported by this object type.
getSupportedObjects ( ) : array Returns the set of objects supported by this structure.
mapExternalToInternalAttribute ( string $external ) : string Maps the external attribute name to its internal counterpart.
mapExternalToInternalAttributes ( array $external ) : string Maps the external attribute names to their internal counterparts.

Защищенные методы

Метод Описание
_determineType ( string $guid, array $ocs ) : string Determine the type of an object by its tree position and other parameters.
getObjectClasses ( string $guid ) : array Get the LDAP object classes for the given GUID.

Приватные методы

Метод Описание
_mapExternalToInternal ( string $external ) : string Maps the external attribute name to its internal counterpart(s).

Описание методов

_determineType() защищенный Метод

Determine the type of an object by its tree position and other parameters.
protected _determineType ( string $guid, array $ocs ) : string
$guid string The GUID of the object to examine.
$ocs array The object classes of the object to examine.
Результат string The class name of the corresponding object type.

determineType() публичный Метод

Determine the type of an object by its tree position and other parameters.
public determineType ( string $guid ) : string
$guid string The GUID of the object to examine.
Результат string The class name of the corresponding object type.

generateServerGuid() публичный Метод

Generates a GUID for the given information.
public generateServerGuid ( string $type, string $id, array $info ) : string
$type string The class name of the object to create.
$id string The id of the object.
$info array Any additional information about the object to create.
Результат string The GUID.

getExternalAttribute() публичный Метод

public getExternalAttribute ( $name, Horde_Kolab_Server_Object_Interface $object )
$object Horde_Kolab_Server_Object_Interface

getObjectClasses() защищенный Метод

This is meant to be a shortcut for the structure handler. It should be used when determining the object type.
protected getObjectClasses ( string $guid ) : array
$guid string GUID of the object.
Результат array An array of object classes.

getSearchOperations() публичный Метод

Returns the set of search operations supported by this object type.
public getSearchOperations ( ) : array
Результат array An array of supported search operations.

getSupportedObjects() публичный Метод

Returns the set of objects supported by this structure.
public getSupportedObjects ( ) : array
Результат array An array of supported objects.

mapExternalToInternalAttribute() публичный Метод

Maps the external attribute name to its internal counterpart.
public mapExternalToInternalAttribute ( string $external ) : string
$external string The external attribute name.
Результат string The internal attribute name.

mapExternalToInternalAttributes() публичный Метод

Maps the external attribute names to their internal counterparts.
public mapExternalToInternalAttributes ( array $external ) : string
$external array The external attribute names.
Результат string The internal attribute names.