API17

Difference between revisions of "JHtmlJGrid::published"

From Joomla! Documentation

(Updated to r1448:247ba8d88526)
m (JoomlaWikiBot moved page JHtmlJGrid::published/11.1 to API17:JHtmlJGrid::published without leaving a redirect: Robot: Moved page)
(No difference)

Revision as of 18:46, 10 May 2013

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]

public static function 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 on line 122 of libraries/joomla/html/html/jgrid.php
  • Since Joomla 11.1

See also[edit]

Template:SeeAlso:JHtmlJGrid::published [Edit See Also]

User contributed notes[edit]

<CodeExamplesForm />