PHP Class Horde_Kolab_Storage_Data_Query_Preferences_Base, 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
Mostrar archivo Open project: horde/horde

Protected Properties

Property Type Description
$_data Horde_Kolab_Storage_Data The queriable data.
$_mapping array The cached preference mapping.

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 = null )
synchronize ( array $params = [] ) : null Synchronize the preferences information with the information from the backend.

Private Methods

Method Description
_initMapping ( ) : null Initialize the application <-> object mapping.

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 = null )
$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

Property Details

$_data protected_oe property

The queriable data.
protected Horde_Kolab_Storage_Data $_data
return Horde_Kolab_Storage_Data

$_mapping protected_oe property

The cached preference mapping.
protected array $_mapping
return array