public static function publishedOptions($config = array())
	{
		// Build the active state filter options.
		$options = array();
		if (!array_key_exists('published', $config) || $config['published'])
		{
			$options[] = Select::option('1', 'JPUBLISHED');
		}
		if (!array_key_exists('unpublished', $config) || $config['unpublished'])
		{
			$options[] = Select::option('0', 'JUNPUBLISHED');
		}
		if (!array_key_exists('archived', $config) || $config['archived'])
		{
			$options[] = Select::option('2', 'JARCHIVED');
		}
		if (!array_key_exists('trash', $config) || $config['trash'])
		{
			$options[] = Select::option('-2', 'JTRASHED');
		}
		if (!array_key_exists('all', $config) || $config['all'])
		{
			$options[] = Select::option('*', 'JALL');
		}
		return $options;
	}
public static function publishedOptions($config = array())
	{
		// Build the active state filter options.
		$options = array();
		if (!array_key_exists('published', $config) || $config['published'])
		{
			$options[] = Select::option('1', 'JPUBLISHED');
		}
		if (!array_key_exists('unpublished', $config) || $config['unpublished'])
		{
			$options[] = Select::option('0', 'JUNPUBLISHED');
		}
		if (!array_key_exists('archived', $config) || $config['archived'])
		{
			$options[] = Select::option('2', 'JARCHIVED');
		}
		if (!array_key_exists('trash', $config) || $config['trash'])
		{
			$options[] = Select::option('-2', 'JTRASHED');
		}
		if (!array_key_exists('all', $config) || $config['all'])
		{
			$options[] = Select::option('*', 'JALL');
		}
		return $options;
	}
public static function publishedOptions ( $ config = array ( ) ) { // Build the active state filter options. $ options = array ( ) ; if ( ! array_key_exists ( 'published' , $ config ) || $ config [ 'published' ] ) { $ options [ ] = Select :: option ( '1' , 'JPUBLISHED' ) ; } if ( ! array_key_exists ( 'unpublished' , $ config ) || $ config [ 'unpublished' ] ) { $ options [ ] = Select :: option ( '0' , 'JUNPUBLISHED' ) ; } if ( ! array_key_exists ( 'archived' , $ config ) || $ config [ 'archived' ] ) { $ options [ ] = Select :: option ( '2' , 'JARCHIVED' ) ; } if ( ! array_key_exists ( 'trash' , $ config ) || $ config [ 'trash' ] ) { $ options [ ] = Select :: option ( '-2' , 'JTRASHED' ) ; } if ( ! array_key_exists ( 'all' , $ config ) || $ config [ 'all' ] ) { $ options [ ] = Select :: option ( '*' , 'JALL' ) ; } return $ options ; }
Returns an array of standard published state filter options.

@param   array   $config  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.
@return  string  The HTML code for the select tag
Returns an array of standard published state filter options .