API17:JRequest::getBool
From Joomla! Documentation
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.
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' |
- Returns
- Defined on line 213 of libraries/joomla/environment/request.php
- Referenced by
See also
-
JRequest::getBool source code on BitBucket
-
Class JRequest
-
Subpackage Environment
- Other versions of JRequest::getBool
SeeAlso:JRequest::getBool [Edit See Also]
User contributed notes
Example
$ourresult = JRequest::getBool( 'inputcheckbox', false, 'post' );
<CodeExamplesForm />
