MediaWiki  master
ApiQueryBaseBeforeQueryHook.php
Go to the documentation of this file.
1 <?php
2 
3 namespace MediaWiki\Api\Hook;
4 
5 use ApiQueryBase;
6 
35  public function onApiQueryBaseBeforeQuery( $module, &$tables, &$fields,
36  &$conds, &$query_options, &$join_conds, &$hookData
37  );
38 }
MediaWiki\Api\Hook
Definition: APIAfterExecuteHook.php:3
MediaWiki\Api\Hook\ApiQueryBaseBeforeQueryHook\onApiQueryBaseBeforeQuery
onApiQueryBaseBeforeQuery( $module, &$tables, &$fields, &$conds, &$query_options, &$join_conds, &$hookData)
This hook is called for (some) API query modules before a database query is made.
MediaWiki\Api\Hook\ApiQueryBaseBeforeQueryHook
This is a hook handler interface, see docs/Hooks.md.
Definition: ApiQueryBaseBeforeQueryHook.php:14
ApiQueryBase
This is a base class for all Query modules.
Definition: ApiQueryBase.php:37