PHP Класс Horde_Kolab_Storage_Driver_Decorator_Log, 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.
Автор: Gunnar Wrobel ([email protected])
Наследование: extends Horde_Kolab_Storage_Driver_Decorator_Base
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
__construct ( Horde_Kolab_Storage_Driver $driver, mixed $logger ) Constructor.
create ( string $folder ) : null Create the specified folder.
createBackend ( ) : mixed Create the backend driver.
delete ( string $folder ) : null Delete the specified folder.
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.
rename ( string $old, string $new ) : null Rename the specified folder.
setAcl ( string $folder, string $user, string $acl ) : null Set the access rights for a folder.

Описание методов

__construct() публичный Метод

Constructor.
public __construct ( Horde_Kolab_Storage_Driver $driver, mixed $logger )
$driver Horde_Kolab_Storage_Driver The decorated driver.
$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.

delete() публичный Метод

Delete the specified folder.
public delete ( string $folder ) : null
$folder string The folder to delete.
Результат null

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.

rename() публичный Метод

Rename the specified folder.
public rename ( string $old, string $new ) : null
$old string The folder to rename.
$new string The new name of the folder.
Результат null

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