AssetList
class AssetList (View source)
Properties
Asset>> | $assets | ||
AssetGroup[] | $assetGroups | ||
static private AssetList|null | $loc |
Methods
Asset>>
getRegisteredAssets()
No description
getRegisteredAssetGroups()
No description
static AssetList
getInstance()
No description
register(string $assetType, string $assetHandle, string $filename, array<string,mixed> $args = [], bool $pkg = false)
No description
void
registerMultiple(array $assets)
No description
void
void
registerGroup(string $assetGroupHandle, array $assetHandles, bool $customClass = false)
No description
void
registerGroupMultiple(array $asset_groups)
No description
AssetGroup|null
getAssetGroup(string $assetGroupHandle)
No description
Details
Asset>>
getRegisteredAssets()
No description
AssetGroup[]
getRegisteredAssetGroups()
No description
static AssetList
getInstance()
No description
Asset
register(string $assetType, string $assetHandle, string $filename, array<string,mixed> $args = [], bool $pkg = false)
No description
void
registerMultiple(array $assets)
No description
void
registerAsset(Asset $asset)
No description
void
registerGroup(string $assetGroupHandle, array $assetHandles, bool $customClass = false)
No description
void
registerGroupMultiple(array $asset_groups)
No description
Asset|null
getAsset(string $assetType, string $assetHandle)
No description
AssetGroup|null
getAssetGroup(string $assetGroupHandle)
No description