PHP Class Horde_Kolab_Server_Structure_Ldap, horde

Inheritance: extends Horde_Kolab_Server_Structure_Base
Afficher le fichier Open project: horde/horde Class Usage Examples

Méthodes publiques

Méthode Description
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.

Méthodes protégées

Méthode Description
_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.

Private Methods

Méthode Description
_mapExternalToInternal ( string $external ) : string Maps the external attribute name to its internal counterpart(s).

Method Details

_determineType() protected méthode

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.
Résultat string The class name of the corresponding object type.

determineType() public méthode

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.
Résultat string The class name of the corresponding object type.

generateServerGuid() public méthode

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.
Résultat string The GUID.

getExternalAttribute() public méthode

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

getObjectClasses() protected méthode

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.
Résultat array An array of object classes.

getSearchOperations() public méthode

Returns the set of search operations supported by this object type.
public getSearchOperations ( ) : array
Résultat array An array of supported search operations.

getSupportedObjects() public méthode

Returns the set of objects supported by this structure.
public getSupportedObjects ( ) : array
Résultat array An array of supported objects.

mapExternalToInternalAttribute() public méthode

Maps the external attribute name to its internal counterpart.
public mapExternalToInternalAttribute ( string $external ) : string
$external string The external attribute name.
Résultat string The internal attribute name.

mapExternalToInternalAttributes() public méthode

Maps the external attribute names to their internal counterparts.
public mapExternalToInternalAttributes ( array $external ) : string
$external array The external attribute names.
Résultat string The internal attribute names.