CoreFiles by mySites.guru
UserstateField.php37 lines, 697 bytes, from Joomla_4.2.0-Stable-Full_Package.zip
Raw History Compare with 4.1.5
md5
19a508de2da9f99d2030039e0af2be73
sha1
bef52215e5628ef8064e99612fba61f10679a80a
sha256
48047ca5188e7ff68224f3ebe08c10fac45df3c6b4f32dbc3787bfc1a2853e90
<?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;

/**
 * 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 5 releases, Joomla 4.2.0-beta3 to 4.2.1-rc2. See them all, or every version of this file.