Class hrzg\moxiecode\moxiemanager\assets\MoxieManagerAsset
Inheritance | hrzg\moxiecode\moxiemanager\assets\MoxieManagerAsset » yii\web\AssetBundle |
---|---|
Available since version | 2.0 |
This declares the asset files required by the MoxieManager Module.
Public Properties
Property | Type | Description | Defined By |
---|---|---|---|
$css | array | List of CSS files that this bundle contains. | hrzg\moxiecode\moxiemanager\assets\MoxieManagerAsset |
$depends | array | Dependencies on other asset bundles are specified via $depends property. | hrzg\moxiecode\moxiemanager\assets\MoxieManagerAsset |
$js | array | List of JavaScript files that this bundle registers. | hrzg\moxiecode\moxiemanager\assets\MoxieManagerAsset |
$sourcePath | string | The source path to the asset files. | hrzg\moxiecode\moxiemanager\assets\MoxieManagerAsset |
Public Methods
Method | Description | Defined By |
---|---|---|
init() | Setup bundle, set publish options to copy only js, skin and langs | hrzg\moxiecode\moxiemanager\assets\MoxieManagerAsset |
Property Details
List of CSS files that this bundle contains.
Dependencies on other asset bundles are specified via $depends property. It is an array that contains fully qualified class names of bundle classes that should be published in order for this bundle to work properly.
List of JavaScript files that this bundle registers.
The source path to the asset files. In case you have asset files under a non web accessible directory, that is the case for any extension, you need to specify $sourcePath instead of $basePath and $baseUrl.
Method Details
Setup bundle, set publish options to copy only js, skin and langs
public void init ( ) |