CoreFiles by mySites.guru
UserstateField.php38 lines, 685 bytes, from Joomla_4.0.0-alpha12-Alpha-Full_Package.zip
Raw History Compare with 4.0.0-alpha11
md5
86536af432ea7bd294df454c649a7e4f
sha1
73cb63d7025abf2755977073d033926dfcf983d8
sha256
3a6ecb113f6ae40194c54dfdbe25b42c29d50e69e6ac267d7e9ee0e993b3eb66
<?php
/**
 * Joomla! Content Management System
 *
 * @copyright  Copyright (C) 2005 - 2019 Open Source Matters, Inc. All rights reserved.
 * @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',
	);
}

No other release has this exact content. See every version of this file.