Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
yii2
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
PSDI Army
yii2
Commits
9e1fa1f7
Commit
9e1fa1f7
authored
Nov 20, 2013
by
Qiang Xue
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added code example.
parent
423ce837
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
3 deletions
+12
-3
AssetManager.php
framework/yii/web/AssetManager.php
+12
-3
No files found.
framework/yii/web/AssetManager.php
View file @
9e1fa1f7
...
@@ -41,9 +41,18 @@ use yii\helpers\FileHelper;
...
@@ -41,9 +41,18 @@ use yii\helpers\FileHelper;
class
AssetManager
extends
Component
class
AssetManager
extends
Component
{
{
/**
/**
* @var array list of available asset bundles. The keys are the class names of the asset bundles,
* @var array list of available asset bundles. The keys are the class names (without leading backslash)
* and the values are either the configuration arrays for creating the [[AssetBundle]] objects
* of the asset bundles, and the values are either the configuration arrays for creating the [[AssetBundle]]
* or the corresponding asset bundle instances.
* objects or the corresponding asset bundle instances. For example, the following code disables
* the bootstrap css file used by Bootstrap widgets (because you want to use your own styles):
*
* ~~~
* [
* 'yii\bootstrap\BootstrapAsset' => [
* 'css' => [],
* ],
* ]
* ~~~
*/
*/
public
$bundles
=
[];
public
$bundles
=
[];
/**
/**
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment