\Smarty_Internal_Method_ClearCache

Smarty Method ClearCache

Smarty::clearCache() method

Summary

Methods
Properties
Constants
clearCache()
$objMap
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Properties

$objMap

$objMap : integer

Valid for Smarty object

Type

integer

Methods

clearCache()

clearCache(\Smarty  $smarty, string  $template_name, string  $cache_id = null, string  $compile_id = null, integer  $exp_time = null, string  $type = null) : integer

Empty cache for a specific template

Parameters

\Smarty $smarty
string $template_name

template name

string $cache_id

cache id

string $compile_id

compile id

integer $exp_time

expiration time

string $type

resource type

Returns

integer —

number of cache files deleted