/** * Parse into template */ private function parse() { // init vars $warnings = BackendSettingsModel::getWarnings(); // assign warnings if (!empty($warnings)) { $this->tpl->assign('warnings', $warnings); } }
/** * Show the warnings based on the active modules & configured settings */ private function parseWarnings() { // get warnings $warnings = BackendSettingsModel::getWarnings(); // assign warnings $this->tpl->assign('warnings', $warnings); }