Documentation

Horde_Kolab_Storage_Data_Query_Preferences_Cache
in package
implements Horde_Kolab_Storage_Data_Query_Preferences

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.

Tags
category

Kolab

author

Gunnar Wrobel wrobel@pardus.de

license

http://www.horde.org/licenses/lgpl21 LGPL 2.1

Interfaces, Classes, Traits and Enums

Horde_Kolab_Storage_Data_Query_Preferences
Defines the data query for preferences data.

Table of Contents

PREFS  = 'PREFS'
The preferences query data
$_data  : Horde_Kolab_Storage_Data
The queriable data.
$_data_cache  : Horde_Kolab_Storage_Cache_Data
The data cache.
$_mapping  : array<string|int, mixed>
The cached preference mapping.
__construct()  : mixed
Constructor.
getApplicationPreferences()  : array<string|int, mixed>
Return the preferences for the specified application.
getApplications()  : array<string|int, mixed>
Return the applications for which preferences exist in the backend.
setLogger()  : mixed
synchronize()  : null
Synchronize the preferences information with the information from the backend.
_init()  : null
Ensure we have the query data.

Constants

PREFS

The preferences query data

public mixed PREFS = 'PREFS'

Properties

$_mapping

The cached preference mapping.

private array<string|int, mixed> $_mapping

Methods

getApplicationPreferences()

Return the preferences for the specified application.

public getApplicationPreferences(string $application) : array<string|int, mixed>
Parameters
$application : string

The application.

Return values
array<string|int, mixed>

The preferences.

getApplications()

Return the applications for which preferences exist in the backend.

public getApplications() : array<string|int, mixed>
Return values
array<string|int, mixed>

The applications.

setLogger()

public setLogger(Horde_Log_Logger $logger) : mixed
Parameters
$logger : Horde_Log_Logger
Return values
mixed

synchronize()

Synchronize the preferences information with the information from the backend.

public synchronize([array<string|int, mixed> $params = array() ]) : null
Parameters
$params : array<string|int, mixed> = array()

Additional parameters.

Return values
null

_init()

Ensure we have the query data.

private _init() : null
Return values
null

Search results