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