API17

JRequest

From Joomla! Documentation

Revision as of 18:01, 23 April 2011 by Doxiki2 (talk | contribs) (Layout updates)

The "API17" namespace is an archived namespace. This page contains information for a Joomla! version which is no longer supported. It exists only as a historical reference, it will not be improved and its content may be incomplete and/or contain broken links.

[Edit Descripton] Template:Description:JRequest

Defined in[edit]

libraries/joomla/environment/request.php

Subpackage[edit]

Environment

Extends[edit]

Extended by[edit]

Methods[edit]

Method name Description
_cleanArray Adds an array to the GLOBALS array and checks that the GLOBALS variable is not being attacked.
_cleanVar Clean up an input variable.
checkToken Checks for a form token in the request.
clean Cleans the request from script injection.
get Fetches and returns a request array.
getBool Fetches and returns a given filtered variable.
getCmd Fetches and returns a given filtered variable.
getFloat Fetches and returns a given filtered variable.
getInt Fetches and returns a given filtered variable.
getMethod Gets the request method.
getString Fetches and returns a given filtered variable.
getURI Gets the full request path.
getVar Fetches and returns a given variable.
getWord Fetches and returns a given filtered variable.
set Sets a request variable.
setVar Set a variabe in one of the request variables.
_stripSlashesRecursive Strips slashes recursively on an array.

Importing[edit]

jimport( 'joomla.environment.request' );

See also[edit]

Template:SeeAlso:JRequest [Edit See Also]

Examples[edit]

<CodeExamplesForm />