MediaWiki
REL1_37
UserResetAllOptionsHook.php
Go to the documentation of this file.
1
<?php
2
3
namespace
MediaWiki\User\Hook
;
4
5
use
User
;
6
14
interface
UserResetAllOptionsHook
{
31
public
function
onUserResetAllOptions
(
32
$user,
33
&$newOptions,
34
$options,
35
$resetKinds
36
);
37
}
User
The User object encapsulates all of the user-specific settings (user_id, name, rights,...
Definition
User.php:69
MediaWiki\User\Hook\UserResetAllOptionsHook
This is a hook handler interface, see docs/Hooks.md.
Definition
UserResetAllOptionsHook.php:14
MediaWiki\User\Hook\UserResetAllOptionsHook\onUserResetAllOptions
onUserResetAllOptions( $user, &$newOptions, $options, $resetKinds)
This hook is called when user preferences have been requested to be reset.
MediaWiki\User\Hook
Definition
AutopromoteConditionHook.php:3
includes
user
Hook
UserResetAllOptionsHook.php
Generated on Fri Apr 5 2024 23:41:05 for MediaWiki by
1.9.8