API17

JHtmlJGrid::published

From Joomla! Documentation

Revision as of 20:42, 23 April 2011 by Doxiki2 (talk | contribs) (Layout updates)
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

The "API17" namespace is an archived namespace. This page contains information for a Joomla! version which is no longer supported. It exists only as a historical reference, it will not be improved and its content may be incomplete and/or contain broken links.

Joomla 11.1 JHtmlJGrid::published[edit]

Description[edit]

Returns a published state on a grid.

Template:Description:JHtmlJGrid::published [Edit Descripton]

Since[edit]

Joomla 11.1

Synopsis[edit]

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[edit]

The Html code

Defined in[edit]

libraries/joomla/html/html/jgrid.php (line 122)

Referenced by[edit]

See also[edit]

[Edit See Also]

Template:SeeAlso:JHtmlJGrid::published

Examples[edit]

<CodeExamplesForm />