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