API17

JRequest::getInt: Difference between revisions

From Joomla! Documentation

BastianW (talk | contribs)
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

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 />