Joomla CMS
4.2.2
Documentation des API du CMS Joomla en version 4.2.2
|
Fonctions membres publiques | |
get (string $type, string $name) | |
add (string $type, WebAssetItemInterface $asset) | |
remove (string $type, string $name) | |
exists (string $type, string $name) | |
Web Asset Registry interface
add | ( | string | $type, |
WebAssetItemInterface | $asset | ||
) |
Add Asset to registry of known assets
string | $type | Asset type, script or style etc |
WebAssetItemInterface | $asset | Asset instance |
Implémenté dans WebAssetRegistry.
exists | ( | string | $type, |
string | $name | ||
) |
Check whether the asset exists in the registry.
string | $type | Asset type, script or style etc |
string | $name | Asset name |
Implémenté dans WebAssetRegistry.
get | ( | string | $type, |
string | $name | ||
) |
Get an existing Asset from a registry, by asset name and asset type.
string | $type | Asset type, script or style etc |
string | $name | Asset name |
UnknownAssetException | When Asset cannot be found |
Implémenté dans WebAssetRegistry.
remove | ( | string | $type, |
string | $name | ||
) |
Remove Asset from registry.
string | $type | Asset type, script or style etc |
string | $name | Asset name |
Implémenté dans WebAssetRegistry.