MediaWiki  master
TitleArrayFromResultHook.php
Go to the documentation of this file.
1 <?php
2 
3 namespace MediaWiki\Hook;
4 
5 use TitleArray;
7 
26  public function onTitleArrayFromResult( &$titleArray, $res );
27 }
MediaWiki\Hook\TitleArrayFromResultHook
This is a hook handler interface, see docs/Hooks.md.
Definition: TitleArrayFromResultHook.php:15
MediaWiki\Hook
Definition: ActionBeforeFormDisplayHook.php:3
$res
$res
Definition: testCompression.php:57
MediaWiki\Hook\TitleArrayFromResultHook\onTitleArrayFromResult
onTitleArrayFromResult(&$titleArray, $res)
This hook is called when creating a TitleArray object from a database result.
Wikimedia\Rdbms\IResultWrapper
Result wrapper for grabbing data queried from an IDatabase object.
Definition: IResultWrapper.php:24
TitleArray
The TitleArray class only exists to provide the newFromResult method at pre- sent.
Definition: TitleArray.php:35