PHP Class Horde_Core_Factory_ThemesCache, 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_Base, implements Horde_Shutdown_Task
Mostrar archivo Open project: horde/horde

Public Methods

Method Description
create ( string $app, string $theme ) : Horde_Themes_Cache Return the Horde_Themes_Cache:: instance.
expireCache ( string $app, string $theme ) : boolean Expire cache entry.
shutdown ( ) Store object in cache.

Method Details

create() public method

Return the Horde_Themes_Cache:: instance.
public create ( string $app, string $theme ) : Horde_Themes_Cache
$app string The application name.
$theme string The theme name.
return Horde_Themes_Cache The singleton instance.

expireCache() public method

Expire cache entry.
public expireCache ( string $app, string $theme ) : boolean
$app string The application name.
$theme string The theme name.
return boolean True if cache entry existed and was deleted.

shutdown() public method

Store object in cache.
public shutdown ( )