MediaWiki
REL1_35
TitleArray.php
Go to the documentation of this file.
1
<?php
27
use
Wikimedia\Rdbms\IResultWrapper
;
28
35
abstract
class
TitleArray
implements
Iterator {
42
public
static
function
newFromResult
(
$res
) {
43
$array =
null
;
44
if
( !Hooks::runner()->onTitleArrayFromResult( $array,
$res
) ) {
45
return
null
;
46
}
47
return
$array ??
new
TitleArrayFromResult
(
$res
);
48
}
49
}
TitleArrayFromResult
@newable
Definition
TitleArrayFromResult.php:34
TitleArray
The TitleArray class only exists to provide the newFromResult method at pre- sent.
Definition
TitleArray.php:35
TitleArray\newFromResult
static newFromResult( $res)
Definition
TitleArray.php:42
Wikimedia\Rdbms\IResultWrapper
Result wrapper for grabbing data queried from an IDatabase object.
Definition
IResultWrapper.php:24
$res
$res
Definition
testCompression.php:57
includes
TitleArray.php
Generated on Sat Apr 6 2024 00:08:03 for MediaWiki by
1.9.8