API17

API17:JHtmlGrid::boolean

From Joomla! Documentation

Joomla 11.1 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 Joomla 1.0

See also


User contributed notes

Code Examples