CoreFiles by mySites.guru
BeforeRenderingMailTemplateEvent.php30 lines, 767 bytes, from Joomla_5.4.2-Stable-Full_Package.zip
Raw History Compare with 5.4.1
md5
5f828efb9e0f6ac97c4d65566aef9912
sha1
87352124009f0964f10b9d6fc533b67b62b855f7
sha256
19ebbbbe5294e1ac095b12b832bb8af34a1d45f9cc987b11198ba9ef3609159a
<?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 7.0
     */
    protected $legacyArgumentsOrder = ['templateId', 'subject'];
}

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