MediaWiki
REL1_39
SaveUserOptionsHook.php
Go to the documentation of this file.
1
<?php
2
3
namespace
MediaWiki\User\Options\Hook
;
4
5
use
MediaWiki\User\UserIdentity
;
6
14
interface
SaveUserOptionsHook
{
33
public
function
onSaveUserOptions
(
UserIdentity
$user, array &$modifiedOptions, array $originalOptions );
34
}
MediaWiki\User\Options\Hook\SaveUserOptionsHook
This is a hook handler interface, see docs/Hooks.md.
Definition
SaveUserOptionsHook.php:14
MediaWiki\User\Options\Hook\SaveUserOptionsHook\onSaveUserOptions
onSaveUserOptions(UserIdentity $user, array &$modifiedOptions, array $originalOptions)
This hook is called just before saving user preferences.
MediaWiki\User\UserIdentity
Interface for objects representing user identity.
Definition
UserIdentity.php:39
MediaWiki\User\Options\Hook
Definition
LoadUserOptionsHook.php:3
includes
user
Options
Hook
SaveUserOptionsHook.php
Generated on Mon Dec 16 2024 06:36:44 for MediaWiki by
1.10.0