API17:JHtmlJGrid::publishedOptions
From Joomla! Documentation
JHtmlJGrid::publishedOptions
Description
Returns an array of standard published state filter options.
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

See also
JHtmlJGrid::publishedOptions source code on BitBucket
Class JHtmlJGrid
Subpackage Html- Other versions of JHtmlJGrid::publishedOptions
User contributed notes
Code Examples