Joomla CMS
4.2.2
Documentation des API du CMS Joomla en version 4.2.2
|
Fonctions membres publiques | |
get ($key, $default=null) | |
set ($key, $value=null) | |
setConfiguration (Registry $config) | |
Fonctions membres publiques hérités de ApplicationInterface | |
close ($code=0) | |
execute () | |
Application sub-interface defining an application class which is aware of its configuration
get | ( | $key, | |
$default = null |
|||
) |
Returns a property of the object or the default value if the property is not set.
string | $key | The name of the property. |
mixed | $default | The default value (optional) if none is set. |
Implémenté dans AbstractApplication.
set | ( | $key, | |
$value = null |
|||
) |
Modifies a property of the object, creating it if it does not already exist.
string | $key | The name of the property. |
mixed | $value | The value of the property to set (optional). |
Implémenté dans AbstractApplication.
setConfiguration | ( | Registry | $config | ) |
Sets the configuration for the application.
Registry | $config | A registry object holding the configuration. |
Implémenté dans AbstractApplication.