Skip to content

Smarty_Internal_Method_ClearAllCache

Smarty Method ClearAllCache

Smarty::clearAllCache() method

  • Full name: \Smarty_Internal_Method_ClearAllCache

Properties

objMap

Valid for Smarty object

public int $objMap

Methods

clearAllCache

Empty cache folder

public clearAllCache(\Smarty $smarty, int $exp_time = null, string $type = null): int

Parameters:

Parameter Type Description
$smarty \Smarty
$exp_time int expiration time
$type string resource type

Return Value:

number of cache files deleted

Throws:

See Also:

  • https://www.smarty.net/docs/en/api.clear.all.cache.tpl -


Automatically generated on 2025-03-18