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
MediaWiki\Message\Message
;
8
use
MediaWiki\User\User
;
9
17
interface
ApiCheckCanExecuteHook
{
35
public
function
onApiCheckCanExecute
( $module, $user, &$message );
36
}
ApiBase
This abstract class implements many basic API functions, and is the base of all API classes.
Definition
ApiBase.php:64
MediaWiki\Message\Message
The Message class deals with fetching and processing of interface message into a variety of formats.
Definition
Message.php:158
MediaWiki\User\User
internal since 1.36
Definition
User.php:93
IApiMessage
Interface for messages with machine-readable data for use by the API.
Definition
IApiMessage.php:39
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\Hook
Definition
APIAfterExecuteHook.php:3
includes
api
Hook
ApiCheckCanExecuteHook.php
Generated on Fri Apr 26 2024 15:22:53 for MediaWiki by
1.10.0