JRequest::getInt
From Joomla! Documentation
Revision as of 02:26, 1 July 2012 by BastianW (talk | contribs) (→User contributed notes: added example)
Revision as of 02:26, 1 July 2012 by BastianW (talk | contribs) (→User contributed notes: added example)
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.
JRequest::getInt[edit]
Description[edit]
Fetches and returns a given filtered variable.
Template:Description:JRequest::getInt [Edit Descripton]
public static function getInt (
$name
$default=0
$hash= 'default'
)
Parameter | Type | Default | Description |
---|---|---|---|
$name | |||
$default | 0 | ||
$hash | 'default' |
- Returns
- Defined on line 175 of libraries/joomla/environment/request.php
- Referenced by
See also[edit]
- JRequest::getInt source code on BitBucket
- Class JRequest
- Subpackage Environment
- Other versions of JRequest::getInt
Template:SeeAlso:JRequest::getInt [Edit See Also]
User contributed notes[edit]
Example[edit]
$ourresult = JRequest::getInt( 'inputbox', 0, 'post' );
<CodeExamplesForm />