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:52
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:37
MediaWiki\Mail\Hook
Definition
EmailUserAuthorizeSendHook.php:3
includes
mail
Hook
EmailUserAuthorizeSendHook.php
Generated on Thu Feb 13 2025 09:24:57 for MediaWiki by
1.10.0