MediaWiki
REL1_39
TitleArray.php
Go to the documentation of this file.
1
<?php
27
use
Wikimedia\Rdbms\IResultWrapper
;
28
37
abstract
class
TitleArray
implements
Iterator {
44
public
static
function
newFromResult
(
$res
) {
45
// TODO consider merging this class with TitleArrayFromResult now that the
46
// TitleArrayFromResult hook has been removed
47
return
new
TitleArrayFromResult
(
$res
);
48
}
49
53
abstract
public
function
current
():
Title
;
54
58
abstract
public
function
key
(): int;
59
}
TitleArrayFromResult
Definition
TitleArrayFromResult.php:34
TitleArray
The TitleArray class only exists to provide the newFromResult method at pre- sent.
Definition
TitleArray.php:37
TitleArray\current
current()
TitleArray\key
key()
TitleArray\newFromResult
static newFromResult( $res)
Definition
TitleArray.php:44
Title
Represents a title within MediaWiki.
Definition
Title.php:49
Wikimedia\Rdbms\IResultWrapper
Result wrapper for grabbing data queried from an IDatabase object.
Definition
IResultWrapper.php:26
$res
$res
Definition
testCompression.php:57
includes
TitleArray.php
Generated on Mon Nov 11 2024 07:24:25 for MediaWiki by
1.10.0