MediaWiki REL1_37
|
Public Member Functions | |
newBlockUser ( $target, Authority $performer, string $expiry, string $reason='', array $blockOptions=[], array $blockRestrictions=[], $tags=[]) | |
Create BlockUser. | |
Definition at line 30 of file BlockUserFactory.php.
MediaWiki\Block\BlockUserFactory::newBlockUser | ( | $target, | |
Authority | $performer, | ||
string | $expiry, | ||
string | $reason = '' , |
||
array | $blockOptions = [] , |
||
array | $blockRestrictions = [] , |
||
$tags = [] |
|||
) |
Create BlockUser.
string | UserIdentity | $target | Target of the block |
Authority | $performer | Performer of the block |
string | $expiry | Expiry of the block (timestamp or 'infinity') |
string | $reason | Reason of the block |
array | $blockOptions | Block options |
array | $blockRestrictions | Block restrictions |
array | null | $tags | Tags that should be assigned to the log entry |
Implemented in MediaWiki\Block\UserBlockCommandFactory.
Referenced by SpecialBlock\processFormInternal().