MediaWiki  master
UnblockUserHook.php
Go to the documentation of this file.
1 <?php
2 
3 namespace MediaWiki\Hook;
4 
6 use User;
7 
15 interface UnblockUserHook {
26  public function onUnblockUser( $block, $user, &$reason );
27 }
MediaWiki\Hook
Definition: ActionBeforeFormDisplayHook.php:3
MediaWiki\Hook\UnblockUserHook
This is a hook handler interface, see docs/Hooks.md.
Definition: UnblockUserHook.php:15
MediaWiki\Block\DatabaseBlock
A DatabaseBlock (unlike a SystemBlock) is stored in the database, may give rise to autoblocks and may...
Definition: DatabaseBlock.php:50
MediaWiki\Hook\UnblockUserHook\onUnblockUser
onUnblockUser( $block, $user, &$reason)
This hook is called before an IP address or user is unblocked.
User
The User object encapsulates all of the user-specific settings (user_id, name, rights,...
Definition: User.php:63