WebAssetsSelection
in package
Table of Contents
- $_assetsGroups : mixed
- $cssAssets : mixed
- $jsAssets : mixed
- $urlBasePath : mixed
- $variables : mixed
- addAssetsGroup() : mixed
- compute() : mixed
- getCssLinks() : array<string|int, array<string|int, mixed>>
- List of url and corresponding attributes for the link element.
- getJsLinks() : array<string|int, array<string|int, mixed>>
- List of url and corresponding attributes for the script element.
- parseAssetUrl() : mixed
Properties
$_assetsGroups
protected
mixed
$_assetsGroups
= array()
$cssAssets
protected
mixed
$cssAssets
= array()
$jsAssets
protected
mixed
$jsAssets
= array()
$urlBasePath
protected
mixed
$urlBasePath
$variables
protected
mixed
$variables
Methods
addAssetsGroup()
public
addAssetsGroup(mixed $assetGroup) : mixed
Parameters
- $assetGroup : mixed
Return values
mixed —compute()
public
compute(mixed $config, mixed $collectionName, mixed $urlBasePath, mixed $variables) : mixed
Parameters
- $config : mixed
- $collectionName : mixed
- $urlBasePath : mixed
- $variables : mixed
Return values
mixed —getCssLinks()
List of url and corresponding attributes for the link element.
public
getCssLinks() : array<string|int, array<string|int, mixed>>
Return values
array<string|int, array<string|int, mixed>> —list of array(url, attributes)
getJsLinks()
List of url and corresponding attributes for the script element.
public
getJsLinks() : array<string|int, array<string|int, mixed>>
Return values
array<string|int, array<string|int, mixed>> —list of array(url, attributes)
parseAssetUrl()
protected
parseAssetUrl(mixed $asset) : mixed
Parameters
- $asset : mixed