MediaWiki
REL1_35
GetUserBlockHook.php
Go to the documentation of this file.
1
<?php
2
3
namespace
MediaWiki\Block\Hook
;
4
5
use
MediaWiki\Block\AbstractBlock
;
6
use
User
;
7
12
interface
GetUserBlockHook
{
26
public
function
onGetUserBlock
( $user, $ip, &$block );
27
}
MediaWiki\Block\AbstractBlock
Definition
AbstractBlock.php:38
User
The User object encapsulates all of the user-specific settings (user_id, name, rights,...
Definition
User.php:60
MediaWiki\Block\Hook\GetUserBlockHook
Stable to implement.
Definition
GetUserBlockHook.php:12
MediaWiki\Block\Hook\GetUserBlockHook\onGetUserBlock
onGetUserBlock( $user, $ip, &$block)
Use this hook to modify the block found by the block manager.
MediaWiki\Block\Hook
Definition
AbortAutoblockHook.php:3
includes
block
Hook
GetUserBlockHook.php
Generated on Sat Apr 6 2024 00:06:57 for MediaWiki by
1.9.8