PHP Class Horde_Core_Factory_Cache, 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.
Inheritance: extends Horde_Core_Factory_Injector
Afficher le fichier Open project: horde/horde

Méthodes publiques

Свойство Type Description
$storage Horde_Cache_Storage Contains the storage driver used by the Cache object.

Méthodes publiques

Méthode Description
create ( Horde_Injector $injector ) : Horde_Cache Return the global Horde_Cache instance.
getDriverName ( ) : string Return the driver name.

Méthodes protégées

Méthode Description
_getStorage ( string $driver, array $params ) : Horde_Cache_Storage_Base Create the Cache storage backend.

Method Details

_getStorage() protected méthode

Create the Cache storage backend.
protected _getStorage ( string $driver, array $params ) : Horde_Cache_Storage_Base
$driver string The storage driver name.
$params array The storage backend parameters.
Résultat Horde_Cache_Storage_Base A cache storage backend.

create() public méthode

Return the global Horde_Cache instance.
public create ( Horde_Injector $injector ) : Horde_Cache
$injector Horde_Injector
Résultat Horde_Cache Cache object.

getDriverName() public méthode

Return the driver name.
Since: 2.5.0
public getDriverName ( ) : string
Résultat string Lowercase driver name.

Property Details

$storage public_oe property

Contains the storage driver used by the Cache object.
Since: 2.5.0
public Horde_Cache_Storage $storage
Résultat Horde_Cache_Storage