當前位置: 首頁>>代碼示例>>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;未經允許,請勿轉載。