MediaWiki
1.44.0
ApiBeforeMainHook.php
Go to the documentation of this file.
1
<?php
2
3
namespace
MediaWiki\Hook
;
4
5
use
MediaWiki\Api\ApiMain
;
6
14
interface
ApiBeforeMainHook
{
23
public
function
onApiBeforeMain
( &$main );
24
}
MediaWiki\Api\ApiMain
This is the main API class, used for both external and internal processing.
Definition
ApiMain.php:79
MediaWiki\Hook\ApiBeforeMainHook
This is a hook handler interface, see docs/Hooks.md.
Definition
ApiBeforeMainHook.php:14
MediaWiki\Hook\ApiBeforeMainHook\onApiBeforeMain
onApiBeforeMain(&$main)
This hook is called before calling ApiMain's execute() method in api.php.
MediaWiki\Hook
Definition
ActionBeforeFormDisplayHook.php:3
includes
Hook
ApiBeforeMainHook.php
Generated on Wed Jul 2 2025 19:31:39 for MediaWiki by
1.10.0