MediaWiki
REL1_35
UserGetRightsHook.php
Go to the documentation of this file.
1
<?php
2
3
namespace
MediaWiki\Permissions\Hook
;
4
5
use
User
;
6
11
interface
UserGetRightsHook
{
21
public
function
onUserGetRights
( $user, &$rights );
22
}
User
The User object encapsulates all of the user-specific settings (user_id, name, rights,...
Definition
User.php:60
MediaWiki\Permissions\Hook\UserGetRightsHook
Stable to implement.
Definition
UserGetRightsHook.php:11
MediaWiki\Permissions\Hook\UserGetRightsHook\onUserGetRights
onUserGetRights( $user, &$rights)
This hook is called in User::getRights().
MediaWiki\Permissions\Hook
Definition
GetUserPermissionsErrorsExpensiveHook.php:3
includes
Permissions
Hook
UserGetRightsHook.php
Generated on Sat Apr 6 2024 00:07:39 for MediaWiki by
1.9.8