MediaWiki REL1_35
MediaWiki\Hook\TitleArrayFromResultHook Interface Reference

Stable to implement. More...

Inheritance diagram for MediaWiki\Hook\TitleArrayFromResultHook:

Public Member Functions

 onTitleArrayFromResult (&$titleArray, $res)
 This hook is called when creating a TitleArray object from a database result.
 

Detailed Description

Stable to implement.

Definition at line 12 of file TitleArrayFromResultHook.php.

Member Function Documentation

◆ onTitleArrayFromResult()

MediaWiki\Hook\TitleArrayFromResultHook::onTitleArrayFromResult ( $titleArray,
  $res 
)

This hook is called when creating a TitleArray object from a database result.

Since
1.35
Parameters
TitleArray&$titleArraySet this to an object to override the default object returned
IResultWrapper$resDatabase result used to create the object
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: