You are here

function Smarty::clear_all_cache in Quiz 6.5

Same name and namespace in other branches
  1. 6.6 includes/moodle/lib/smarty/Smarty.class.php \Smarty::clear_all_cache()

clear the entire contents of cache (all templates)

Parameters

string $exp_time expire time:

Return value

boolean results of {@link smarty_core_rm_auto()}

File

includes/moodle/lib/smarty/Smarty.class.php, line 969

Class

Smarty
@package Smarty

Code

function clear_all_cache($exp_time = null) {
  return $this
    ->clear_cache(null, null, null, $exp_time);
}