/** * Clear all compiled templates * @return void */ public function clearTemplates() { // adapt with smarty 2 if (method_exists($this->_smarty, 'clear_compiled_tpl')) { return $this->_smarty->clear_compiled_tpl(); } // adapt with smarty 3 return $this->_smarty->clear_compiled_template(); }