CoreFiles by mySites.guru
userstate.php41 lines, 781 bytes, from Joomla_3.2.5-Stable-Full_Package.zip
Raw History Compare with 3.2.4
md5
07281e41295b9987077c50c02090c56e
sha1
399206be7969bb3faf690e79ca365c6bce329082
sha256
cbef829aa398c826f817b4afc0a9026bc5f90181bd5ee8a848866590ba5fff88
<?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_BASE') 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 7 releases, Joomla 3.2.2 to 3.3.0. See them all, or every version of this file.