MediaWiki REL1_37
|
Backend class for unblocking users. More...
Public Member Functions | |
__construct (BlockPermissionCheckerFactory $blockPermissionCheckerFactory, DatabaseBlockStore $blockStore, BlockUtils $blockUtils, UserFactory $userFactory, HookContainer $hookContainer, $target, Authority $performer, string $reason, array $tags=[]) | |
unblock () | |
Unblock user. | |
unblockUnsafe () | |
Unblock user without any sort of permission checks. | |
Private Member Functions | |
log () | |
Log the unblock to Special:Log/block. | |
Private Attributes | |
DatabaseBlock null | $block |
BlockPermissionChecker | $blockPermissionChecker |
DatabaseBlockStore | $blockStore |
BlockUtils | $blockUtils |
HookRunner | $hookRunner |
Authority | $performer |
string | $reason |
array | $tags = [] |
UserIdentity string | $target |
int | $targetType |
UserFactory | $userFactory |
MediaWiki\Block\UnblockUser::__construct | ( | BlockPermissionCheckerFactory | $blockPermissionCheckerFactory, |
DatabaseBlockStore | $blockStore, | ||
BlockUtils | $blockUtils, | ||
UserFactory | $userFactory, | ||
HookContainer | $hookContainer, | ||
$target, | |||
Authority | $performer, | ||
string | $reason, | ||
array | $tags = [] |
||
) |
BlockPermissionCheckerFactory | $blockPermissionCheckerFactory | |
DatabaseBlockStore | $blockStore | |
BlockUtils | $blockUtils | |
UserFactory | $userFactory | |
HookContainer | $hookContainer | |
UserIdentity | string | $target | |
Authority | $performer | |
string | $reason | |
string[] | $tags |
Definition at line 85 of file UnblockUser.php.
References MediaWiki\Block\UnblockUser\$blockStore, MediaWiki\Block\UnblockUser\$blockUtils, MediaWiki\Block\UnblockUser\$performer, MediaWiki\Block\UnblockUser\$reason, MediaWiki\Block\UnblockUser\$tags, MediaWiki\Block\UnblockUser\$target, MediaWiki\Block\UnblockUser\$userFactory, MediaWiki\Block\BlockPermissionCheckerFactory\newBlockPermissionChecker(), MediaWiki\Block\DatabaseBlock\newFromTarget(), and MediaWiki\Block\Block\TYPE_AUTO.
|
private |
Log the unblock to Special:Log/block.
Definition at line 209 of file UnblockUser.php.
References NS_USER.
MediaWiki\Block\UnblockUser::unblock | ( | ) |
Unblock user.
Definition at line 127 of file UnblockUser.php.
References StatusValue\fatal().
MediaWiki\Block\UnblockUser::unblockUnsafe | ( | ) |
Unblock user without any sort of permission checks.
Definition at line 163 of file UnblockUser.php.
References StatusValue\fatal().
|
private |
Definition at line 63 of file UnblockUser.php.
|
private |
Definition at line 42 of file UnblockUser.php.
|
private |
Definition at line 45 of file UnblockUser.php.
Referenced by MediaWiki\Block\UnblockUser\__construct().
|
private |
Definition at line 48 of file UnblockUser.php.
Referenced by MediaWiki\Block\UnblockUser\__construct().
|
private |
Definition at line 54 of file UnblockUser.php.
|
private |
Definition at line 66 of file UnblockUser.php.
Referenced by MediaWiki\Block\UnblockUser\__construct().
|
private |
Definition at line 69 of file UnblockUser.php.
Referenced by MediaWiki\Block\UnblockUser\__construct().
|
private |
Definition at line 72 of file UnblockUser.php.
Referenced by MediaWiki\Block\UnblockUser\__construct().
|
private |
Definition at line 57 of file UnblockUser.php.
Referenced by MediaWiki\Block\UnblockUser\__construct().
|
private |
Definition at line 60 of file UnblockUser.php.
|
private |
Definition at line 51 of file UnblockUser.php.
Referenced by MediaWiki\Block\UnblockUser\__construct().