PHP 인터페이스 Horde_Kolab_Server_Structure_Interface, horde

Copyright 2009-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.
파일 보기 프로젝트 열기: horde/horde 0 사용 예제들

공개 메소드들

메소드 설명
determineType ( string $guid ) : string Determine the type of an object by its tree position and other parameters.
find ( Horde_Kolab_Server_Query_Element_Interface $criteria, array $params = [] ) : Horde_Kolab_Server_Result Finds object data matching a given set of criteria.
findBelow ( Horde_Kolab_Server_Query_Element_Interface $criteria, string $parent, array $params = [] ) : Horde_Kolab_Server_Result Finds all object data below a parent matching a given set of criteria.
generateServerGuid ( string $type, string $id, array $info ) : string Generates a UID for the given information.
getExternalAttribute ( $name, Horde_Kolab_Server_Object_Interface $object )
getExternalAttributes ( Horde_Kolab_Server_Object $object ) : array Return the external attributes supported by the given object class.
getInternalAttributes ( Horde_Kolab_Server_Object $object ) : array Return the internal attributes supported by the given object class.
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.
setComposite ( Horde_Kolab_Server_Composite $composite ) : null Set the composite server reference for this object.

메소드 상세

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.

find() 공개 메소드

Finds object data matching a given set of criteria.
public find ( Horde_Kolab_Server_Query_Element_Interface $criteria, array $params = [] ) : Horde_Kolab_Server_Result
$criteria Horde_Kolab_Server_Query_Element_Interface The criteria for the search.
$params array Additional search parameters.
리턴 Horde_Kolab_Server_Result The result object.

findBelow() 공개 메소드

Finds all object data below a parent matching a given set of criteria.
public findBelow ( Horde_Kolab_Server_Query_Element_Interface $criteria, string $parent, array $params = [] ) : Horde_Kolab_Server_Result
$criteria Horde_Kolab_Server_Query_Element_Interface The criteria for the search.
$parent string The parent to search below.
$params array Additional search parameters.
리턴 Horde_Kolab_Server_Result The result object.

generateServerGuid() 공개 메소드

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.
리턴 string The GUID.

getExternalAttribute() 공개 메소드

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

getExternalAttributes() 공개 메소드

Return the external attributes supported by the given object class.
public getExternalAttributes ( Horde_Kolab_Server_Object $object ) : array
$object Horde_Kolab_Server_Object Determine the external attributes for this class.
리턴 array The supported attributes.

getInternalAttributes() 공개 메소드

Return the internal attributes supported by the given object class.
public getInternalAttributes ( Horde_Kolab_Server_Object $object ) : array
$object Horde_Kolab_Server_Object Determine the internal attributes for this class.
리턴 array The supported attributes.

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.

setComposite() 공개 메소드

Set the composite server reference for this object.
public setComposite ( Horde_Kolab_Server_Composite $composite ) : null
$composite Horde_Kolab_Server_Composite A link to the composite server handler.
리턴 null