MediaWiki REL1_35
MediaWiki\Hook\EmailUserCCHook Interface Reference

Stable to implement. More...

Inheritance diagram for MediaWiki\Hook\EmailUserCCHook:

Public Member Functions

 onEmailUserCC (&$to, &$from, &$subject, &$text)
 This hook is called before sending the copy of the email to the author.
 

Detailed Description

Stable to implement.

Definition at line 11 of file EmailUserCCHook.php.

Member Function Documentation

◆ onEmailUserCC()

MediaWiki\Hook\EmailUserCCHook::onEmailUserCC ( $to,
$from,
$subject,
$text 
)

This hook is called before sending the copy of the email to the author.

Since
1.35
Parameters
MailAddress&$toMailAddress object of receiving user
MailAddress&$fromMailAddress object of sending user
string&$subjectSubject of the mail
string&$textText of the mail
Returns
bool|void True or no return value to continue or false to abort

Implemented in MediaWiki\HookContainer\HookRunner.


The documentation for this interface was generated from the following file: