$_params
$_params : array
A set of parameters for this factory.
A generic factory for the various Kolab_Storage classes.
$_driver : \Horde_Kolab_Storage_Driver
Stores the driver once created.
__construct(array $params = array())
Constructor.
array | $params | A set of parameters. - storage: - cache: - queries: - queryset: - driver: (string) The type of backend driver. One of "mock", "php", "pear", "horde", "horde-socket", and "roundcube". - params: (array) Backend specific connection parameters. - logger: (Horde_Log_Logger) An optional log handler. - log: (array) An array of log decorators. Possible values include: 'debug', 'driver_time', 'driver'. - format : (array) - factory: Name of the format parser factory class. - history: (Horde_History) A Horde_History driver. - history_prefix_generator: (Horde_Kolab_Storage_HistoryPrefix) An object that can provide prefix/collection mapping of the History system. - sync_strategy: (Horde_Kolab_Storage_Synchronization) The strategy object to use for determining when we should synchronize with the Kolab backend. If omitted, Horde_Kolab_Storage_Synchronization_OncePerSession strategy is used. |
create() : \Horde_Kolab_Storage
Create the storage handler.
The storage handler.
createDriver(array $params = array()) : \Horde_Kolab_Storage_Driver
Create the storage backend driver.
array | $params | Any parameters that should overwrite the default parameters provided in the factory constructor. |
The storage handler.
createNamespace(string $type, string $user, array $params = array()) : \Horde_Kolab_Storage_Folder_Namespace
Create a namespace handler.
string | $type | The namespace type. |
string | $user | The current user. |
array | $params | The parameters for the namespace. |
The namespace handler.
createCache() : \Horde_Kolab_Storage_Cache
Create the cache handler.
The cache handler.
getHistoryPrefixGenerator() : \Horde_Kolab_Storage_HistoryPrefix|\Horde_Support_Stub
Create a prefix factory.