PHP Class TemplateCacheHandler_DB

Inheritance: extends TemplateCacheHandler
Show file Open project: sourcefabric/newscoop Class Usage Examples

Public Methods

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

Method Details

TemplateCacheHandler_DB() public method

clean() public method

Clears template cache storage.
public clean ( $tpl_file = null )

description() public method

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

handler() public method

public handler ( $action, &$cache_content, $tpl_file = null, $cache_id = null, $compile_id = null, $exp_time )

isSupported() public method

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

update() public method

Updates template cache storage by given campsite vector.
public update ( $campsiteVector, $exactUpdate = false )

vectorToWhereString() public static method

public static vectorToWhereString ( $vector )