JRequest::getWord
Fetches and returns a given filtered variable. The word filter only allows the characters [A-Za-z_]. This is currently only a proxy function for getVar().
See getVar() for more in-depth documentation on the parameters.
Signature
public function getWord(string
$name,
[string
$default = '',
[string
$hash = 'default']] )
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).
Returns
- string
- Requested variable.