class AssetList (View source)

Properties

static private null|AssetList $loc
array $assets
AssetGroup[] $assetGroups

Methods

getRegisteredAssets()

No description

static AssetList
getInstance()

No description

register(string $assetType, string $assetHandle, string $filename, array $args = array(), bool $pkg = false)

No description

registerMultiple(array $assets)

No description

registerAsset(Asset $asset)

No description

registerGroup(string $assetGroupHandle, array $assetHandles, bool $customClass = false)

No description

registerGroupMultiple(array $asset_groups)

No description

getAsset(string $assetType, string $assetHandle)

No description

getAssetGroup(string $assetGroupHandle)

No description

Details

getRegisteredAssets()

No description

AssetGroup[] getRegisteredAssetGroups()

No description

Return Value

AssetGroup[]

static AssetList getInstance()

No description

Return Value

AssetList

Asset register(string $assetType, string $assetHandle, string $filename, array $args = array(), bool $pkg = false)

No description

Parameters

string $assetType
string $assetHandle
string $filename
array $args
bool $pkg

Return Value

Asset

registerMultiple(array $assets)

No description

Parameters

array $assets

registerAsset(Asset $asset)

No description

Parameters

Asset $asset

registerGroup(string $assetGroupHandle, array $assetHandles, bool $customClass = false)

No description

Parameters

string $assetGroupHandle
array $assetHandles
bool $customClass

registerGroupMultiple(array $asset_groups)

No description

Parameters

array $asset_groups

Asset getAsset(string $assetType, string $assetHandle)

No description

Parameters

string $assetType
string $assetHandle

Return Value

Asset

AssetGroup getAssetGroup(string $assetGroupHandle)

No description

Parameters

string $assetGroupHandle

Return Value

AssetGroup