AssetMaker
trait AssetMaker
Properties
array | $assetPath |
Methods
flushAssets()
No description
string
getAssetPath(string $fileName, string $assetPath = null)
Locates a file based on it's definition. If the file starts with a forward slash, it will be returned in context of the application public path, otherwise it will be returned in context of the asset path.
addMeta($meta)
No description
addJs($href, $attributes = null)
No description
addCss($href, $attributes = null)
No description
Details
at line 15
flushAssets()
No description
at line 30
string
getAssetPath(string $fileName, string $assetPath = null)
Locates a file based on it's definition. If the file starts with a forward slash, it will be returned in context of the application public path, otherwise it will be returned in context of the asset path.
at line 55
addMeta($meta)
No description
at line 60
addJs($href, $attributes = null)
No description
at line 65
addCss($href, $attributes = null)
No description