Actions

API17

Difference between revisions of "JRequest::getInt"

From Joomla! Documentation

m (User contributed notes: added example)
m (moving preparation)
 
(2 intermediate revisions by one user not shown)
Line 41: Line 41:
 
* '''Defined''' on line 175 of libraries/joomla/environment/request.php
 
* '''Defined''' on line 175 of libraries/joomla/environment/request.php
 
* '''Referenced by'''
 
* '''Referenced by'''
** [[JModuleHelper::_load/11.1|JModuleHelper::_load]]
+
** [[API17:JModuleHelper::_load|JModuleHelper::_load]]
** [[JHtmlTabs::_loadBehavior/11.1|JHtmlTabs::_loadBehavior]]
+
** [[API17:JHtmlTabs::_loadBehavior|JHtmlTabs::_loadBehavior]]
** [[JHtmlSliders::_loadBehavior/11.1|JHtmlSliders::_loadBehavior]]
+
** [[API17:JHtmlSliders::_loadBehavior|JHtmlSliders::_loadBehavior]]
** [[JControllerForm::cancel/11.1|JControllerForm::cancel]]
+
** [[API17:JControllerForm::cancel|JControllerForm::cancel]]
** [[JControllerForm::edit/11.1|JControllerForm::edit]]
+
** [[API17:JControllerForm::edit|JControllerForm::edit]]
** [[JFormFieldRules::getInput/11.1|JFormFieldRules::getInput]]
+
** [[API17:JFormFieldRules::getInput|JFormFieldRules::getInput]]
** [[JModelAdmin::populateState/11.1|JModelAdmin::populateState]]
+
** [[API17:JModelAdmin::populateState|JModelAdmin::populateState]]
** [[JControllerForm::save/11.1|JControllerForm::save]]
+
** [[API17:JControllerForm::save|JControllerForm::save]]
 
===See also===
 
===See also===
 
* {{JVer|11.1}} '''JRequest::getInt source code''' on [[jplatform:environment/request.php#cl-167|BitBucket]]
 
* {{JVer|11.1}} '''JRequest::getInt source code''' on [[jplatform:environment/request.php#cl-167|BitBucket]]
* {{JVer|11.1}} Class [[JRequest/11.1|JRequest]]
+
* {{JVer|11.1}} Class [[API17:JRequest|JRequest]]
* {{JVer|11.1}} Subpackage [[Subpackage_Environment/11.1|Environment]]
+
* {{JVer|11.1}} Subpackage [[API17:Subpackage_Environment|Environment]]
* [[JRequest::getInt|Other versions of JRequest::getInt]]
+
* [[API17:JRequest::getInt|Other versions of JRequest::getInt]]
 
{{SeeAlso:JRequest::getInt}}
 
{{SeeAlso:JRequest::getInt}}
 
<span class="editsection" style="font-size:76%;">
 
<span class="editsection" style="font-size:76%;">
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>

Latest revision as of 21:24, 11 May 2013

Replacement filing cabinet.png
This Namespace has been archived - Please Do Not Edit or Create Pages in this namespace. Pages contain information for a Joomla! version which is no longer supported. It exists only as a historical reference, will not be improved and its content may be incomplete.

Joomla 11.1 JRequest::getInt

Description

Fetches and returns a given filtered variable.

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

SeeAlso:JRequest::getInt [Edit See Also]

User contributed notes

Example

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

<CodeExamplesForm />