MediaWiki
REL1_37
UserGetRightsHook.php
Go to the documentation of this file.
1
<?php
2
3
namespace
MediaWiki\Permissions\Hook
;
4
5
use
User
;
6
14
interface
UserGetRightsHook
{
24
public
function
onUserGetRights
( $user, &$rights );
25
}
User
The User object encapsulates all of the user-specific settings (user_id, name, rights,...
Definition
User.php:69
MediaWiki\Permissions\Hook\UserGetRightsHook
This is a hook handler interface, see docs/Hooks.md.
Definition
UserGetRightsHook.php:14
MediaWiki\Permissions\Hook\UserGetRightsHook\onUserGetRights
onUserGetRights( $user, &$rights)
This hook is called in PermissionManager::getUserPermissions().
MediaWiki\Permissions\Hook
Definition
GetUserPermissionsErrorsExpensiveHook.php:3
includes
Permissions
Hook
UserGetRightsHook.php
Generated on Fri Apr 5 2024 23:40:42 for MediaWiki by
1.9.8