CoreFiles by mySites.guru
BeforeRenderingMailTemplateEvent.php30 lines, 767 bytes, from Joomla_5.2.5-Stable-Full_Package.zip
Raw History Compare with 5.2.4
md5
85b3a10fb02a39392088c4f67ba9c54e
sha1
cf4caab7096caa4677d9a9c439e0590aff7b871f
sha256
ef94b6cfa999633cffb931d670127928cd76d4e00569bffc27542911ed49d6dd
<?php

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

namespace Joomla\CMS\Event\Mail;

/**
 * Class for MailTemplate events
 * Example:
 *   new BeforeRenderingMailTemplateEvent('onEventName', ['templateId' => 'com_example.template', 'subject' => $mailTemplateInstance]);
 *
 * @since  5.2.0
 */
class BeforeRenderingMailTemplateEvent extends MailTemplateEvent
{
    /**
     * The argument names, in order expected by legacy plugins.
     *
     * @var array
     *
     * @since  5.2.0
     * @deprecated 5.2.0 will be removed in 6.0
     */
    protected $legacyArgumentsOrder = ['templateId', 'subject'];
}

The same content is in 40 releases, Joomla 5.2.0-beta2 to 6.0.0-alpha3. See them all, or every version of this file.