JHtmlModules::state
Returns a published state on a grid
Signature
public function state(integer
$value,
[integer
$i = true,
[boolean
$enabled = true,
[string
$checkbox = 'cb']]] )
Parameters
-
$value
- The state value.
-
$i
- The row index
-
$enabled
- An optional setting for access control on the action.
-
$checkbox
- An optional prefix for checkboxes.
Returns
- string
- The Html code