/** * Inserts the scripts at the end of the body section. * @param string the output to be inserted with scripts. */ public function renderBodyEnd(&$output) { // $this->enableJavascript has been checked in parent::render() if ($this->combineScriptFiles) { $this->combineScriptFiles(self::POS_END); } parent::renderBodyEnd($output); }
/** * Init for presetting of variables */ public function init() { $this->combineScriptFiles = !YII_DEBUG; $this->combineCssFiles = !YII_DEBUG; return parent::init(); }