API17:JHtmlGrid::boolean
From Joomla! Documentation
JHtmlGrid::boolean
Description
Display a boolean setting widget.
public static function boolean (
$i
$value
$taskOn=null
$taskOff=null
)
Parameter | Type | Default | Description |
---|---|---|---|
$i | integer | The row index. | |
$value | integer | The value of the boolean field. | |
$taskOn | string | null | Task to turn the boolean setting on. |
$taskOff | string | null | Task to turn the boolean setting off. |
- Returns string The boolean setting widget.
- Defined on line 34 of libraries/joomla/html/html/grid.php
- Since
See also
JHtmlGrid::boolean source code on BitBucket
Class JHtmlGrid
Subpackage Html
- Other versions of JHtmlGrid::boolean
User contributed notes
Code Examples