MediaWiki
master
EmailUserAuthorizeSendHook.php
Go to the documentation of this file.
1
<?php
2
3
namespace
MediaWiki\Mail\Hook
;
4
5
use
MediaWiki\Permissions\Authority
;
6
use
StatusValue
;
7
16
interface
EmailUserAuthorizeSendHook
{
25
public
function
onEmailUserAuthorizeSend
(
Authority
$sender,
StatusValue
$status );
26
}
StatusValue
Generic operation result class Has warning/error list, boolean status and arbitrary value.
Definition
StatusValue.php:41
MediaWiki\Mail\Hook\EmailUserAuthorizeSendHook
This is a hook handler interface, see docs/Hooks.md.
Definition
EmailUserAuthorizeSendHook.php:16
MediaWiki\Mail\Hook\EmailUserAuthorizeSendHook\onEmailUserAuthorizeSend
onEmailUserAuthorizeSend(Authority $sender, StatusValue $status)
This hook is called when checking whether a user is allowed to send emails.
MediaWiki\Permissions\Authority
This interface represents the authority associated with the current execution context,...
Definition
Authority.php:23
MediaWiki\Mail\Hook
Definition
AlternateUserMailerHook.php:3
includes
Mail
Hook
EmailUserAuthorizeSendHook.php
Generated on Fri Jan 23 2026 17:26:45 for MediaWiki by
1.10.0