MediaWiki  master
MediaWiki\Hook\EmailUserCompleteHook Interface Reference

Stable to implement. More...

Inheritance diagram for MediaWiki\Hook\EmailUserCompleteHook:

Public Member Functions

 onEmailUserComplete ( $to, $from, $subject, $text)
 This hook is called after sending email from one user to another. More...
 

Detailed Description

Stable to implement.

Definition at line 11 of file EmailUserCompleteHook.php.

Member Function Documentation

◆ onEmailUserComplete()

MediaWiki\Hook\EmailUserCompleteHook::onEmailUserComplete (   $to,
  $from,
  $subject,
  $text 
)

This hook is called after sending email from one user to another.

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: