/** * overrides parent method. Adds JS file necessary to run the setup script. */ public function getPackages() { if (!isset($this->_packages)) { $this->_packages = array_merge(parent::getPackages(), array('InlineTagsWidgetJS' => array('baseUrl' => Yii::app()->request->baseUrl, 'js' => array('js/X2Tags/TagContainer.js', 'js/X2Tags/TagCreationContainer.js', 'js/X2Tags/InlineTagsContainer.js'), 'depends' => array('auxlib')))); } return $this->_packages; }
/** * overrides parent method. Adds JS file necessary to run the setup script. */ public function getPackages() { if (!isset($this->_packages)) { $this->_packages = array_merge(parent::getPackages(), array('TwitterFeedWidgetJS' => array('baseUrl' => Yii::app()->request->baseUrl, 'js' => array('js/sortableWidgets/TwitterFeedWidget.js'), 'depends' => array('SortableWidgetJS')))); } return $this->_packages; }
public function getPackages() { if (!isset($this->_packages)) { $this->_packages = array_merge(parent::getPackages(), array('GridViewWidgetJS' => array('baseUrl' => Yii::app()->request->baseUrl, 'js' => array('js/sortableWidgets/GridViewWidget.js'), 'depends' => array('SortableWidgetJS')), 'GridViewWidgetCSS' => array('baseUrl' => Yii::app()->theme->baseUrl, 'css' => array('css/components/sortableWidget/views/gridViewWidget.css')))); } return $this->_packages; }
/** * overrides parent method. Adds JS file necessary to run the setup script. */ public function getPackages() { if (!isset($this->_packages)) { $this->_packages = array_merge(parent::getPackages(), array('ChartWidgetJS' => array('baseUrl' => Yii::app()->request->baseUrl, 'js' => array('js/jqplot/jquery.jqplot.js', 'js/jqplot/plugins/jqplot.pieRenderer.js', 'js/jqplot/plugins/jqplot.categoryAxisRenderer.js', 'js/jqplot/plugins/jqplot.pointLabels.js', 'js/jqplot/plugins/jqplot.dateAxisRenderer.js', 'js/jqplot/plugins/jqplot.highlighter.js', 'js/jqplot/plugins/jqplot.enhancedLegendRenderer.js', 'js/lib/moment-with-locales.min.js', 'js/sortableWidgets/ChartWidget.js', 'js/X2Chart/X2Chart.js'), 'depends' => array('SortableWidgetJS')), 'ChartWidgetCss' => array('baseUrl' => Yii::app()->getTheme()->getBaseUrl(), 'css' => array('css/x2chart.css')), 'ChartWidgetCssExt' => array('baseUrl' => Yii::app()->request->baseUrl, 'css' => array('js/jqplot/jquery.jqplot.css')))); if (AuxLib::isIE8()) { $this->_packages['ChartWidgetJS']['js'][] = 'js/jqplot/excanvas.js'; } } return $this->_packages; }
public function getPackages() { if (!isset($this->_packages)) { $this->_packages = array_merge(parent::getPackages(), array('WorkflowStageDetailsWorkflowJS' => array('baseUrl' => $this->module->assetsUrl, 'js' => array('js/WorkflowManagerBase.js', 'js/WorkflowManager.js'), 'depends' => array('auxlib')), 'WorkflowStageDetailsWidgetJS' => array('baseUrl' => Yii::app()->request->baseUrl, 'js' => array('js/sortableWidgets/WorkflowStageDetailsWidget.js'), 'depends' => array('SortableWidgetJS')), 'WorkflowStageDetailsWidgetCSS' => array('baseUrl' => Yii::app()->getTheme()->getBaseUrl(), 'css' => array('css/workflowFunnel.css')))); if (AuxLib::isIE8()) { $this->_packages['WorkflowExcanvas'] = array('baseUrl' => Yii::app()->request->baseUrl, 'js' => array('js/jqplot/excanvas.js')); } } return $this->_packages; }