PHP Class Horde_Kolab_Storage_Data_Query_Preferences_Cache, horde

Copyright 2011-2016 Horde LLC (http://www.horde.org/) See the enclosed file COPYING for license information (LGPL). If you did not receive this file, see http://www.horde.org/licenses/lgpl21.
Inheritance: implements Horde_Kolab_Storage_Data_Query_Preferences
Datei anzeigen Open project: horde/horde

Public Methods

Method Description
__construct ( Horde_Kolab_Storage_Data $data, array $params ) Constructor.
getApplicationPreferences ( string $application ) : array Return the preferences for the specified application.
getApplications ( ) : array Return the applications for which preferences exist in the backend.
setLogger ( Horde_Log_Logger $logger )
synchronize ( array $params = [] ) : null Synchronize the preferences information with the information from the backend.

Private Methods

Method Description
_init ( ) : null Ensure we have the query data.

Method Details

__construct() public method

Constructor.
public __construct ( Horde_Kolab_Storage_Data $data, array $params )
$data Horde_Kolab_Storage_Data The queriable data.
$params array Additional parameters.

getApplicationPreferences() public method

Return the preferences for the specified application.
public getApplicationPreferences ( string $application ) : array
$application string The application.
return array The preferences.

getApplications() public method

Return the applications for which preferences exist in the backend.
public getApplications ( ) : array
return array The applications.

setLogger() public method

public setLogger ( Horde_Log_Logger $logger )
$logger Horde_Log_Logger

synchronize() public method

Synchronize the preferences information with the information from the backend.
public synchronize ( array $params = [] ) : null
$params array Additional parameters.
return null