API17:JHtmlGrid::boolean
From Joomla! Documentation
JHtmlGrid::boolean
Description
Display a boolean setting widget.
Template:Description:JHtmlGrid::boolean [Edit Descripton]
Since
Synopsis
public static JHtmlGrid::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 in
libraries/joomla/html/html/grid.php
Referenced by
See also
Template:SeeAlso:JHtmlGrid::boolean
Examples
<CodeExamplesForm />