PHP Класс 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.
Показать файл
Открыть проект
Открытые свойства
Свойство |
Тип |
Описание |
|
$storage |
Horde_Prefs_Storage |
Storage driver. |
|
Открытые методы
Защищенные методы
Метод |
Описание |
|
_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. |
|
Описание методов
_getCache()
защищенный Метод
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? |
Результат |
Horde_Cache |
Cache object. |
_notifyError()
защищенный Метод
Notifies (once) if one of the preference backends is not available and
logs details for the administrator.
clearCache()
публичный Метод
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. |
Результат |
Horde_Prefs |
The singleton instance. |
sizeCallback()
публичный Метод
Описание свойств
$storage публичное свойство
public Horde_Prefs_Storage $storage |
Результат |
Horde_Prefs_Storage |
|