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
Afficher le fichier Open project: horde/horde

Méthodes publiques

Méthode 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

Méthode Description
_init ( ) : null Ensure we have the query data.

Method Details

__construct() public méthode

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

getApplicationPreferences() public méthode

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

getApplications() public méthode

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

setLogger() public méthode

public setLogger ( Horde_Log_Logger $logger )
$logger Horde_Log_Logger

synchronize() public méthode

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