MediaWiki REL1_37
MediaWiki\Cache\Hook\BacklinkCacheGetConditionsHook Interface Reference

This is a hook handler interface, see docs/Hooks.md. More...

Inheritance diagram for MediaWiki\Cache\Hook\BacklinkCacheGetConditionsHook:

Public Member Functions

 onBacklinkCacheGetConditions ( $table, $title, &$conds)
 Use this hook to set conditions for query when links to certain title are fetched.
 

Detailed Description

This is a hook handler interface, see docs/Hooks.md.

Use the hook name "BacklinkCacheGetConditions" to register handlers implementing this interface.

Stability: stable
to implement

Definition at line 14 of file BacklinkCacheGetConditionsHook.php.

Member Function Documentation

◆ onBacklinkCacheGetConditions()

MediaWiki\Cache\Hook\BacklinkCacheGetConditionsHook::onBacklinkCacheGetConditions (   $table,
  $title,
$conds 
)

Use this hook to set conditions for query when links to certain title are fetched.

Since
1.35
Parameters
string$tableTable name
Title$titleTitle of the page to which backlinks are sought
array&$condsQuery conditions
Returns
bool|void True or no return value to continue or false to abort

Implemented in MediaWiki\HookContainer\HookRunner.


The documentation for this interface was generated from the following file: