Joomla CMS
4.2.2
Documentation des API du CMS Joomla en version 4.2.2
|
Fonctions membres publiques | |
__construct ($source=null, array $options=[]) | |
set ($name, $value, $options=[]) | |
Fonctions membres publiques hérités de Input | |
__construct ($source=null, array $options=[]) | |
__get ($name) | |
count () | |
get ($name, $default=null, $filter='cmd') | |
getArray (array $vars=[], $datasource=null) | |
getInputForRequestMethod () | |
set ($name, $value) | |
def ($name, $value) | |
exists ($name) | |
__call ($name, $arguments) | |
getMethod () | |
Membres hérités additionnels | |
Attributs protégés hérités de Input | |
$options = [] | |
$filter | |
$data = [] | |
$inputs = [] | |
__construct | ( | $source = null , |
|
array | $options = [] |
||
) |
Constructor.
array | null | $source | Source data (Optional, default is $_COOKIE) |
array | $options | Array of configuration parameters (Optional) |
Références Input\$options, et Symfony\Contracts\Service\__construct().
set | ( | $name, | |
$value, | |||
$options = [] |
|||
) |
Sets a value
string | $name | Name of the value to set. |
mixed | $value | Value to assign to the input. |
array | $options | An associative array which may have any of the keys expires, path, domain, secure, httponly and samesite. The values have the same meaning as described for the parameters with the same name. The value of the samesite element should be either Lax or Strict. If any of the allowed options are not given, their default values are the same as the default values of the explicit parameters. If the samesite element is omitted, no SameSite cookie attribute is set. |
https://php.net/manual/en/function.setcookie.php 1.0 As of 1.4.0, the (name, value, expire, path, domain, secure, httpOnly) signature is deprecated and will not be supported when support for PHP 7.2 and earlier is dropped
Références $name, Input\$options, et $value.