PHP Class TemplateCacheHandler

Show file Open project: sourcefabric/newscoop

Public Methods

Method Description
clean ( ) : boolean Clears template cache storage.
description ( ) : string Returns a short description of the cache handler.
handler ( $action, &$cache_content, $tpl_file = null, $cache_id = null, $compile_id = null, $exp_time = null ) : boolean Smarty template cache handler implementation.
isSupported ( ) : boolean Returns true if the handler was supported in PHP, false otherwise.
update ( $camspiteVector ) : boolean Updates template cache storage by given campsite vector.

Method Details

clean() abstract public method

Clears template cache storage.
abstract public clean ( ) : boolean
return boolean

description() abstract public method

Returns a short description of the cache handler.
abstract public description ( ) : string
return string

handler() abstract public method

Smarty template cache handler implementation.
abstract public handler ( $action, &$cache_content, $tpl_file = null, $cache_id = null, $compile_id = null, $exp_time = null ) : boolean
return boolean

isSupported() abstract public method

Returns true if the handler was supported in PHP, false otherwise.
abstract public isSupported ( ) : boolean
return boolean

update() abstract public method

Updates template cache storage by given campsite vector.
abstract public update ( $camspiteVector ) : boolean
return boolean