MediaWiki
REL1_35
EmailUserHook.php
Go to the documentation of this file.
1
<?php
2
3
namespace
MediaWiki\Hook
;
4
5
use
MailAddress
;
6
use
MessageSpecifier
;
7
use
Status
;
8
13
interface
EmailUserHook
{
27
public
function
onEmailUser
( &$to, &$from, &$subject, &$text, &$error );
28
}
MailAddress
Stores a single person's name and email address.
Definition
MailAddress.php:34
Status
Generic operation result class Has warning/error list, boolean status and arbitrary value.
Definition
Status.php:44
MediaWiki\Hook\EmailUserHook
Stable to implement.
Definition
EmailUserHook.php:13
MediaWiki\Hook\EmailUserHook\onEmailUser
onEmailUser(&$to, &$from, &$subject, &$text, &$error)
This hook is called before sending email from one user to another.
MessageSpecifier
Stable for implementing.
Definition
MessageSpecifier.php:24
MediaWiki\Hook
Definition
ActionBeforeFormDisplayHook.php:3
includes
specials
Hook
EmailUserHook.php
Generated on Sat Apr 6 2024 00:07:54 for MediaWiki by
1.9.8