MediaWiki
REL1_37
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
15
interface
GetUserBlockHook
{
29
public
function
onGetUserBlock
( $user, $ip, &$block );
30
}
MediaWiki\Block\AbstractBlock
Definition
AbstractBlock.php:37
User
The User object encapsulates all of the user-specific settings (user_id, name, rights,...
Definition
User.php:69
MediaWiki\Block\Hook\GetUserBlockHook
This is a hook handler interface, see docs/Hooks.md.
Definition
GetUserBlockHook.php:15
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 Fri Apr 5 2024 23:40:05 for MediaWiki by
1.9.8