public getUserStateFromRequest ( string $key, string $request, |
||
$key | string | The user state key for the variable |
$request | string | The request variable name for the variable |
$input | The Input object with the request (input) data | |
$default | mixed | The default value. Default: null |
$type | string | The filter type for the variable data. Default: none (no filtering) |
$setUserState | boolean | Should I set the user state with the fetched value? |
Résultat | mixed | The value of the variable |