API17

Difference between revisions of "JHtmlJGrid::published"

From Joomla! Documentation

(Layout updates)
(Updated to r1448:247ba8d88526)
Line 8: Line 8:
 
<nowiki>[</nowiki>[[Description:JHtmlJGrid::published|Edit Descripton]]<nowiki>]</nowiki>
 
<nowiki>[</nowiki>[[Description:JHtmlJGrid::published|Edit Descripton]]<nowiki>]</nowiki>
 
</span>
 
</span>
===Since===
 
{{JVer|11.1 }}
 
===Synopsis===
 
 
<source lang="php">
 
<source lang="php">
public static JHtmlJGrid::published ($value, $i, $prefix= '', $enabled=true, $checkbox= 'cb', $publish_up=null, $publish_down=null)
+
public static function published (
 +
        $value
 +
        $i
 +
        $prefix= ''
 +
        $enabled=true
 +
        $checkbox= 'cb'
 +
        $publish_up=null
 +
        $publish_down=null
 +
)
 
</source>
 
</source>
 
{| class="wikitable"
 
{| class="wikitable"
Line 57: Line 62:
 
|-
 
|-
 
|}
 
|}
===Returns===
+
* '''Returns''' The Html code
The Html code
+
* '''Defined''' on line 122 of libraries/joomla/html/html/jgrid.php
===Defined in===
+
* '''Since''' {{JVer|11.1 }}
libraries/joomla/html/html/jgrid.php (line 122)
 
* see source code in [[jplatform:html/html/jgrid.php#cl-122|BitBucket]]
 
===Referenced by===
 
 
===See also===
 
===See also===
 +
* {{JVer|11.1}} '''JHtmlJGrid::published source code''' on [[jplatform:html/html/jgrid.php#cl-114|BitBucket]]
 +
* {{JVer|11.1}} Class [[JHtmlJGrid/11.1|JHtmlJGrid]]
 +
* {{JVer|11.1}} Subpackage [[Subpackage_Html/11.1|Html]]
 +
* [[JHtmlJGrid::published|Other versions of JHtmlJGrid::published]]
 +
{{SeeAlso:JHtmlJGrid::published}}
 
<span class="editsection" style="font-size:76%;">
 
<span class="editsection" style="font-size:76%;">
 
<nowiki>[</nowiki>[[SeeAlso:JHtmlJGrid::published|Edit See Also]]<nowiki>]</nowiki>
 
<nowiki>[</nowiki>[[SeeAlso:JHtmlJGrid::published|Edit See Also]]<nowiki>]</nowiki>
 
</span>
 
</span>
* [[JHtmlJGrid/11.1|JHtmlJGrid]]
+
===User contributed notes===
* [[JHtmlJGrid::published|Other versions of this method]]
 
{{SeeAlso:JHtmlJGrid::published}}
 
===Examples===
 
 
<CodeExamplesForm />
 
<CodeExamplesForm />
 
<dpl>
 
<dpl>
Line 78: Line 82:
 
category=MethodExample
 
category=MethodExample
 
include=*
 
include=*
 +
namespace=CodeExample
 
format= ,,,
 
format= ,,,
 
</dpl>
 
</dpl>
 
<noinclude>[[Category:JHtmlJGrid]][[Category:JHtmlJGrid::published]]</noinclude>
 
<noinclude>[[Category:JHtmlJGrid]][[Category:JHtmlJGrid::published]]</noinclude>

Revision as of 21:07, 27 April 2011

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 />