MediaWiki  master
TitleArrayFromResultHook.php
Go to the documentation of this file.
1 <?php
2 
3 namespace MediaWiki\Hook;
4 
5 use TitleArray;
7 
23  public function onTitleArrayFromResult( &$titleArray, $res );
24 }
MediaWiki\Hook\TitleArrayFromResultHook
Stable to implement.
Definition: TitleArrayFromResultHook.php:12
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