Joomla CMS
4.2.2
Documentation des API du CMS Joomla en version 4.2.2
|
Fonctions membres publiques | |
__construct ($uri, int $status=302, array $headers=[]) | |
Fonctions membres publiques hérités de Response | |
__construct ($body='php://memory', int $status=200, array $headers=[]) | |
getStatusCode () | |
getReasonPhrase () | |
withStatus ($code, $reasonPhrase='') | |
Fonctions membres publiques hérités de MessageInterface | |
getProtocolVersion () | |
withProtocolVersion ($version) | |
getHeaders () | |
hasHeader ($name) | |
getHeader ($name) | |
getHeaderLine ($name) | |
withHeader ($name, $value) | |
withAddedHeader ($name, $value) | |
withoutHeader ($name) | |
getBody () | |
withBody (StreamInterface $body) | |
Membres hérités additionnels | |
Champs de données hérités de Response | |
const | MIN_STATUS_CODE_VALUE = 100 |
const | MAX_STATUS_CODE_VALUE = 599 |
Produce a redirect response.
__construct | ( | $uri, | |
int | $status = 302 , |
||
array | $headers = [] |
||
) |
Create a redirect response.
Produces a redirect response with a Location header and the given status (302 by default).
Note: this method overwrites the location
$headers value.
string | UriInterface | $uri | URI for the Location header. |
int | $status | Integer status code for the redirect; 302 by default. |
array | $headers | Array of headers to use at initialization. |
Références Laminas\Diactoros\$uri, et Symfony\Contracts\Service\__construct().