PHP Класс Horde_Kolab_Storage_List_Manipulation_Decorator_Log, horde

Copyright 2012-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_List_Manipulation
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
__construct ( Horde_Kolab_Storage_List_Manipulation $manipulation, mixed $logger ) Constructor.
createFolder ( string $folder, string $type = null ) : null Create a new folder.
deleteFolder ( string $folder ) : null Delete a folder.
registerListener ( Horde_Kolab_Storage_List_Manipulation_Listener $listener ) Register a new manipulation listener.
renameFolder ( string $old, string $new ) : null Rename a folder.

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

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

Constructor.
public __construct ( Horde_Kolab_Storage_List_Manipulation $manipulation, mixed $logger )
$manipulation Horde_Kolab_Storage_List_Manipulation The list manipulator.
$logger mixed The log handler. This instance must provide the debug() method.

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

Create a new folder.
public createFolder ( string $folder, string $type = null ) : null
$folder string The path of the folder to create.
$type string An optional type for the folder.
Результат null

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

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

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

Register a new manipulation listener.
public registerListener ( Horde_Kolab_Storage_List_Manipulation_Listener $listener )
$listener Horde_Kolab_Storage_List_Manipulation_Listener The new listener.

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

Rename a folder.
public renameFolder ( string $old, string $new ) : null
$old string The old path of the folder.
$new string The new path of the folder.
Результат null