JRequest

From Joomla! Documentation
(Difference between revisions)
Jump to: navigation, search
(Combining with main topic)
Line 1: Line 1:
JRequest::get( 'post' )<br>
+
JRequest provides 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.
<nowiki>This returns the standard post array.  You can use it on a template page if needed, or in the models section if convenient, it returns the most recent post.
+
 
Methods of this object were not found in the Framework section where one would expect to find them. </nowiki>
+
Main topic:  [[Retrieving data from GET and POST requests]]

Revision as of 14:08, 10 January 2010

JRequest provides 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.

Main topic: Retrieving data from GET and POST requests

Personal tools
Namespaces

Variants
Actions
Navigation
Joomla! Sites
Toolbox