MediaWiki REL1_35
RevisionFactory.php
Go to the documentation of this file.
1<?php
23namespace MediaWiki\Revision;
24
26use MWException;
27use Title;
28
39
56 array $fields,
57 $queryFlags = self::READ_NORMAL,
58 Title $title = null
59 );
60
76 public function newRevisionFromRow(
77 $row,
78 $queryFlags = self::READ_NORMAL,
79 Title $title = null
80 );
81
100 $row,
101 $queryFlags = self::READ_NORMAL,
102 Title $title = null,
103 array $overrides = []
104 );
105
106}
107
112class_alias( RevisionFactory::class, 'MediaWiki\Storage\RevisionFactory' );
MediaWiki exception.
Represents a title within MediaWiki.
Definition Title.php:42
Interface for database access objects.
Service for constructing revision objects.
newMutableRevisionFromArray(array $fields, $queryFlags=self::READ_NORMAL, Title $title=null)
Constructs a new RevisionRecord based on the given associative array following the MW1....
newRevisionFromArchiveRow( $row, $queryFlags=self::READ_NORMAL, Title $title=null, array $overrides=[])
Make a fake revision object from an archive table row.
newRevisionFromRow( $row, $queryFlags=self::READ_NORMAL, Title $title=null)
Constructs a RevisionRecord given a database row and content slots.