Horde_Kolab_Storage_Data_Query_Preferences
extends
Horde_Kolab_Storage_Data_Query
in
Defines the data 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
Table of Contents
- 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() : mixed
- Synchronize the query data with the information from the backend.
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 query data with the information from the backend.
public
synchronize([array<string|int, mixed> $params = array() ]) : mixed
Parameters
- $params : array<string|int, mixed> = array()
-
Additional parameters may contain:
- current_sync: (integer) Timestamp of the current sync.
- last_sync: (integer) Timestamp containing the time of last sync.
- changes: (array) An array of arrays keyed by backend id containing information about each change.