PHP Class Horde_Kolab_Server_Structure_Kolab, horde

Copyright 2008-2016 Horde LLC (http://www.horde.org/) See the enclosed file COPYING for license information (LGPL). If you did not receive this file, see http://www.horde.org/licenses/lgpl21.
Inheritance: extends Horde_Kolab_Server_Structure_Ldap
Exibir arquivo Open project: horde/horde

Public Methods

Method Description
generateServerGuid ( string $type, string $id, array $info ) : string Generates a UID for the given information.
getSearchOperations ( ) : array Returns the set of search operations supported by this object type.
getSupportedObjects ( ) : array Returns the set of objects supported by this structure.

Protected Methods

Method Description
_determineType ( string $guid, array $ocs ) : string Determine the type of an object by its tree position and other parameters.

Method Details

_determineType() protected method

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

generateServerGuid() public method

Generates a UID 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.
return string The UID.

getSearchOperations() public method

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

getSupportedObjects() public method

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