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