|
| __construct ($source=null, array $options=array()) |
|
| __get ($name) |
|
| getArray (array $vars=array(), $datasource=null, $defaultFilter='unknown') |
|
| unserialize ($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 () |
|
|
static | $allowedGlobals = array('REQUEST', 'GET', 'POST', 'FILES', 'SERVER', 'ENV') |
|
◆ __construct()
__construct |
( |
|
$source = null , |
|
|
array |
$options = array() |
|
) |
| |
◆ __get()
Magic method to get an input object
- Paramètres
-
mixed | $name | Name of the input object to retrieve. |
- Renvoie
- The request input object
- Depuis
- 1.7.0
- Obsolète:
- 5.0 Use Joomla instead
Références $className, $name, et null.
◆ getArray()
getArray |
( |
array |
$vars = array() , |
|
|
|
$datasource = null , |
|
|
|
$defaultFilter = 'unknown' |
|
) |
| |
Gets an array of values from the request.
- Paramètres
-
array | $vars | Associative array of keys and filter types to apply. If empty and datasource is null, all the input data will be returned but filtered using the filter given by the parameter defaultFilter in InputFilter::clean. |
mixed | $datasource | Array to retrieve data from, or null. |
string | $defaultFilter | Default filter used in InputFilter::clean if vars is empty and datasource is null. If 'unknown', the default case is used in InputFilter::clean. |
- Renvoie
- mixed The filtered input data.
- Depuis
- 1.7.0
- Obsolète:
- 5.0 Use Joomla instead
◆ getArrayRecursive()
getArrayRecursive |
( |
array |
$vars = array() , |
|
|
|
$datasource = null , |
|
|
|
$defaultFilter = 'unknown' , |
|
|
|
$recursion = false |
|
) |
| |
|
protected |
Gets an array of values from the request.
- Paramètres
-
array | $vars | Associative array of keys and filter types to apply. If empty and datasource is null, all the input data will be returned but filtered using the filter given by the parameter defaultFilter in InputFilter::clean. |
mixed | $datasource | Array to retrieve data from, or null. |
string | $defaultFilter | Default filter used in InputFilter::clean if vars is empty and datasource is null. If 'unknown', the default case is used in InputFilter::clean. |
bool | $recursion | Flag to indicate a recursive function call. |
- Renvoie
- mixed The filtered input data.
- Depuis
- 3.4.2
- Obsolète:
- 5.0 Use Joomla instead
Références $data, $results, elseif, et null.
◆ unserialize()
◆ $allowedGlobals
$allowedGlobals = array('REQUEST', 'GET', 'POST', 'FILES', 'SERVER', 'ENV') |
|
staticprivate |
◆ $inputs
La documentation de cette classe a été générée à partir du fichier suivant :