Method | Description | |
---|---|---|
__construct ( Horde_Kolab_Storage_Cache $cache, array $parameters = [] ) | Constructor. | |
getFolderTypes ( ) : array | Returns the folder type annotation from the cache. | |
getFolders ( ) : array | Returns the list of folders from the cache. | |
getListId ( ) : string | Return the ID for the list cache. | |
getLongTerm ( string $key ) : mixed | Return long term information. | |
getNamespace ( ) : mixed | Return namespace information. | |
getQuery ( string $key ) : mixed | Return query information. | |
getStamp ( ) : string | Returns the last sync stamp. | |
hasFolderTypes ( ) : boolean | Returns if the folder type annotation is stored in the cache. | |
hasLongTerm ( string $key ) : boolean | Is the specified long term data available in the cache? | |
hasNamespace ( ) : boolean | Returns if the namespace information is available. | |
hasQuery ( string $key ) : boolean | Is the specified query data available in the cache? | |
hasSupport ( string $capability ) : boolean | Has the list support for the requested capability? | |
isInitialized ( ) : boolean | Check if the cache has been initialized. | |
issetSupport ( $capability ) : boolean | Has the capability support already been cached? | |
save ( ) : null | Cache the list data. | |
setLongTerm ( string $key, mixed $data ) : null | Set long term information. | |
setNamespace ( mixed $data ) : null | Set namespace information. | |
setQuery ( string $key, mixed $data ) : null | Set query information. | |
setSupport ( string $capability, boolean $flag ) : null | Set if the list supports the given capability. | |
store ( array $folders = null, array $types = null ) : null | Store the folder list and folder type annotations in the cache. |
Method | Description | |
---|---|---|
_load ( ) : mixed | Retrieve the cached list data. | |
_setListId ( ) | Compose the list key. |
public __construct ( Horde_Kolab_Storage_Cache $cache, array $parameters = [] ) | ||
$cache | Horde_Kolab_Storage_Cache | The core cache driver. |
$parameters | array | Connection parameters that are only recorded and have no further impact. |
public getFolderTypes ( ) : array | ||
return | array | The list folder types with the folder names as key and the folder type as values. |
public getFolders ( ) : array | ||
return | array | The list of folders, represented as a list of strings. |
public getLongTerm ( string $key ) : mixed | ||
$key | string | The long term key. |
return | mixed | The long term data. |
public getNamespace ( ) : mixed | ||
return | mixed | The namespace data. |
public hasFolderTypes ( ) : boolean | ||
return | boolean | True if the type annotation is available. |
public hasLongTerm ( string $key ) : boolean | ||
$key | string | The long term key. |
return | boolean | True in case cached data is available. |
public hasNamespace ( ) : boolean | ||
return | boolean | True if the information exists in the cache. |
public hasSupport ( string $capability ) : boolean | ||
$capability | string | The name of the requested capability. |
return | boolean | True if the backend supports the requested capability. |
public isInitialized ( ) : boolean | ||
return | boolean | True if cache data is available. |
public issetSupport ( $capability ) : boolean | ||
return | boolean | True if the value is already in the cache. |
public setNamespace ( mixed $data ) : null | ||
$data | mixed | The namespace data. |
return | null |