/** * function to update compiled template file in cache folder * * @param string $tpl_id template id * * @return boolean */ public function templateTouch($tpl_id) { $tplfile = $this->getHandlerTplFile()->get($tpl_id); if (is_object($tplfile)) { $file = $tplfile->getVar('tpl_file', 'n'); $module = $tplfile->getVar('tpl_module', 'n'); $type = $tplfile->getVar('tpl_type', 'n'); $tpl = new XoopsTpl(); return $tpl->touch($type . ':' . $module . '/' . $file); } return false; }