JRequestJRequest Class
This class serves to provide the Joomla Framework with a common interface to access request variables. This includes $_POST, $_GET, and naturally $_REQUEST. Variables can be passed through an input filter to avoid injection or returned raw.
The concept and implementation of this class is inspired by the binary cloud environment package. <http://www.binarycloud.com/>
Located in /application/environment/request.php (line 37)
Utility method to clean a string variable using input filters
Available Options masks: _J_NOTRIM : Prevents the trimming of the variable _J_ALLOWHTML : Allows safe HTML in the variable _J_ALLOWRAW : Allows raw input
Fetches and returns a given variable.
The default behaviour is fetching variables depending on the current request method: GET and HEAD will result in returning an entry from $_GET, POST and PUT will result in returning an entry from $_POST.
You can force the source by setting the $hash parameter:
post $_POST get $_GET files $_FILES method via current $_SERVER['REQUEST_METHOD'] default via default order (GET, POST, FILE)
Documentation generated on Sat, 4 Feb 2006 14:26:23 +0100 by phpDocumentor 1.3.0RC4