|
| __construct ($source=null, array $options=array()) |
|
| __get ($name) |
|
| getArray (array $vars=array(), $datasource=null, $defaultFilter='unknown') |
|
| unserialize ($input) |
|
| __construct ($source=null, array $options=array()) |
|
| __get ($name) |
|
| count () |
|
| get ($name, $default=null, $filter='cmd') |
|
| getArray (array $vars=array(), $datasource=null) |
|
| getInputForRequestMethod () |
|
| set ($name, $value) |
|
| def ($name, $value) |
|
| exists ($name) |
|
| __call ($name, $arguments) |
|
| getMethod () |
|
| serialize () |
|
| unserialize ($input) |
|
|
static | $allowedGlobals = array('REQUEST', 'GET', 'POST', 'FILES', 'SERVER', 'ENV') |
|
◆ __construct()
__construct |
( |
|
$source = null , |
|
|
array |
$options = array() |
|
) |
| |
◆ __get()
◆ 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 JFilterInput::clean. |
mixed | $datasource | Array to retrieve data from, or null. |
string | $defaultFilter | Default filter used in JFilterInput::clean if vars is empty and datasource is null. If 'unknown', the default case is used in JFilterInput::clean. |
- Renvoie
- mixed The filtered input data.
- Depuis
- 1.7.0
- Obsolète:
- 5.0 Use Joomla instead
Références Input\getArrayRecursive().
◆ 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 JFilterInput::clean. |
mixed | $datasource | Array to retrieve data from, or null. |
string | $defaultFilter | Default filter used in JFilterInput::clean if vars is empty and datasource is null. If 'unknown', the default case is used in JFilterInput::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 Input\$data, Input\$filter, $results, elseif, et null.
Référencé par Input\getArray().
◆ 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 :