Пример #1
0
 /**
  * Magic getter. Returns this widget's packages. 
  */
 public function getPackages()
 {
     if (!isset($this->_packages)) {
         $this->_packages = array_merge(parent::getPackages(), array('SortableWidgetManagerJS' => array('baseUrl' => Yii::app()->request->baseUrl, 'js' => array('js/sortableWidgets/SortableWidgetManager.js'), 'depends' => array('auxlib'))));
     }
     return $this->_packages;
 }
Пример #2
0
 public function getPackages()
 {
     if (!isset($this->_packages)) {
         $this->_packages = array_merge(parent::getPackages(), array('ActiveDateRangeInput' => array('baseUrl' => Yii::app()->request->baseUrl, 'js' => array('js/ActiveDateRangeInput.js'))), $this->options);
     }
     return $this->_packages;
 }
Пример #3
0
 public function getPackages()
 {
     if (!isset($this->_packages)) {
         $this->_packages = array_merge(parent::getPackages(), array('X2ModelConversionWidgetJS' => array('baseUrl' => Yii::app()->request->baseUrl, 'js' => array('js/X2ModelConversionWidget.js'), 'depends' => array('X2Widget'))));
     }
     return $this->_packages;
 }
Пример #4
0
 public function getPackages()
 {
     if (!isset($this->_packages)) {
         $this->_packages = array_merge(parent::getPackages(), array('PanelJS' => array('baseUrl' => Yii::app()->controller->assetsUrl, 'js' => array('js/Panel.js'))));
     }
     return $this->_packages;
 }
Пример #5
0
 public function getPackages()
 {
     if (!isset($this->_packages)) {
         $this->_packages = array_merge(parent::getPackages(), array('InlineEmailEditorManager' => array('baseUrl' => Yii::app()->request->baseUrl, 'js' => array('js/InlineEmailResizable.js', 'js/inlineEmailForm.js'), 'depends' => array('jquery.ui'))));
     }
     return $this->_packages;
 }
Пример #6
0
 public function getPackages()
 {
     if (!isset($this->_packages)) {
         $this->_packages = array_merge(parent::getPackages(), array('X2PillBoxJS' => array('baseUrl' => Yii::app()->request->baseUrl, 'js' => array('js/X2PillBox.js'), 'depends' => array('auxlib', 'X2Widget'))));
     }
     return $this->_packages;
 }
Пример #7
0
 public function getPackages()
 {
     if (!isset($this->_packages)) {
         $this->_packages = array_merge(parent::getPackages(), array('emailProgressControl' => array('baseUrl' => $this->module->assetsUrl, 'css' => array('/css/emailProgressControl.css'), 'js' => array('/js/emailProgressControl.js'))));
     }
     return $this->_packages;
 }
Пример #8
0
 public function getPackages()
 {
     if (!isset($this->_packages)) {
         $baseUrl = Yii::app()->getBaseUrl();
         $this->_packages = array_merge(parent::getPackages(), array('layoutEditorJS' => array('baseUrl' => $baseUrl . '/js/', 'js' => array('LayoutEditor.js', 'RecordViewLayoutEditor.js'), 'depends' => array('auxlib')), 'layoutEditorCss' => array('baseUrl' => Yii::app()->theme->getBaseUrl(), 'css' => array('/css/components/views/layoutEditor.css'))));
     }
     return $this->_packages;
 }
Пример #9
0
 /**
  * Magic getter. Returns this widget's packages. 
  */
 public function getPackages()
 {
     if (!isset($this->_packages)) {
         $this->_packages = array_merge(parent::getPackages(), array('PublisherTabJS' => array('baseUrl' => Yii::app()->request->baseUrl, 'js' => array('js/publisher/PublisherTab.js'), 'depends' => array('auxlib'))));
     }
     return $this->_packages;
 }
Пример #10
0
 public function getPackages()
 {
     return array_merge(parent::getPackages(), array('RecordAliasesWidget' => array('baseUrl' => Yii::app()->request->baseUrl, 'js' => array('js/RecordAliasesWidget.js'), 'depends' => array('auxlib'))));
 }
Пример #11
0
 public function getPackages()
 {
     // Default Packages
     $this->_packages = array_merge(parent::getPackages(), array('WebFormDesignerJS' => array('baseUrl' => Yii::app()->baseUrl, 'js' => array('js/WebFormDesigner/WebFormDesigner.js'), 'depends' => array('auxlib')), 'WebFormDesignerCSS' => array('baseUrl' => Yii::app()->theme->baseUrl, 'css' => array('css/createWebForm.css'))));
     return $this->_packages;
 }
Пример #12
0
 public function getPackages()
 {
     return array_merge(parent::getPackages(), array('RecordViewJS' => array('baseUrl' => Yii::app()->baseUrl, 'js' => array('js/recordView/RecordView.js'), 'depends' => array('auxlib'))));
 }
Пример #13
0
 /**
  * Magic getter. Returns this widget's packages. 
  */
 public function getPackages()
 {
     if (!isset($this->_packages)) {
         $this->_packages = array_merge(parent::getPackages(), array('PublisherJS' => array('baseUrl' => Yii::app()->request->baseUrl, 'js' => array('js/publisher/Publisher.js'), 'depends' => array('auxlib', 'MultiRowTabsJS')), 'MultiRowTabsJS' => array('baseUrl' => Yii::app()->request->baseUrl, 'js' => array('js/MultiRowTabs.js'), 'depends' => array('jquery', 'jquery.ui'))));
     }
     return $this->_packages;
 }
Пример #14
0
 public function getPackages()
 {
     return array_merge(parent::getPackages(), array('MobileLayoutRenderer' => array('baseUrl' => Yii::app()->controller->assetsUrl, 'js' => array('js/MobileLayoutRenderer.js'), 'depends' => array('auxlib'))));
 }
Пример #15
0
 public function getPackages()
 {
     return array_merge(parent::getPackages(), array('FileUploaderJS' => array('baseUrl' => Yii::app()->baseUrl, 'js' => array('js/FileUploader.js'), 'depends' => array('Dropzone', 'auxlib')), 'FileUploaderCSS' => array('baseUrl' => Yii::app()->theme->baseUrl, 'css' => array('css/components/FileUploader.css'))));
     return $this->_packages;
 }