Support Joomla!

references:joomla.framework:environment:jrequest

JRequest

API Package Subpackage Class Reference Last reviewed Doc status
API Home Package Joomla.Framework Subpackage Environment Class JRequest Reference JRequest Never Work in Progress

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
clean Cleans the request from script injection.
cleanVar Utility method to clean a string variable using input filters.
get Fetches and returns a request array.
getVar Fetches and returns a given variable.
getURI Gets the full request path.
setVar Sets a variable in one of the specified request hashes.


Discussion

Full name:
E-Mail:
 
references/joomla.framework/environment/jrequest.txt (4262 views) · Last modified: 2007/10/19 13:41 by clinn