本文整理汇总了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;
}
示例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;
}
示例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;
}
示例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;
}
示例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;
}
示例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;
}
示例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;
}
示例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;
}
示例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'))));
}
示例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;
}
示例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'))));
}
示例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;
}
示例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'))));
}
示例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;
}