JRequest::getString
Fetches and returns a given filtered variable. The string filter deletes 'bad' HTML code, if not overridden by the mask.
This is currently only a proxy function for getVar(). See getVar() for more in-depth documentation on the parameters.
Signature
public function getString(string
$name,
[string
$default = '',
[string
$hash = 'default',
[integer
$mask = 0]]] )
Parameters
-
$name
- Variable name
-
$default
- Default value if the variable does not exist
-
$hash
- Where the var should come from (POST, GET, FILES, COOKIE, METHOD)
-
$mask
- Filter mask for the variable
Returns
- string
- Requested variable