Example #1
0
 public function getPackages()
 {
     if (!isset($this->_packages)) {
         $this->_packages = array_merge(parent::getPackages(), array('ActionActiveFormBaseCss' => array('baseUrl' => Yii::app()->getModule('actions')->assetsUrl, 'css' => array('css/actionForms.css')), 'ActionActiveFormBaseJS' => array('baseUrl' => Yii::app()->getModule('actions')->assetsUrl, 'js' => array('js/ActionActiveFormBase.js'), 'depends' => array('X2FormJS'))));
     }
     return $this->_packages;
 }
Example #2
0
 public function getPackages()
 {
     return array_merge(parent::getPackages(), array('MobileActiveFormJS' => array('baseUrl' => Yii::app()->controller->assetsUrl, 'js' => array('js/MobileActiveForm.js'), 'depends' => array('X2FormJS'))));
 }