CoreFiles by mySites.guru
NormaliseRequestDataEvent.php34 lines, 864 bytes, from Joomla_6.0.0-alpha3-Alpha-Full_Package.zip
Raw History Compare with 6.0.0-alpha2
md5
5556cc75c0f726c073bb33203a98944c
sha1
d7578c471016ef65229347a29c66537e644c0bcf
sha256
729935a262c074824db1e0f6ff39c128fb294486f193cb95d3c33928763978c7
<?php

/**
 * Joomla! Content Management System
 *
 * @copyright  (C) 2023 Open Source Matters, Inc. <https://www.joomla.org>
 * @license    GNU General Public License version 2 or later; see LICENSE.txt
 */

namespace Joomla\CMS\Event\Model;

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

/**
 * Class for Model Form event.
 * Example:
 *  new NormaliseRequestDataEvent('onEventName', ['context' => 'com_example.example', 'data' => $data, 'subject' => $form]);
 *
 * @since  5.0.0
 */
class NormaliseRequestDataEvent extends BeforeValidateDataEvent
{
    /**
     * The argument names, in order expected by legacy plugins.
     *
     * @var array
     *
     * @since  5.0.0
     * @deprecated 5.0 will be removed in 6.0
     */
    protected $legacyArgumentsOrder = ['context', 'data', 'subject'];
}

The same content is in 79 releases, Joomla 5.0.0-alpha4 to 6.0.0-alpha3. See them all, or every version of this file.