当前位置: 首页>>代码示例>>PHP>>正文


PHP X2Widget::getPackages方法代码示例

本文整理汇总了PHP中X2Widget::getPackages方法的典型用法代码示例。如果您正苦于以下问题:PHP X2Widget::getPackages方法的具体用法?PHP X2Widget::getPackages怎么用?PHP X2Widget::getPackages使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在X2Widget的用法示例。


在下文中一共展示了X2Widget::getPackages方法的14个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1: getPackages

 /**
  * 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;
 }
开发者ID:dsyman2,项目名称:X2CRM,代码行数:10,代码来源:SortableWidgetManager.php

示例2: getPackages

 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;
 }
开发者ID:dsyman2,项目名称:X2CRM,代码行数:7,代码来源:ActiveDateRangeInput.php

示例3: getPackages

 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;
 }
开发者ID:keyeMyria,项目名称:CRM,代码行数:7,代码来源:X2ModelConversionWidget.php

示例4: getPackages

 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;
 }
开发者ID:dsyman2,项目名称:X2CRM,代码行数:7,代码来源:Panel.php

示例5: getPackages

 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;
 }
开发者ID:keyeMyria,项目名称:CRM,代码行数:7,代码来源:InlineEmailForm.php

示例6: getPackages

 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;
 }
开发者ID:keyeMyria,项目名称:CRM,代码行数:7,代码来源:X2PillBox.php

示例7: getPackages

 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;
 }
开发者ID:dsyman2,项目名称:X2CRM,代码行数:7,代码来源:EmailProgressControl.php

示例8: getPackages

 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;
 }
开发者ID:tymiles003,项目名称:X2CRM,代码行数:8,代码来源:RecordViewLayoutManager.php

示例9: getPackages

 public function getPackages()
 {
     return array_merge(parent::getPackages(), array('RecordAliasesWidget' => array('baseUrl' => Yii::app()->request->baseUrl, 'js' => array('js/RecordAliasesWidget.js'), 'depends' => array('auxlib'))));
 }
开发者ID:keyeMyria,项目名称:CRM,代码行数:4,代码来源:RecordAliasesWidget.php

示例10: getPackages

 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;
 }
开发者ID:tymiles003,项目名称:X2CRM,代码行数:6,代码来源:WebFormDesigner.php

示例11: getPackages

 public function getPackages()
 {
     return array_merge(parent::getPackages(), array('RecordViewJS' => array('baseUrl' => Yii::app()->baseUrl, 'js' => array('js/recordView/RecordView.js'), 'depends' => array('auxlib'))));
 }
开发者ID:xl602,项目名称:X2CRM,代码行数:4,代码来源:RecordView.php

示例12: getPackages

 /**
  * 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;
 }
开发者ID:tymiles003,项目名称:X2CRM,代码行数:10,代码来源:Publisher.php

示例13: getPackages

 public function getPackages()
 {
     return array_merge(parent::getPackages(), array('MobileLayoutRenderer' => array('baseUrl' => Yii::app()->controller->assetsUrl, 'js' => array('js/MobileLayoutRenderer.js'), 'depends' => array('auxlib'))));
 }
开发者ID:dsyman2,项目名称:X2CRM,代码行数:4,代码来源:MobileLayoutRenderer.php

示例14: getPackages

 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;
 }
开发者ID:shuvro35,项目名称:X2CRM,代码行数:5,代码来源:FileUploader.php


注:本文中的X2Widget::getPackages方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。