MediaWiki fundraising/REL1_35
EmailUserHook.php
Go to the documentation of this file.
1<?php
2
3namespace MediaWiki\Hook;
4
7use Status;
8
13interface EmailUserHook {
27 public function onEmailUser( &$to, &$from, &$subject, &$text, &$error );
28}
Stores a single person's name and email address.
Generic operation result class Has warning/error list, boolean status and arbitrary value.
Definition Status.php:44
onEmailUser(&$to, &$from, &$subject, &$text, &$error)
This hook is called before sending email from one user to another.
Stable for implementing.