JRequest::getInt: Difference between revisions
From Joomla! Documentation
m →User contributed notes: added example |
m JoomlaWikiBot moved page JRequest::getInt/11.1 to API17:JRequest::getInt without leaving a redirect: Robot: Moved page |
(No difference)
| |
Revision as of 01:28, 11 May 2013
JRequest::getInt
Description
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
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
Example
$ourresult = JRequest::getInt( 'inputbox', 0, 'post' );
<CodeExamplesForm />