MediaWiki  master
ApiCheckCanExecuteHook.php
Go to the documentation of this file.
1 <?php
2 
3 namespace MediaWiki\Api\Hook;
4 
5 use ApiBase;
6 use IApiMessage;
7 use Message;
8 use User;
9 
35  public function onApiCheckCanExecute( $module, $user, &$message );
36 }
MediaWiki\Api\Hook\ApiCheckCanExecuteHook\onApiCheckCanExecute
onApiCheckCanExecute( $module, $user, &$message)
This hook is called during ApiMain::checkCanExecute.
MediaWiki\Api\Hook
Definition: APIAfterExecuteHook.php:3
IApiMessage
Interface for messages with machine-readable data for use by the API.
Definition: IApiMessage.php:39
ApiBase
This abstract class implements many basic API functions, and is the base of all API classes.
Definition: ApiBase.php:55
MediaWiki\Api\Hook\ApiCheckCanExecuteHook
This is a hook handler interface, see docs/Hooks.md.
Definition: ApiCheckCanExecuteHook.php:17
Message
The Message class deals with fetching and processing of interface message into a variety of formats.
Definition: Message.php:138
User
The User object encapsulates all of the user-specific settings (user_id, name, rights,...
Definition: User.php:68