Joomla CMS
4.2.2
Documentation des API du CMS Joomla en version 4.2.2
|
Fonctions membres publiques | |
__construct (string $name, string $uri=null, array $options=[], array $attributes=[], array $dependencies=[]) | |
Fonctions membres publiques hérités de WebAssetItem | |
__construct (string $name, string $uri=null, array $options=[], array $attributes=[], array $dependencies=[]) | |
getName () | |
getVersion () | |
getDependencies () | |
getUri ($resolvePath=true) | |
getOption (string $key, $default=null) | |
setOption (string $key, $value=null) | |
getOptions () | |
getAttribute (string $key, $default=null) | |
setAttribute (string $key, $value=null) | |
getAttributes () | |
Membres hérités additionnels | |
Fonctions membres protégées hérités de WebAssetItem | |
resolvePath (string $path, string $type) | |
isPathExternal (string $path) | |
isPathAbsolute (string $path) | |
Attributs protégés hérités de WebAssetItem | |
$name = '' | |
$uri = '' | |
$options = [] | |
$attributes = [] | |
$dependencies = [] | |
$version = 'auto' | |
Web Asset Item class for load asset file for active language. Used in core templates.
__construct | ( | string | $name, |
string | $uri = null , |
||
array | $options = [] , |
||
array | $attributes = [] , |
||
array | $dependencies = [] |
||
) |
Class constructor
string | $name | The asset name |
string | $uri | The URI for the asset |
array | $options | Additional options for the asset |
array | $attributes | Attributes for the asset |
array | $dependencies | Asset dependencies |
Références $attributes, $client, $name, $options, $uri, Symfony\Contracts\Service\__construct(), et Factory\getApplication().