Documentation

Horde_Kolab_Storage_Data_Query_Preferences_Base
in package
implements Horde_Kolab_Storage_Data_Query_Preferences

Basic query for 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

$_data  : Horde_Kolab_Storage_Data
The queriable data.
$_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.
_initMapping()  : null
Initialize the application <-> object mapping.

Properties

$_mapping

The cached preference mapping.

protected array<string|int, mixed> $_mapping

Methods

__construct()

Constructor.

public __construct(Horde_Kolab_Storage_Data $data, array<string|int, mixed> $params) : mixed
Parameters
$data : Horde_Kolab_Storage_Data

The queriable data.

$params : array<string|int, mixed>

Additional parameters.

Return values
mixed

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 = null ]) : mixed
Parameters
$logger : Horde_Log_Logger = null
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

_initMapping()

Initialize the application <-> object mapping.

private _initMapping() : null
Return values
null

Search results