Joomla CMS
4.2.2
Documentation des API du CMS Joomla en version 4.2.2
|
Fonctions membres publiques | |
getLinkProvider () | |
setLinkProvider (EvolvableLinkProviderInterface $linkProvider) | |
preload (string $uri, array $attributes=[]) | |
dnsPrefetch (string $uri, array $attributes=[]) | |
preconnect (string $uri, array $attributes=[]) | |
prefetch (string $uri, array $attributes=[]) | |
prerender (string $uri, array $attributes=[]) | |
Joomla! Preload Manager Interface
dnsPrefetch | ( | string | $uri, |
array | $attributes = [] |
||
) |
Resolves a resource origin as early as possible.
string | $uri | A public path |
array | $attributes | The attributes of this link (e.g. "array('as' => true)", "array('pr' => 0.5)") |
Implémenté dans PreloadManager.
getLinkProvider | ( | ) |
Get the link provider
Implémenté dans PreloadManager.
preconnect | ( | string | $uri, |
array | $attributes = [] |
||
) |
Initiates an early connection to a resource (DNS resolution, TCP handshake, TLS negotiation).
string | $uri | A public path |
array | $attributes | The attributes of this link (e.g. "array('as' => true)", "array('pr' => 0.5)") |
Implémenté dans PreloadManager.
prefetch | ( | string | $uri, |
array | $attributes = [] |
||
) |
Indicates to the client that it should prefetch this resource.
string | $uri | A public path |
array | $attributes | The attributes of this link (e.g. "array('as' => true)", "array('pr' => 0.5)") |
Implémenté dans PreloadManager.
preload | ( | string | $uri, |
array | $attributes = [] |
||
) |
Preloads a resource.
string | $uri | A public path |
array | $attributes | The attributes of this link (e.g. "array('as' => true)", "array('crossorigin' => 'use-credentials')") |
Implémenté dans PreloadManager.
prerender | ( | string | $uri, |
array | $attributes = [] |
||
) |
Indicates to the client that it should prerender this resource.
string | $uri | A public path |
array | $attributes | The attributes of this link (e.g. "array('as' => true)", "array('pr' => 0.5)") |
Implémenté dans PreloadManager.
setLinkProvider | ( | EvolvableLinkProviderInterface | $linkProvider | ) |
Set the link provider
EvolvableLinkProviderInterface | $linkProvider | The link provider |
Implémenté dans PreloadManager.