API17

API17:JHtmlJGrid::publishedOptions

From Joomla! Documentation

Joomla 11.1 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 Joomla 11.1

See also


User contributed notes

Code Examples