Class hrzg\moxiecode\moxiemanager\assets\ModuleAsset
Inheritance | hrzg\moxiecode\moxiemanager\assets\ModuleAsset » 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\ModuleAsset |
$depends | array | Dependencies on other asset bundles are specified via $depends property. | hrzg\moxiecode\moxiemanager\assets\ModuleAsset |
$js | array | List of JavaScript files that this bundle contains. | hrzg\moxiecode\moxiemanager\assets\ModuleAsset |
$sourcePath | string | The source path to the asset files. | hrzg\moxiecode\moxiemanager\assets\ModuleAsset |
Public Methods
Method | Description | Defined By |
---|---|---|
init() | hrzg\moxiecode\moxiemanager\assets\ModuleAsset |
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 contains.
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.