CoreFiles by mySites.guru
HiddenField.php42 lines, 910 bytes, from Joomla_5.2.2-Stable-Full_Package.zip
Raw History Compare with 5.2.1
md5
cec9a30c96f7ccd188090fd87031942f
sha1
90d8652ad965d83aaaf98b85e47c43b02f05ced3
sha256
eb76794a3ad0fa54793f03ea1f2092256a5f08181e7d603b59c8b54391caf40f
<?php

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

use Joomla\CMS\Form\FormField;

// phpcs:disable PSR1.Files.SideEffects
\defined('_JEXEC') or die;
// phpcs:enable PSR1.Files.SideEffects

/**
 * Form Field class for the Joomla Platform.
 * Provides a hidden field
 *
 * @link   https://html.spec.whatwg.org/multipage/input.html#hidden-state-(type=hidden)
 * @since  1.7.0
 */
class HiddenField extends FormField
{
    /**
     * The form field type.
     *
     * @var    string
     * @since  1.7.0
     */
    protected $type = 'Hidden';

    /**
     * Name of the layout being used to render the field
     *
     * @var    string
     * @since  3.7
     */
    protected $layout = 'joomla.form.field.hidden';
}

The same content is in 133 releases, Joomla 5.1.0-beta1 to 6.2.1-rc1. See them all, or every version of this file.