API17:JHtmlGrid::boolean
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.
JHtmlGrid::boolean
Description
Display a boolean setting widget.
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 (line 34)
- see source code in BitBucket
Referenced by
See also
Examples
<CodeExamplesForm />
