API17

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:JRequest]][[Category:JRequest::getInt]]</noinclude>
<noinclude>[[Category:Platform 11.1]][[Category:Archived pages API17]]</noinclude>

Revision as of 22:04, 11 May 2013

Joomla 11.1 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'

See also

Template:SeeAlso:JRequest::getInt [Edit See Also]

User contributed notes

Example

$ourresult   = JRequest::getInt( 'inputbox',              0,                        'post' );

<CodeExamplesForm />