CoreFiles by mySites.guru
status.php42 lines, 774 bytes, from Joomla_3.7.5-Stable-Full_Package.zip
Raw History Compare with 3.7.4
md5
92bf0ca6f4458dc9daa79d13edb0ba34
sha1
094b458e278bf762a88c8908ebdd28041f704c86
sha256
8c1917a97b7bd600f61921c02e443c4381cb4a03c0e9f7189eec4d989953897e
<?php
/**
 * @package     Joomla.Libraries
 * @subpackage  Form
 *
 * @copyright   Copyright (C) 2005 - 2017 Open Source Matters, Inc. All rights reserved.
 * @license     GNU General Public License version 2 or later; see LICENSE.txt
 */

defined('JPATH_PLATFORM') or die;

JFormHelper::loadFieldClass('predefinedlist');

/**
 * Form Field to load a list of states
 *
 * @since  3.2
 */
class JFormFieldStatus extends JFormFieldPredefinedList
{
	/**
	 * The form field type.
	 *
	 * @var    string
	 * @since  3.2
	 */
	public $type = 'Status';

	/**
	 * Available statuses
	 *
	 * @var  array
	 * @since  3.2
	 */
	protected $predefinedOptions = array(
		'-2' =>	'JTRASHED',
		'0'  => 'JUNPUBLISHED',
		'1'  => 'JPUBLISHED',
		'2'  => 'JARCHIVED',
		'*'  => 'JALL',
	);
}

The same content is in 8 releases, Joomla 3.7.3-beta1 to 3.7.5. See them all, or every version of this file.