PHP Класс Horde_Kolab_Storage_Decorator_Synchronization, horde

Copyright 2011-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])
Наследование: implements Horde_Kolab_Storage
Показать файл Открыть проект Примеры использования класса

Защищенные свойства (Protected)

Свойство Тип Описание
$_storage Horde_Kolab_Storage The decorated storage handler.
$_synchronization Horde_Kolab_Storage_Synchronization The synchronization strategy

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

Метод Описание
__construct ( Horde_Kolab_Storage $storage, Horde_Kolab_Storage_Synchronization $synchronization ) Constructor.
getData ( string $folder, string $object_type = null, integer $data_version = 1 ) : Horde_Kolab_Storage_Data Return a data handler for accessing data in the specified folder.
getFolder ( string $folder ) : Horde_Kolab_Storage_Folder Get a Folder object.
getList ( ) : Horde_Kolab_Storage_List Get the folder list object.
getSystemList ( string $type ) : Horde_Kolab_Storage_List Get a folder list object for a "system" user.

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

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

Constructor.
public __construct ( Horde_Kolab_Storage $storage, Horde_Kolab_Storage_Synchronization $synchronization )
$storage Horde_Kolab_Storage The storage handler.
$synchronization Horde_Kolab_Storage_Synchronization The synchronization strategy.

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

Return a data handler for accessing data in the specified folder.
public getData ( string $folder, string $object_type = null, integer $data_version = 1 ) : Horde_Kolab_Storage_Data
$folder string The name of the folder.
$object_type string The type of data we want to access in the folder.
$data_version integer Format version of the object data.
Результат Horde_Kolab_Storage_Data The data object.

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

Get a Folder object.
public getFolder ( string $folder ) : Horde_Kolab_Storage_Folder
$folder string The folder name.
Результат Horde_Kolab_Storage_Folder The Kolab folder object.

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

Get the folder list object.
public getList ( ) : Horde_Kolab_Storage_List
Результат Horde_Kolab_Storage_List The handler for the list of folders present in the Kolab backend.

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

Get a folder list object for a "system" user.
public getSystemList ( string $type ) : Horde_Kolab_Storage_List
$type string The type of system user.
Результат Horde_Kolab_Storage_List The handler for the list of folders present in the Kolab backend.

Описание свойств

$_storage защищенное свойство

The decorated storage handler.
protected Horde_Kolab_Storage $_storage
Результат Horde_Kolab_Storage

$_synchronization защищенное свойство

The synchronization strategy
protected Horde_Kolab_Storage_Synchronization $_synchronization
Результат Horde_Kolab_Storage_Synchronization