From Joomla! Documentation

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::publishedOptions


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

  • Joomla 11.1 JHtmlJGrid::publishedOptions source code on BitBucket
  • Joomla 11.1 Class JHtmlJGrid
  • Joomla 11.1 Subpackage Html
  • Other versions of JHtmlJGrid::publishedOptions

User contributed notes

Code Examples