MediaWiki master
ApiQueryBaseBeforeQueryHook.php
Go to the documentation of this file.
1<?php
2
3namespace MediaWiki\Api\Hook;
4
6
35 public function onApiQueryBaseBeforeQuery( $module, &$tables, &$fields,
36 &$conds, &$query_options, &$join_conds, &$hookData
37 );
38}
This is a base class for all Query modules.
This is a hook handler interface, see docs/Hooks.md.
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.