CoreFiles by mySites.guru
userstate.php39 lines, 727 bytes, from Joomla_3.7.3-Stable-Full_Package.zip
Raw History Compare with 3.7.2
md5
843501c61387ed10204b5f582a8ce73e
sha1
c971878ec8b224238af98d06b8177235fa9e5913
sha256
7729ca6e41cf37679c954dd87a7801d94184a2ca4e5b153ad68b33617f288901
<?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');

/**
 * Field to load a list of available users statuses
 *
 * @since  3.2
 */
class JFormFieldUserState extends JFormFieldPredefinedList
{
	/**
	 * 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 22 releases, Joomla 3.7.0-alpha2 to 3.7.5. See them all, or every version of this file.