Constants

QUERY_BASE

QUERY_BASE

Identifies the basic list query

QUERY_ACL

QUERY_ACL

Identifies the ACL query

QUERY_SHARE

QUERY_SHARE

Identifies the share query

Properties

$_supported_queries

$_supported_queries : 

The collection of list queries currently supported

Type

$_logger

$_logger : \Horde_Log_Logger

A logger.

Type

\Horde_Log_Logger

$_params

$_params : array

Parameters for constructing the various tools.

Type

array

$_queries

$_queries : array

The queries currently registered.

Type

array

Methods

__construct()

__construct(\Horde_Kolab_Storage_Driver  $driver, \Horde_Kolab_Storage_Cache  $cache, \Horde_Log_Logger  $logger, array  $params = array()) 

Constructor.

Parameters

\Horde_Kolab_Storage_Driver $driver

The backend driver.

\Horde_Kolab_Storage_Cache $cache

The cache.

\Horde_Log_Logger $logger

A logger.

array $params

getId()

getId() : string

Return the ID of the underlying connection.

Returns

string —

The connection ID.

getNamespace()

getNamespace() : \Horde_Kolab_Storage_Folder_Namespace

Return the namespace handler for the underlying connection.

Returns

\Horde_Kolab_Storage_Folder_Namespace

The namespace handler.

getListManipulation()

getListManipulation() 

Return the handler for list manipulations.

getListSynchronization()

getListSynchronization() 

Return the handler for list synchronizations.

getQuery()

getQuery(string  $type = null) 

Return a query object.

Parameters

string $type

The query type that should be returned.

_prepareManipulationHandler()

_prepareManipulationHandler() 

Setup for the manipulation handler.

_prepareSynchronizationHandler()

_prepareSynchronizationHandler() 

Setup for the synchronization handler.

_prepareListCache()

_prepareListCache() 

Setup the list cache.

_prepareQueries()

_prepareQueries() 

Setup the queries.

_prepareListQuery()

_prepareListQuery(array  $params = null) 

Prepare the general list query.

Parameters

array $params

Query specific configuration parameters.

_prepareAclQuery()

_prepareAclQuery(array  $params = null) 

Prepare the ACL query.

Parameters

array $params

Query specific configuration parameters.

_prepareShareQuery()

_prepareShareQuery(array  $params = null) 

Prepare the query for shares.

Parameters

array $params

Query specific configuration parameters.