CoreFiles by mySites.guru
RedirectStatusField.php40 lines, 764 bytes, from Joomla_4.2.0-Stable-Full_Package.zip
Raw History Compare with 4.1.5
md5
bd3de143a11f58a36a4986b46997a2a9
sha1
c4d302eb86077748630ceb43f5611310b319aec6
sha256
bfb756b2a3541623078b9ebd468fdce30f5aa597e9d42a9251526d450eaf2375
<?php

/**
 * Joomla! Content Management System
 *
 * @copyright  (C) 2017 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;

/**
 * Redirect Status field.
 *
 * @since  3.8.0
 */
class RedirectStatusField extends PredefinedlistField
{
    /**
     * The form field type.
     *
     * @var    string
     * @since  3.8.0
     */
    public $type = 'Redirect_Status';

    /**
     * Available statuses
     *
     * @var  array
     * @since  3.8.0
     */
    protected $predefinedOptions = array(
        '-2' => 'JTRASHED',
        '0'  => 'JDISABLED',
        '1'  => 'JENABLED',
        '2'  => 'JARCHIVED',
        '*'  => 'JALL',
    );
}

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.