MediaWiki
REL1_31
RevisionFactory.php
Go to the documentation of this file.
1
<?php
23
namespace
MediaWiki\Storage
;
24
25
use
MWException
;
26
use
Title
;
27
36
interface
RevisionFactory
{
37
53
public
function
newMutableRevisionFromArray
( array $fields, $queryFlags = 0,
Title
$title =
null
);
54
68
public
function
newRevisionFromRow
( $row, $queryFlags = 0,
Title
$title =
null
);
69
87
public
function
newRevisionFromArchiveRow
(
88
$row,
89
$queryFlags = 0,
90
Title
$title =
null
,
91
array $overrides = []
92
);
93
94
}
MWException
MediaWiki exception.
Definition
MWException.php:26
Title
Represents a title within MediaWiki.
Definition
Title.php:39
MediaWiki\Storage\RevisionFactory
Service for constructing revision objects.
Definition
RevisionFactory.php:36
MediaWiki\Storage\RevisionFactory\newRevisionFromRow
newRevisionFromRow( $row, $queryFlags=0, Title $title=null)
Constructs a RevisionRecord given a database row and content slots.
MediaWiki\Storage\RevisionFactory\newRevisionFromArchiveRow
newRevisionFromArchiveRow( $row, $queryFlags=0, Title $title=null, array $overrides=[])
Make a fake revision object from an archive table row.
MediaWiki\Storage\RevisionFactory\newMutableRevisionFromArray
newMutableRevisionFromArray(array $fields, $queryFlags=0, Title $title=null)
Constructs a new RevisionRecord based on the given associative array following the MW1....
MediaWiki\Storage
Definition
BlobAccessException.php:23
includes
Storage
RevisionFactory.php
Generated on Mon Nov 25 2024 15:35:31 for MediaWiki by
1.10.0