MediaWiki REL1_39
|
Defines the actions that can be blocked by a partial block. More...
Public Member Functions | |
__construct (HookContainer $hookContainer) | |
getActionFromId (int $actionId) | |
getAllBlockActions () | |
getIdFromAction (string $action) | |
Defines the actions that can be blocked by a partial block.
They are always blocked by a sitewide block.
NB: The terms "right" and "action" are often used to describe the same string, depending on the context. E.g. a querystring might contain 'action=edit', but the PermissionManager will refer to the 'edit' right.
Here, we use "action", since a user may be in a group that has a certain right, while also being blocked from performing that action.
Definition at line 40 of file BlockActionInfo.php.
MediaWiki\Block\BlockActionInfo::__construct | ( | HookContainer | $hookContainer | ) |
HookContainer | $hookContainer |
Definition at line 77 of file BlockActionInfo.php.
MediaWiki\Block\BlockActionInfo::getActionFromId | ( | int | $actionId | ) |
MediaWiki\Block\BlockActionInfo::getAllBlockActions | ( | ) |
Definition at line 90 of file BlockActionInfo.php.
MediaWiki\Block\BlockActionInfo::getIdFromAction | ( | string | $action | ) |
string | $action |
Definition at line 114 of file BlockActionInfo.php.