Joomla CMS
4.2.2
Documentation des API du CMS Joomla en version 4.2.2
|
Fonctions membres publiques | |
__construct (&$subject, $config) | |
applyHashesToCspRule (Event $event) | |
setHttpHeaders (Event $event) | |
Fonctions membres publiques hérités de CMSPlugin | |
__construct (&$subject, $config=array()) | |
loadLanguage ($extension='', $basePath=JPATH_ADMINISTRATOR) | |
setApplication (CMSApplicationInterface $application) | |
Fonctions membres publiques hérités de DispatcherAwareInterface | |
setDispatcher (DispatcherInterface $dispatcher) | |
Fonctions membres publiques hérités de PluginInterface | |
registerListeners () | |
Fonctions membres publiques statiques | |
static | getSubscribedEvents () |
Attributs protégés | |
$app | |
$db | |
Attributs protégés hérités de CMSPlugin | |
$_name = null | |
$_type = null | |
$autoloadLanguage = false | |
$allowLegacyListeners = true | |
Fonctions membres privées | |
setCspHeader () | |
getStaticHeaderConfiguration () | |
setStaticHeaders () | |
Attributs privés | |
$cspNonce | |
$supportedHttpHeaders | |
$validDirectives | |
$noValueDirectives | |
$nonceDirectives | |
Membres hérités additionnels | |
Champs de données hérités de CMSPlugin | |
$params = null | |
Fonctions membres protégées hérités de CMSPlugin | |
registerLegacyListener (string $methodName) | |
registerListener (string $methodName) | |
getApplication () | |
Plugin class for HTTP Headers
__construct | ( | & | $subject, |
$config | |||
) |
Constructor.
DispatcherInterface | $subject | The object to observe. |
array | $config | An optional associative array of configuration settings. |
Références $config, $subject, et Symfony\Contracts\Service\__construct().
applyHashesToCspRule | ( | Event | $event | ) |
|
private |
Get the configured static headers.
Références $this.
|
static |
Returns an array of events this subscriber will listen to.
Implémente SubscriberInterface.
|
private |
Set the CSP header when enabled
That line is for B/C we do no longer require to add the nonce tag but add it once the setting is enabled so this line here is needed to remove the outdated tag that was required until 4.2.0
Références $this.
setHttpHeaders | ( | Event | $event | ) |
The setHttpHeaders
method handle the setting of the configured HTTP Headers
|
private |
|
protected |
|
private |
|
protected |
|
private |
|
private |
|
private |
|
private |