프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$_driver | Horde_Kolab_Storage_Driver | Stores the driver once created. | |
$_params | array | A set of parameters for this factory. |
메소드 | 설명 | |
---|---|---|
__construct ( array $params = [] ) | Constructor. | |
create ( ) : Horde_Kolab_Storage | Create the storage handler. | |
createCache ( ) : Horde_Kolab_Storage_Cache | Create the cache handler. | |
createDriver ( array $params = [] ) : Horde_Kolab_Storage_Driver | Create the storage backend driver. | |
createHistory ( string $user ) : Horde_History | Create the history handler. | |
createNamespace ( string $type, string $user, array $params = [] ) : Horde_Kolab_Storage_Folder_Namespace | Create a namespace handler. | |
getDriver ( ) | ||
getHistoryPrefixGenerator ( ) : Horde_Kolab_Storage_HistoryPrefix | Horde_Support_Stub | Create a prefix factory. |
public __construct ( array $params = [] ) | ||
$params | array | 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. |
public create ( ) : Horde_Kolab_Storage | ||
리턴 | Horde_Kolab_Storage | The storage handler. |
public createCache ( ) : Horde_Kolab_Storage_Cache | ||
리턴 | Horde_Kolab_Storage_Cache | The cache handler. |
public createDriver ( array $params = [] ) : Horde_Kolab_Storage_Driver | ||
$params | array | Any parameters that should overwrite the default parameters provided in the factory constructor. |
리턴 | Horde_Kolab_Storage_Driver | The storage handler. |
public createHistory ( string $user ) : Horde_History | ||
$user | string | The current user. |
리턴 | Horde_History | The history handler. |
public getHistoryPrefixGenerator ( ) : Horde_Kolab_Storage_HistoryPrefix | Horde_Support_Stub | ||
리턴 | Horde_Kolab_Storage_HistoryPrefix | Horde_Support_Stub |
protected Horde_Kolab_Storage_Driver $_driver | ||
리턴 | Horde_Kolab_Storage_Driver |