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


PHP base\AssetBundle类代码示例

本文整理汇总了PHP中kartik\base\AssetBundle的典型用法代码示例。如果您正苦于以下问题:PHP AssetBundle类的具体用法?PHP AssetBundle怎么用?PHP AssetBundle使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。


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

示例1: init

 public function init()
 {
     $this->setSourcePath(__DIR__ . '/assets');
     $this->setupAssets('css', ['css/kv-sortable']);
     $this->setupAssets('js', ['js/jquery.sortable']);
     parent::init();
 }
开发者ID:hsleonis,项目名称:basetech,代码行数:7,代码来源:SortableAsset.php

示例2: init

 /**
  * @inheritdoc
  */
 public function init()
 {
     $this->setSourcePath(__DIR__ . '/assets');
     $this->setupAssets('css', ['css/perfect-scrollbar', 'css/perfect-scrollbar-kv']);
     $this->setupAssets('js', ['js/perfect-scrollbar.jquery']);
     parent::init();
 }
开发者ID:almirb,项目名称:yii2-grid,代码行数:10,代码来源:GridPerfectScrollbarAsset.php

示例3: init

 public function init()
 {
     $this->setSourcePath('@vendor/chd7well/bootstrap-wizard');
     //$this->setupAssets('css', ['css/bootstrap-popover-x']);
     $this->setupAssets('js', ['jquery.bootstrap.wizard']);
     parent::init();
 }
开发者ID:chd7well,项目名称:yii2-wizard,代码行数:7,代码来源:WizardAsset.php

示例4: init

 public function init()
 {
     $this->setSourcePath(__DIR__ . '/assets');
     $this->setupAssets('css', ['css/typeahead', 'css/typeahead-kv']);
     $this->setupAssets('js', ['js/typeahead.bundle']);
     parent::init();
 }
开发者ID:aoopvn,项目名称:EduSec4.0.0,代码行数:7,代码来源:TypeaheadAsset.php

示例5: init

 /**
  * @inheritdoc
  */
 public function init()
 {
     $this->depends = array_merge($this->depends, ['kartik\\datecontrol\\DateFormatterAsset']);
     $this->setSourcePath(__DIR__ . '/assets');
     $this->setupAssets('js', ['js/datecontrol']);
     parent::init();
 }
开发者ID:pumi11,项目名称:aau,代码行数:10,代码来源:DateControlAsset.php

示例6: init

 /**
  * @inheritdoc
  */
 public function init()
 {
     $this->setSourcePath('@vendor/kartik-v/strength-meter');
     $this->setupAssets('css', ['css/strength-meter']);
     $this->setupAssets('js', ['js/strength-meter']);
     parent::init();
 }
开发者ID:rumatakira,项目名称:yii2-password,代码行数:10,代码来源:PasswordInputAsset.php

示例7: init

 public function init()
 {
     $this->setSourcePath('@vendor/kartik-v/dependent-dropdown');
     $this->setupAssets('css', ['css/dependent-dropdown']);
     $this->setupAssets('js', ['js/dependent-dropdown']);
     parent::init();
 }
开发者ID:aoopvn,项目名称:EduSec4.0.0,代码行数:7,代码来源:DepDropAsset.php

示例8: init

 /**
  * @inheritdoc
  */
 public function init()
 {
     $this->setSourcePath(__DIR__ . '/assets');
     $this->setupAssets('js', ['js/lt-import-data']);
     $this->setupAssets('css', ['css/lt-import-data']);
     parent::init();
 }
开发者ID:lonelythinker,项目名称:yii2-import,代码行数:10,代码来源:ImportMenuAsset.php

示例9: init

 /**
  * @inheritdoc
  */
 public function init()
 {
     $this->setSourcePath(__DIR__ . '/assets');
     $this->setupAssets('css', ['css/select2']);
     $this->setupAssets('js', ['js/select2.full', 'js/select2-krajee']);
     parent::init();
 }
开发者ID:RAPOS,项目名称:baron-nt,代码行数:10,代码来源:Select2Asset.php

示例10: init

 public function init()
 {
     $this->setSourcePath(__DIR__ . '/lib');
     $this->setupAssets('css', ['select2', 'select2-kv']);
     $this->setupAssets('js', ['select2', 'select2-kv']);
     parent::init();
 }
开发者ID:hsleonis,项目名称:basetech,代码行数:7,代码来源:Select2Asset.php

示例11: init

 /**
  * @inheritdoc
  */
 public function init()
 {
     $this->depends = array_merge($this->depends, ['kartik\\grid\\GridViewAsset']);
     $this->setSourcePath(__DIR__ . '/assets');
     $this->setupAssets('js', ['js/jquery.resizableColumns']);
     $this->setupAssets('css', ['css/jquery.resizableColumns']);
     parent::init();
 }
开发者ID:kartik-v,项目名称:yii2-grid,代码行数:11,代码来源:GridResizeColumnsAsset.php

示例12: init

 /**
  * @inheritdoc
  */
 public function init()
 {
     $this->depends = array_merge($this->depends, ['yii\\web\\YiiAsset', 'yii\\bootstrap\\BootstrapPluginAsset']);
     $this->setSourcePath(__DIR__ . '/assets');
     $this->setupAssets('css', ['css/activeform']);
     $this->setupAssets('js', ['js/activeform']);
     parent::init();
 }
开发者ID:kartik-v,项目名称:yii2-widget-activeform,代码行数:11,代码来源:ActiveFormAsset.php

示例13: init

 public function init()
 {
     $this->setSourcePath(__DIR__ . '/assets');
     //$this->setupAssets('css', ['css/bootstrap-datepicker3', 'css/datepicker-kv']);
     //todo после разработки подключить через asset
     //$this->setupAssets('css', ['css/bootstrap-datepicker3', 'css/datepicker-kv']);
     //$this->setupAssets('js', ['js/bootstrap-datepicker', 'js/datepicker-kv']);
     parent::init();
 }
开发者ID:HejVkt,项目名称:auto.only3.ru,代码行数:9,代码来源:DatePickerAsset.php

示例14: init

 /**
  * @inheritdoc
  */
 public function init()
 {
     $this->setSourcePath(__DIR__ . '/assets');
     $this->setupAssets('js', ['js/kv-grid-radio']);
     parent::init();
 }
开发者ID:natcha23,项目名称:yii2demo,代码行数:9,代码来源:RadioColumnAsset.php


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