public function model_jump($mid, $module) { $model_info = $this->model_info($mid); if (!empty($model_info['module_category']) && $model_info['module_category'] != $module) { module($model_info['module_category'])->index(); if ($this->config['HTML_CACHE_ON']) { cpHtmlCache::write(); } exit; } }
private function _writeHtmlCache() { if ($this->appConfig['HTML_CACHE_ON']) { cpHtmlCache::write(); } }