CoreFiles by mySites.guru
UserstateField.php38 lines, 672 bytes, from Joomla_4.1.5-Stable-Full_Package.zip
Raw History Compare with 4.1.4
md5
1a8c8d035e38941218b574fb442d7e27
sha1
747390afc81becc1cb334fdbcc0d72f7c4af4d3f
sha256
539555a3050a53e4029f6225a27a708fc868551706323c7c6927fe0a6d43a08a
<?php
/**
 * Joomla! Content Management System
 *
 * @copyright  (C) 2013 Open Source Matters, Inc. <https://www.joomla.org>
 * @license    GNU General Public License version 2 or later; see LICENSE.txt
 */

namespace Joomla\CMS\Form\Field;

\defined('JPATH_PLATFORM') or die;

/**
 * Field to load a list of available users statuses
 *
 * @since  3.2
 */
class UserstateField extends PredefinedlistField
{
	/**
	 * The form field type.
	 *
	 * @var		string
	 * @since   3.2
	 */
	protected $type = 'UserState';

	/**
	 * Available statuses
	 *
	 * @var  array
	 * @since  3.2
	 */
	protected $predefinedOptions = array(
		'0'  => 'JENABLED',
		'1'  => 'JDISABLED',
	);
}

The same content is in 51 releases, Joomla 4.0.0-beta6 to 4.2.0-beta2. See them all, or every version of this file.