|
MediaWiki master
|
Inherited by MediaWiki\Block\UserBlockCommandFactory.
Public Member Functions | |
| newBlockUser ( $target, Authority $performer, string $expiry, string $reason='', array $blockOptions=[], array $blockRestrictions=[], $tags=[]) | |
| Create BlockUser. | |
| newUpdateBlock (DatabaseBlock $block, Authority $performer, string $expiry, string $reason='', array $blockOptions=[], array $blockRestrictions=[], $tags=[]) | |
| Create a BlockUser which updates a specified block. | |
Definition at line 16 of file BlockUserFactory.php.
| MediaWiki\Block\BlockUserFactory::newBlockUser | ( | $target, | |
| Authority | $performer, | ||
| string | $expiry, | ||
| string | $reason = '', | ||
| array | $blockOptions = [], | ||
| array | $blockRestrictions = [], | ||
| $tags = [] ) |
Create BlockUser.
| BlockTarget | 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 | |
| array | $blockRestrictions | |
| array | null | $tags | Tags that should be assigned to the log entry |
Implemented in MediaWiki\Block\UserBlockCommandFactory.
| MediaWiki\Block\BlockUserFactory::newUpdateBlock | ( | DatabaseBlock | $block, |
| Authority | $performer, | ||
| string | $expiry, | ||
| string | $reason = '', | ||
| array | $blockOptions = [], | ||
| array | $blockRestrictions = [], | ||
| $tags = [] ) |
Create a BlockUser which updates a specified block.
| DatabaseBlock | $block | The block to update |
| Authority | $performer | Performer of the block |
| string | $expiry | Expiry of the block (timestamp or 'infinity') |
| string | $reason | Reason of the block |
| array | $blockOptions | |
| array | $blockRestrictions | |
| array | null | $tags | Tags that should be assigned to the log entry |
Implemented in MediaWiki\Block\UserBlockCommandFactory.