PHP 클래스 Horde_Kolab_Storage_Driver_Decorator_Timer, horde

Copyright 2010-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.
상속: extends Horde_Kolab_Storage_Driver_Decorator_Base
파일 보기 프로젝트 열기: horde/horde 1 사용 예제들

공개 메소드들

메소드 설명
__construct ( Horde_Kolab_Storage_Driver $driver, Horde_Support_Timer $timer, mixed $logger ) Constructor.
create ( string $folder ) : null Create the specified folder.
createBackend ( ) : mixed Create the backend driver.
deleteAcl ( string $folder, string $user ) : null Delete the access rights for user on a folder.
getNamespace ( ) : Horde_Kolab_Storage_Driver_Namespace Retrieve the namespace information for this connection.
listAnnotation ( string $annotation ) : array Retrieves the specified annotation for the complete list of mailboxes.
listFolders ( ) : array Retrieves a list of mailboxes from the server.
setAcl ( string $folder, string $user, string $acl ) : null Set the access rights for a folder.

메소드 상세

__construct() 공개 메소드

Constructor.
public __construct ( Horde_Kolab_Storage_Driver $driver, Horde_Support_Timer $timer, mixed $logger )
$driver Horde_Kolab_Storage_Driver The decorated driver.
$timer Horde_Support_Timer A stop watch.
$logger mixed The log handler. This instance must provide the debug() method.

create() 공개 메소드

Create the specified folder.
public create ( string $folder ) : null
$folder string The folder to create.
리턴 null

createBackend() 공개 메소드

Create the backend driver.
public createBackend ( ) : mixed
리턴 mixed The backend driver.

deleteAcl() 공개 메소드

Delete the access rights for user on a folder.
public deleteAcl ( string $folder, string $user ) : null
$folder string The folder to act upon.
$user string The user to delete the ACL for
리턴 null

getNamespace() 공개 메소드

Retrieve the namespace information for this connection.
public getNamespace ( ) : Horde_Kolab_Storage_Driver_Namespace
리턴 Horde_Kolab_Storage_Driver_Namespace The initialized namespace handler.

listAnnotation() 공개 메소드

Retrieves the specified annotation for the complete list of mailboxes.
public listAnnotation ( string $annotation ) : array
$annotation string The name of the annotation to retrieve.
리턴 array An associative array combining the folder names as key with the corresponding annotation value.

listFolders() 공개 메소드

Retrieves a list of mailboxes from the server.
public listFolders ( ) : array
리턴 array The list of mailboxes.

setAcl() 공개 메소드

Set the access rights for a folder.
public setAcl ( string $folder, string $user, string $acl ) : null
$folder string The folder to act upon.
$user string The user to set the ACL for.
$acl string The ACL.
리턴 null