API17

API17:JRequest::getInt

From Joomla! Documentation

Revision as of 16:01, 24 March 2017 by JoomlaWikiBot (talk | contribs) (clean up)

Joomla 11.1 JRequest::getInt

Description

Fetches and returns a given filtered variable.

{{subst:Description:JRequest::getInt}}

public static function getInt (
        $name
        $default=0
        $hash= 'default'
)
Parameter Type Default Description
$name
$default 0
$hash 'default'

See also

{{subst:SeeAlso:JRequest::getInt}}

User contributed notes

Example

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

<CodeExamplesForm />