MediaWiki
master
ApiCheckCanExecuteHook.php
Go to the documentation of this file.
1
<?php
2
3
namespace
MediaWiki\Api\Hook
;
4
5
use
MediaWiki\Api\ApiBase
;
6
use
MediaWiki\Api\IApiMessage
;
7
use
MediaWiki\Message\Message
;
8
use
MediaWiki\User\User
;
9
17
interface
ApiCheckCanExecuteHook
{
35
public
function
onApiCheckCanExecute
( $module, $user, &$message );
36
}
MediaWiki\Api\ApiBase
This abstract class implements many basic API functions, and is the base of all API classes.
Definition
ApiBase.php:76
MediaWiki\Message\Message
The Message class deals with fetching and processing of interface message into a variety of formats.
Definition
Message.php:155
MediaWiki\User\User
internal since 1.36
Definition
User.php:93
MediaWiki\Api\Hook\ApiCheckCanExecuteHook
This is a hook handler interface, see docs/Hooks.md.
Definition
ApiCheckCanExecuteHook.php:17
MediaWiki\Api\Hook\ApiCheckCanExecuteHook\onApiCheckCanExecute
onApiCheckCanExecute( $module, $user, &$message)
This hook is called during ApiMain::checkCanExecute.
MediaWiki\Api\IApiMessage
Interface for messages with machine-readable data for use by the API.
Definition
IApiMessage.php:43
MediaWiki\Api\Hook
Definition
APIAfterExecuteHook.php:3
includes
api
Hook
ApiCheckCanExecuteHook.php
Generated on Tue Nov 12 2024 23:23:11 for MediaWiki by
1.10.0