MediaWiki
REL1_40
TitleArray.php
Go to the documentation of this file.
1
<?php
27
namespace
MediaWiki\Title
;
28
29
use Iterator;
30
use
Wikimedia\Rdbms\IResultWrapper
;
31
40
abstract
class
TitleArray
implements
Iterator {
47
public
static
function
newFromResult
(
$res
) {
48
// TODO consider merging this class with TitleArrayFromResult now that the
49
// TitleArrayFromResult hook has been removed
50
return
new
TitleArrayFromResult
(
$res
);
51
}
52
56
abstract
public
function
current
():
Title
;
57
61
abstract
public
function
key
(): int;
62
}
63
64
class_alias( TitleArray::class,
'TitleArray'
);
MediaWiki\Title\TitleArrayFromResult
Definition
TitleArrayFromResult.php:37
MediaWiki\Title\TitleArray
The TitleArray class only exists to provide the newFromResult method at pre- sent.
Definition
TitleArray.php:40
MediaWiki\Title\TitleArray\key
key()
MediaWiki\Title\TitleArray\current
current()
MediaWiki\Title\TitleArray\newFromResult
static newFromResult( $res)
Definition
TitleArray.php:47
MediaWiki\Title\Title
Represents a title within MediaWiki.
Definition
Title.php:82
Wikimedia\Rdbms\IResultWrapper
Result wrapper for grabbing data queried from an IDatabase object.
Definition
IResultWrapper.php:26
MediaWiki\Title
Definition
Title.php:25
$res
$res
Definition
testCompression.php:58
includes
title
TitleArray.php
Generated on Thu Jun 27 2024 14:04:28 for MediaWiki by
1.10.0