MediaWiki
REL1_35
ApiBeforeMainHook.php
Go to the documentation of this file.
1
<?php
2
3
namespace
MediaWiki\Hook
;
4
5
use
ApiMain
;
6
11
interface
ApiBeforeMainHook
{
20
public
function
onApiBeforeMain
( &$main );
21
}
ApiMain
This is the main API class, used for both external and internal processing.
Definition
ApiMain.php:47
MediaWiki\Hook\ApiBeforeMainHook
Stable to implement.
Definition
ApiBeforeMainHook.php:11
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 Sat Apr 6 2024 00:07:11 for MediaWiki by
1.9.8