MediaWiki
REL1_35
ApiOptionsHook.php
Go to the documentation of this file.
1
<?php
2
3
namespace
MediaWiki\Api\Hook
;
4
5
use
ApiOptions
;
6
use
User
;
7
12
interface
ApiOptionsHook
{
26
public
function
onApiOptions
( $apiModule, $user, $changes, $resetKinds );
27
}
ApiOptions
API module that facilitates the changing of user's preferences.
Definition
ApiOptions.php:31
User
The User object encapsulates all of the user-specific settings (user_id, name, rights,...
Definition
User.php:60
MediaWiki\Api\Hook\ApiOptionsHook
Stable to implement.
Definition
ApiOptionsHook.php:12
MediaWiki\Api\Hook\ApiOptionsHook\onApiOptions
onApiOptions( $apiModule, $user, $changes, $resetKinds)
This hook is called by action=options before applying changes to user preferences.
MediaWiki\Api\Hook
Definition
APIAfterExecuteHook.php:3
includes
api
Hook
ApiOptionsHook.php
Generated on Sat Apr 6 2024 00:06:55 for MediaWiki by
1.9.8