PHP Class Horde_Core_Factory_Prefs, horde
Copyright 2010-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.
ファイルを表示
Open project: horde/horde
Public Properties
Property |
Type |
Description |
|
$storage |
Horde_Prefs_Storage |
Storage driver. |
|
Public Methods
Protected Methods
Method |
Description |
|
_getCache ( string $user, boolean $fallback ) : Horde_Cache |
Return the cache object to use for the prefs driver. |
|
_notifyError ( mixed $e ) |
Notifies (once) if one of the preference backends is not available and
logs details for the administrator. |
|
Method Details
_getCache()
protected method
Return the cache object to use for the prefs driver.
protected _getCache ( string $user, boolean $fallback ) : Horde_Cache |
$user |
string |
Username. |
$fallback |
boolean |
Return the fallback cache driver? |
return |
Horde_Cache |
Cache object. |
_notifyError()
protected method
Notifies (once) if one of the preference backends is not available and
logs details for the administrator.
clearCache()
public method
Clears the instances cache.
Return the Horde_Prefs:: instance.
public create ( string $scope = 'horde', array $opts = [] ) : Horde_Prefs |
$scope |
string |
The scope for this set of preferences. |
$opts |
array |
See Horde_Prefs::__construct(). Additional
parameters:
- driver: (boolean) Use this driver instead of the value in the Horde
config.
- driver_params: (array) Use these driver parameters instead of the
values in the Horde config. |
return |
Horde_Prefs |
The singleton instance. |
sizeCallback()
public method
Property Details
$storage public_oe property
public Horde_Prefs_Storage $storage |
return |
Horde_Prefs_Storage |
|