示例#1
0
 /**
  * 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);
 }
示例#2
0
 /**
  * Init for presetting of variables
  */
 public function init()
 {
     $this->combineScriptFiles = !YII_DEBUG;
     $this->combineCssFiles = !YII_DEBUG;
     return parent::init();
 }