PHP 클래스 Horde_Kolab_Server_Decorator_Clean, 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.
상속: implements Horde_Kolab_Server_Interface
파일 보기 프로젝트 열기: horde/horde

공개 메소드들

메소드 설명
__construct ( Horde_Kolab_Server_Interface $server ) Constructor.
__destruct ( ) Destructor.
add ( Horde_Kolab_Server_Object_Interface $object, array $data ) : null Add new object data.
cleanup ( ) Cleanup the server.
connectGuid ( string $guid = null, string $pass = null ) : NULL. Connect to the server.
delete ( string $guid ) : null Delete an object.
find ( string $query, array $params = [] ) : Horde_Kolab_Server_Result Finds object data matching a given set of criteria.
findBelow ( string $query, string $parent, array $params = [] ) : Horde_Kolab_Server_Result Finds all object data below a parent matching a given set of criteria.
getBaseGuid ( ) : string Get the base GUID of this server
getGuid ( ) : string Get the current GUID
getParentGuid ( string $guid ) : string Get the parent GUID of this object.
getSchema ( ) : Horde_Ldap_Schema Return the ldap schema.
read ( string $guid, array $attrs = [] ) : array Low level access to reading object data.
readAttributes ( string $guid, array $attrs ) : array Low level access to reading some object attributes.
rename ( string $guid, string $new ) : null Rename an object.
save ( Horde_Kolab_Server_Object_Interface $object, array $data ) : null Modify existing object data.

메소드 상세

__construct() 공개 메소드

Constructor.
public __construct ( Horde_Kolab_Server_Interface $server )
$server Horde_Kolab_Server_Interface The base server connection.

__destruct() 공개 메소드

Destructor.
public __destruct ( )

add() 공개 메소드

Add new object data.
public add ( Horde_Kolab_Server_Object_Interface $object, array $data ) : null
$object Horde_Kolab_Server_Object_Interface The object to be added.
$data array The attributes of the object to be added.
리턴 null

cleanup() 공개 메소드

Cleanup the server.
public cleanup ( )

connectGuid() 공개 메소드

Connect to the server.
public connectGuid ( string $guid = null, string $pass = null ) : NULL.
$guid string The global unique id of the user.
$pass string The password.
리턴 NULL.

delete() 공개 메소드

Delete an object.
public delete ( string $guid ) : null
$guid string The GUID of the object to be deleted.
리턴 null

find() 공개 메소드

Finds object data matching a given set of criteria.
public find ( string $query, array $params = [] ) : Horde_Kolab_Server_Result
$query string The LDAP search query
$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 ( string $query, string $parent, array $params = [] ) : Horde_Kolab_Server_Result
$query string The LDAP search query
$parent string The parent to search below.
$params array Additional search parameters.
리턴 Horde_Kolab_Server_Result The result object.

getBaseGuid() 공개 메소드

Get the base GUID of this server
public getBaseGuid ( ) : string
리턴 string The base GUID of this server.

getGuid() 공개 메소드

Get the current GUID
public getGuid ( ) : string
리턴 string The GUID of the connected user.

getParentGuid() 공개 메소드

Get the parent GUID of this object.
public getParentGuid ( string $guid ) : string
$guid string The GUID of the child.
리턴 string the parent GUID of this object.

getSchema() 공개 메소드

Return the ldap schema.
public getSchema ( ) : Horde_Ldap_Schema
리턴 Horde_Ldap_Schema The LDAP schema.

read() 공개 메소드

Low level access to reading object data.
public read ( string $guid, array $attrs = [] ) : array
$guid string The object to retrieve.
$attrs array Restrict to these attributes.
리턴 array An array of attributes.

readAttributes() 공개 메소드

Low level access to reading some object attributes.
또한 보기: Horde_Kolab_Server::read
public readAttributes ( string $guid, array $attrs ) : array
$guid string The object to retrieve.
$attrs array Restrict to these attributes.
리턴 array An array of attributes.

rename() 공개 메소드

Rename an object.
public rename ( string $guid, string $new ) : null
$guid string The GUID of the object to be renamed.
$new string The new GUID of the object.
리턴 null

save() 공개 메소드

Modify existing object data.
public save ( Horde_Kolab_Server_Object_Interface $object, array $data ) : null
$object Horde_Kolab_Server_Object_Interface The object to be modified.
$data array The attributes of the object to be stored.
리턴 null