/** * Clear the module cache * * @param int $mid Module ID * * @return void */ public function templateClearModuleCache($mid) { $module = $this->getModuleById($mid); $xoopsTpl = new XoopsTpl(); $xoopsTpl->clearModuleCompileCache($module->getVar('dirname')); }