\Horde_Kolab_Storage_Cached

The cached variant for the Kolab storage handler [the default].

Copyright 2004-2017 Horde LLC (http://www.horde.org/)

See the enclosed file LICENSE for license information (LGPL). If you did not receive this file, see http://www.horde.org/licenses/lgpl21.

Summary

Methods
Properties
Constants
__construct()
getSystemList()
getList()
getFolder()
getData()
No public properties found
No constants found
_createData()
$_master
$_query_set
$_factory
$_cache
$_logger
$_params
$_lists
$_data
N/A
No private methods found
No private properties found
N/A

Properties

$_logger

$_logger : \Horde_Log_Logger

A logger.

Type

\Horde_Log_Logger

$_params

$_params : array

Additional parameters.

Type

array

$_lists

$_lists : array

List instances.

Type

array

$_data

$_data : array

Data instances.

Type

array

Methods

__construct()

__construct(\Horde_Kolab_Storage_Driver  $master, \Horde_Kolab_Storage_QuerySet  $query_set, \Horde_Kolab_Storage_Factory  $factory, \Horde_Kolab_Storage_Cache  $cache, \Horde_Log_Logger  $logger, array  $params = array()) 

Constructor.

Parameters

\Horde_Kolab_Storage_Driver $master

The primary connection driver.

\Horde_Kolab_Storage_QuerySet $query_set

The query handler.

\Horde_Kolab_Storage_Factory $factory

The factory.

\Horde_Kolab_Storage_Cache $cache

The cache.

\Horde_Log_Logger $logger

A logger.

array $params

Additional parameters.

getSystemList()

getSystemList(string  $type) : \Horde_Kolab_Storage_List_Tools

Get a folder list object for a "system" user.

Parameters

string $type

The type of system user.

Returns

\Horde_Kolab_Storage_List_Tools

The handler for the list of folders present in the Kolab backend.

getFolder()

getFolder(string  $folder) : \Horde_Kolab_Storage_Folder

Get a Folder object.

Parameters

string $folder

The folder name.

Returns

\Horde_Kolab_Storage_Folder

The Kolab folder object.

getData()

getData(mixed  $folder, string  $object_type = null, integer  $data_version = 1) : \Horde_Kolab_Storage_Data

Return a data handler for accessing data in the specified folder.

Parameters

mixed $folder

The name of the folder or an instance representing the folder.

string $object_type

The type of data we want to access in the folder.

integer $data_version

Format version of the object data.

Returns

\Horde_Kolab_Storage_Data

The data object.

_createData()

_createData(mixed  $folder, \Horde_Kolab_Storage_Driver  $master, \Horde_Kolab_Storage_Factory  $factory, string  $object_type = null, integer  $data_version = 1) : \Horde_Kolab_Data

Return a data handler for accessing data in the specified folder.

Parameters

mixed $folder

The name of the folder or an instance representing the folder.

\Horde_Kolab_Storage_Driver $master

The primary connection driver.

\Horde_Kolab_Storage_Factory $factory

The factory.

string $object_type

The type of data we want to access in the folder.

integer $data_version

Format version of the object data.

Returns

\Horde_Kolab_Data —

The data object.