CoreFiles by mySites.guru
userstate.php41 lines, 785 bytes, from Joomla_3.3.4-Stable-Full_Package.zip
Raw History Compare with 3.3.3
md5
602673f9a6af95b405173b971887bd51
sha1
da99a6fa22f51f200ebc8135eedf1b2d7c1b8ed7
sha256
470d9f2f3c8459c7f63aa46719ce7121b065ba8cddc48bc8a64ba7625f20df65
<?php
/**
 * @package     Joomla.Libraries
 * @subpackage  Form
 *
 * @copyright   Copyright (C) 2005 - 2014 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
 *
 * @package     Joomla.Libraries
 * @subpackage  Form
 * @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 6 releases, Joomla 3.3.1 to 3.3.6. See them all, or every version of this file.