\Horde_Kolab_Storage_Data_Query_Preferences_Cache

Cached access to the preferences data.

Copyright 2011-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()
getApplicationPreferences()
getApplications()
synchronize()
setLogger()
No public properties found
PREFS
No protected methods found
No protected properties found
N/A
_init()
$_data_cache
$_data
$_mapping
N/A

Constants

PREFS

PREFS

The preferences query data

Properties

$_mapping

$_mapping : array

The cached preference mapping.

Type

array

Methods

__construct()

__construct(\Horde_Kolab_Storage_Data  $data, array  $params) 

Constructor.

Parameters

\Horde_Kolab_Storage_Data $data

The queriable data.

array $params

Additional parameters.

getApplicationPreferences()

getApplicationPreferences(string  $application) : array

Return the preferences for the specified application.

Parameters

string $application

The application.

Returns

array —

The preferences.

getApplications()

getApplications() : array

Return the applications for which preferences exist in the backend.

Returns

array —

The applications.

synchronize()

synchronize(array  $params = array()) : NULL

Synchronize the preferences information with the information from the backend.

Parameters

array $params

Additional parameters.

Returns

NULL

setLogger()

setLogger(\Horde_Log_Logger  $logger) 

Parameters

\Horde_Log_Logger $logger

_init()

_init() : NULL

Ensure we have the query data.

Returns

NULL