====== JRequest ====== {#JAPI Joomla.Framework Environment JRequest #} 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 they can be returned raw. The concept and implementation of this class is inspired by the binary cloud environment package (http://www.binarycloud.com). ===== Methods ===== ^ Method ^ Description ^ | {{references:Method.png?nolink}} [[JRequest-clean|clean]] | Cleans the request from script injection. | | {{references:Method.png?nolink}} [[JRequest-cleanVar|cleanVar]] | Utility method to clean a string variable using input filters. | | {{references:Method.png?nolink}} [[JRequest-get|get]] | Fetches and returns a request array. | | {{references:Method.png?nolink}} [[JRequest-getVar|getVar]] | Fetches and returns a given variable. | | {{references:Method.png?nolink}} [[JRequest-getURI|getURI]] | Gets the full request path. | | {{references:Method.png?nolink}} [[JRequest-setVar|setVar]] | Sets a variable in one of the specified request hashes. | ---- ~~DISCUSSION~~