JHtmlJGrid::published
Returns a published state on a grid
Signature
public function published(integer
$value,
[integer
$i = '',
[string|array
$prefix = '',
[boolean
$enabled = true,
[string
$checkbox = 'cb',
[string
$publish_up = null,
[string
$publish_down = null]]]]]] )
Parameters
-
$value
- The state value.
-
$i
- The row index
-
$prefix
- An optional task prefix or an array of options
-
$enabled
- An optional setting for access control on the action.
-
$checkbox
- An optional prefix for checkboxes.
-
$publish_up
- An optional start publishing date.
-
$publish_down
- An optional finish publishing date.
Returns
- string
- The HTML markup