Actions

API17

Difference between revisions of "JRequest::getBool"

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 213 of libraries/joomla/environment/request.php
 
* '''Defined''' on line 213 of libraries/joomla/environment/request.php
 
* '''Referenced by'''
 
* '''Referenced by'''
** [[JModuleHelper::getModules/11.1|JModuleHelper::getModules]]
+
** [[API17:JModuleHelper::getModules|JModuleHelper::getModules]]
** [[JModuleHelper::renderModule/11.1|JModuleHelper::renderModule]]
+
** [[API17:JModuleHelper::renderModule|JModuleHelper::renderModule]]
 
===See also===
 
===See also===
 
* {{JVer|11.1}} '''JRequest::getBool source code''' on [[jplatform:environment/request.php#cl-205|BitBucket]]
 
* {{JVer|11.1}} '''JRequest::getBool source code''' on [[jplatform:environment/request.php#cl-205|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::getBool|Other versions of JRequest::getBool]]
+
* [[API17:JRequest::getBool|Other versions of JRequest::getBool]]
 
{{SeeAlso:JRequest::getBool}}
 
{{SeeAlso:JRequest::getBool}}
 
<span class="editsection" style="font-size:76%;">
 
<span class="editsection" style="font-size:76%;">
Line 68: Line 68:
 
format= ,,,
 
format= ,,,
 
</dpl>
 
</dpl>
<noinclude>[[Category:JRequest]][[Category:JRequest::getBool]]</noinclude>
+
<noinclude>[[Category:Platform 11.1]][[Category:Archived pages API17]]</noinclude>

Latest revision as of 21:23, 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::getBool

Description

Fetches and returns a given filtered variable.

Description:JRequest::getBool [Edit Descripton]

public static function getBool (
        $name
        $default=false
        $hash= 'default'
)
Parameter Type Default Description
$name
$default false
$hash 'default'

See also

SeeAlso:JRequest::getBool [Edit See Also]

User contributed notes

Example

$ourresult   = JRequest::getBool( 'inputcheckbox',              false,                        'post' );

<CodeExamplesForm />