MediaWiki
REL1_35
UnblockUserHook.php
Go to the documentation of this file.
1
<?php
2
3
namespace
MediaWiki\Hook
;
4
5
use
MediaWiki\Block\DatabaseBlock
;
6
use
User
;
7
12
interface
UnblockUserHook
{
23
public
function
onUnblockUser
( $block, $user, &$reason );
24
}
MediaWiki\Block\DatabaseBlock
A DatabaseBlock (unlike a SystemBlock) is stored in the database, may give rise to autoblocks and may...
Definition
DatabaseBlock.php:54
User
The User object encapsulates all of the user-specific settings (user_id, name, rights,...
Definition
User.php:60
MediaWiki\Hook\UnblockUserHook
Stable to implement.
Definition
UnblockUserHook.php:12
MediaWiki\Hook\UnblockUserHook\onUnblockUser
onUnblockUser( $block, $user, &$reason)
This hook is called before an IP address or user is unblocked.
MediaWiki\Hook
Definition
ActionBeforeFormDisplayHook.php:3
includes
specials
Hook
UnblockUserHook.php
Generated on Sat Apr 6 2024 00:07:55 for MediaWiki by
1.9.8