[ 'position' => 'POS_END', // 'condition'=> 'lt IE 9', ], 'js' =>[ 'js/zepto.min.js', 'js/sm.min.js', 'js/sm-extend.min.js', 'js/fec.js', ], ], ]; # css config $cssOptions = [ # css config 1. [ 'css' =>[ 'css/sm.min.css', 'css/sm-extend.min.css', 'css/fec.css', ], ], ]; \Yii::$service->page->asset->jsOptions = \yii\helpers\ArrayHelper::merge($jsOptions, \Yii::$service->page->asset->jsOptions); \Yii::$service->page->asset->cssOptions = \yii\helpers\ArrayHelper::merge($cssOptions, \Yii::$service->page->asset->cssOptions); \Yii::$service->page->asset->register($this); ?> beginPage() ?> page->widget->render('head',$this); ?> page->widget->render('beforeContent',$this); ?> beginBody() ?>
page->widget->render('header',$this); ?>
page->widget->render('menu',$this); ?> page->widget->render('trace',$this); ?>
endBody() ?> endPage() ?>