MediaWiki
REL1_35
TitleArrayFromResultHook.php
Go to the documentation of this file.
1
<?php
2
3
namespace
MediaWiki\Hook
;
4
5
use
TitleArray
;
6
use
Wikimedia\Rdbms\IResultWrapper
;
7
12
interface
TitleArrayFromResultHook
{
23
public
function
onTitleArrayFromResult
( &$titleArray,
$res
);
24
}
TitleArray
The TitleArray class only exists to provide the newFromResult method at pre- sent.
Definition
TitleArray.php:35
MediaWiki\Hook\TitleArrayFromResultHook
Stable to implement.
Definition
TitleArrayFromResultHook.php:12
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
MediaWiki\Hook
Definition
ActionBeforeFormDisplayHook.php:3
$res
$res
Definition
testCompression.php:57
includes
Hook
TitleArrayFromResultHook.php
Generated on Sat Apr 6 2024 00:07:14 for MediaWiki by
1.9.8