API17:JHtmlJGrid::published
From Joomla! Documentation
JHtmlJGrid::published
Description
Returns a published state on a grid.
Template:Description:JHtmlJGrid::published [Edit Descripton]
Since
Synopsis
public static JHtmlJGrid::published ($value, $i, $prefix= '', $enabled=true, $checkbox= 'cb', $publish_up=null, $publish_down=null)
| Parameter | Type | Default | Description |
|---|---|---|---|
| $value | int | The state value. | |
| $i | int | The row index | |
| $prefix | array | An optional task prefix or an array of options | |
| $enabled | boolean | true | An optional setting for access control on the action. |
| $checkbox | string | 'cb' | An optional prefix for checkboxes. |
| $publish_up | string | null | An optional start publishing date. |
| $publish_down | string | null | An optional finish publishing date. |
Returns
The Html code
Defined in
libraries/joomla/html/html/jgrid.php
Referenced by
See also
Template:SeeAlso:JHtmlJGrid::published
Examples
<CodeExamplesForm />