JRequest::getInt: Difference between revisions
From Joomla! Documentation
m JoomlaWikiBot moved page JRequest::getInt/11.1 to API17:JRequest::getInt without leaving a redirect: Robot: Moved page |
m →Example: moving preparation |
||
| Line 74: | Line 74: | ||
format= ,,, | format= ,,, | ||
</dpl> | </dpl> | ||
<noinclude>[[Category: | <noinclude>[[Category:Platform 11.1]][[Category:Archived pages API17]]</noinclude> | ||
Revision as of 22:04, 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 />