API17

JHtmlJGrid::published: Difference between revisions

From Joomla! Documentation

m clean up
m preparing for archive only
 
Line 4: Line 4:
Returns a published state on a grid.  
Returns a published state on a grid.  


{{subst:Description:JHtmlJGrid::published}}
 


<source lang="php">
<source lang="php">
Line 68: Line 68:
* {{JVer|11.1}} Subpackage [[API17:Subpackage_Html|Html]]
* {{JVer|11.1}} Subpackage [[API17:Subpackage_Html|Html]]
* [[API17:JHtmlJGrid::published|Other versions of JHtmlJGrid::published]]
* [[API17:JHtmlJGrid::published|Other versions of JHtmlJGrid::published]]
{{subst:SeeAlso:JHtmlJGrid::published}}
 


===User contributed notes===
===User contributed notes===
<CodeExamplesForm />
=== Code Examples ===
<dpl>
<dpl>
noresultsheader=\n
noresultsheader=\n
category=JHtmlJGrid::published
category=JHtmlJGrid::published
category=CodeExample
namespace=CodeExample
category=MethodExample
category=MethodExample
include=*
include=*

Latest revision as of 03:12, 25 March 2017

Joomla 11.1 JHtmlJGrid::published

Description

Returns a published state on a grid.


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


User contributed notes

Code Examples