MediaWiki  master
EmailUserPermissionsErrorsHook.php
Go to the documentation of this file.
1 <?php
2 
3 namespace MediaWiki\Hook;
4 
5 use User;
6 
23  public function onEmailUserPermissionsErrors( $user, $editToken, &$hookErr );
24 }
MediaWiki\Hook
Definition: ActionBeforeFormDisplayHook.php:3
MediaWiki\Hook\EmailUserPermissionsErrorsHook
Stable to implement.
Definition: EmailUserPermissionsErrorsHook.php:11
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:55