Debian Codegraph @

includes/filerepo/Hook/LocalFile__getHistoryHook.php

raw symbols SCIP
1 <?php
2
3 namespace MediaWiki\Hook;
4
5 // phpcs:disable Squiz.Classes.ValidClassName.NotCamelCaps
6 use File;
7
8 /**
9 * This is a hook handler interface, see docs/Hooks.md.
10 * Use the hook name "LocalFile::getHistory" to register handlers implementing this interface.
11 *
12 * @deprecated since 1.37
13 * @ingroup Hooks
14 */
15 interface LocalFile__getHistoryHook {
16 /**
17 * This hook is called before a file history query is performed.
18 *
19 * @since 1.35
20 *
21 * @param File $file
22 * @param array &$tables
23 * @param array &$fields Select fields
24 * @param array &$conds Conditions
25 * @param array &$opts Query options
26 * @param array &$join_conds JOIN conditions
27 * @return bool|void True or no return value to continue or false to abort
28 */
29 public function onLocalFile__getHistory( $file, &$tables, &$fields, &$conds,
30 &$opts, &$join_conds
31 );
32 }