Actions

API17

Difference between revisions of "JHtmlJGrid::publishedOptions"

From Joomla! Documentation

(Bulk upload by Doxiki2)
 
(Updated to r1448:247ba8d88526)
(One intermediate revision by one user not shown)
Line 8: Line 8:
 
<nowiki>[</nowiki>[[Description:JHtmlJGrid::publishedOptions|Edit Descripton]]<nowiki>]</nowiki>
 
<nowiki>[</nowiki>[[Description:JHtmlJGrid::publishedOptions|Edit Descripton]]<nowiki>]</nowiki>
 
</span>
 
</span>
===Since===
 
{{JVer|11.1 }}
 
===Synopsis===
 
 
<source lang="php">
 
<source lang="php">
public static JHtmlJGrid::publishedOptions ($config=array())
+
public static function publishedOptions ($config=array())
 
</source>
 
</source>
 
{| class="wikitable"
 
{| class="wikitable"
Line 27: Line 24:
 
|-
 
|-
 
|}
 
|}
===Returns===
+
* '''Returns''' string The HTML code for the select tag
string The HTML code for the select tag
+
* '''Defined''' on line 228 of libraries/joomla/html/html/jgrid.php
===Defined in===
+
* '''Since''' {{JVer|11.1 }}
libraries/joomla/html/html/jgrid.php
+
===Referenced by===
+
 
===See also===
 
===See also===
 +
* {{JVer|11.1}} '''JHtmlJGrid::publishedOptions source code''' on [[jplatform:html/html/jgrid.php#cl-220|BitBucket]]
 +
* {{JVer|11.1}} Class [[JHtmlJGrid/11.1|JHtmlJGrid]]
 +
* {{JVer|11.1}} Subpackage [[Subpackage_Html/11.1|Html]]
 +
* [[JHtmlJGrid::publishedOptions|Other versions of JHtmlJGrid::publishedOptions]]
 +
{{SeeAlso:JHtmlJGrid::publishedOptions}}
 
<span class="editsection" style="font-size:76%;">
 
<span class="editsection" style="font-size:76%;">
 
<nowiki>[</nowiki>[[SeeAlso:JHtmlJGrid::publishedOptions|Edit See Also]]<nowiki>]</nowiki>
 
<nowiki>[</nowiki>[[SeeAlso:JHtmlJGrid::publishedOptions|Edit See Also]]<nowiki>]</nowiki>
 
</span>
 
</span>
* [[JHtmlJGrid/11.1|JHtmlJGrid]]
+
===User contributed notes===
* [[JHtmlJGrid::publishedOptions|Other versions of this method]]
+
{{SeeAlso:JHtmlJGrid::publishedOptions}}
+
===Examples===
+
 
<CodeExamplesForm />
 
<CodeExamplesForm />
 
<dpl>
 
<dpl>
Line 47: Line 44:
 
category=MethodExample
 
category=MethodExample
 
include=*
 
include=*
 +
namespace=CodeExample
 
format= ,,,
 
format= ,,,
 
</dpl>
 
</dpl>
 
<noinclude>[[Category:JHtmlJGrid]][[Category:JHtmlJGrid::publishedOptions]]</noinclude>
 
<noinclude>[[Category:JHtmlJGrid]][[Category:JHtmlJGrid::publishedOptions]]</noinclude>

Revision as of 21:07, 27 April 2011

Replacement filing cabinet.png
This Namespace has been archived - Please Do Not Edit or Create Pages in this namespace. Pages contain information for a Joomla! version which is no longer supported. It exists only as a historical reference, will not be improved and its content may be incomplete.

Joomla 11.1 JHtmlJGrid::publishedOptions

Description

Returns an array of standard published state filter options.

Description:JHtmlJGrid::publishedOptions [Edit Descripton]

public static function publishedOptions ($config=array())
Parameter Type Default Description
$config array array() An array of configuration options. This array can contain a list of key/value pairs where values are boolean and keys can be taken from 'published', 'unpublished', 'archived', 'trash', 'all'. These pairs determine which values are displayed.
  • Returns string The HTML code for the select tag
  • Defined on line 228 of libraries/joomla/html/html/jgrid.php
  • Since Joomla 11.1

See also

SeeAlso:JHtmlJGrid::publishedOptions [Edit See Also]

User contributed notes

<CodeExamplesForm />