MediaWiki  master
EmailUserPermissionsErrorsHook.php
Go to the documentation of this file.
1 <?php
2 
3 namespace MediaWiki\Hook;
4 
5 use User;
6 
26  public function onEmailUserPermissionsErrors( $user, $editToken, &$hookErr );
27 }
MediaWiki\Hook
Definition: ActionBeforeFormDisplayHook.php:3
MediaWiki\Hook\EmailUserPermissionsErrorsHook
This is a hook handler interface, see docs/Hooks.md.
Definition: EmailUserPermissionsErrorsHook.php:14
MediaWiki\Hook\EmailUserPermissionsErrorsHook\onEmailUserPermissionsErrors
onEmailUserPermissionsErrors( $user, $editToken, &$hookErr)
Use this hook to retrieve permissions errors for emailing a user.
User
The User object encapsulates all of the user-specific settings (user_id, name, rights,...
Definition: User.php:56