\Horde_Kolab_Storage_Data_Query_Preferences

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.

Summary

Methods
Constants
setLogger()
synchronize()
getApplicationPreferences()
getApplications()
No constants found
No protected methods found
N/A
No private methods found
N/A

Methods

setLogger()

setLogger(\Horde_Log_Logger  $logger) 

Parameters

\Horde_Log_Logger $logger

synchronize()

synchronize(array  $params = array()) 

Synchronize the query data with the information from the backend.

Parameters

array $params

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.

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.