MediaWiki master
MediaWiki\Deferred\LinksUpdate\LinksTableGroup Class Reference

Public Member Functions

 __construct (ObjectFactory $objectFactory, LBFactory $lbFactory, CollationFactory $collationFactory, PageIdentity $page, LinkTargetLookup $linkTargetLookup, $batchSize, array $tempCollations)
 
 get ( $tableName)
 Get a LinksTable for a given table.
 
 getAll ()
 Get LinksTable objects for all known links tables.
 
 setMoveDetails (PageReference $oldPage)
 Set the original title in the case of a page move.
 
 setParserOutput (ParserOutput $parserOutput)
 Set the ParserOutput object to be used in new and existing objects.
 
 setRevision (RevisionRecord $revision)
 Set the revision to be used in new and existing objects.
 
 setStrictTestMode ( $mode=true)
 Set the strict test mode.
 
 setTransactionTicket ( $ticket)
 Set the transaction ticket to be used in new and existing objects.
 

Detailed Description

Since
1.38

Definition at line 20 of file LinksTableGroup.php.

Constructor & Destructor Documentation

◆ __construct()

MediaWiki\Deferred\LinksUpdate\LinksTableGroup::__construct ( ObjectFactory $objectFactory,
LBFactory $lbFactory,
CollationFactory $collationFactory,
PageIdentity $page,
LinkTargetLookup $linkTargetLookup,
$batchSize,
array $tempCollations )
Parameters
ObjectFactory$objectFactory
LBFactory$lbFactory
CollationFactory$collationFactory
PageIdentity$page
LinkTargetLookup$linkTargetLookup
int$batchSize
array$tempCollations

Definition at line 116 of file LinksTableGroup.php.

Member Function Documentation

◆ get()

MediaWiki\Deferred\LinksUpdate\LinksTableGroup::get ( $tableName)

Get a LinksTable for a given table.

Parameters
string$tableName
Returns
LinksTable

Definition at line 251 of file LinksTableGroup.php.

References MediaWiki\MediaWikiServices\getInstance().

◆ getAll()

MediaWiki\Deferred\LinksUpdate\LinksTableGroup::getAll ( )

Get LinksTable objects for all known links tables.

Returns
iterable<LinksTable>

Definition at line 290 of file LinksTableGroup.php.

Referenced by MediaWiki\Deferred\LinksUpdate\LinksTableGroup\setStrictTestMode().

◆ setMoveDetails()

MediaWiki\Deferred\LinksUpdate\LinksTableGroup::setMoveDetails ( PageReference $oldPage)

Set the original title in the case of a page move.

Parameters
PageReference$oldPage

Definition at line 154 of file LinksTableGroup.php.

◆ setParserOutput()

MediaWiki\Deferred\LinksUpdate\LinksTableGroup::setParserOutput ( ParserOutput $parserOutput)

Set the ParserOutput object to be used in new and existing objects.

Parameters
ParserOutput$parserOutput

Definition at line 142 of file LinksTableGroup.php.

◆ setRevision()

MediaWiki\Deferred\LinksUpdate\LinksTableGroup::setRevision ( RevisionRecord $revision)

Set the revision to be used in new and existing objects.

Parameters
RevisionRecord$revision

Definition at line 178 of file LinksTableGroup.php.

◆ setStrictTestMode()

MediaWiki\Deferred\LinksUpdate\LinksTableGroup::setStrictTestMode ( $mode = true)

Set the strict test mode.

Parameters
bool$mode

Definition at line 190 of file LinksTableGroup.php.

References MediaWiki\Deferred\LinksUpdate\LinksTableGroup\getAll().

◆ setTransactionTicket()

MediaWiki\Deferred\LinksUpdate\LinksTableGroup::setTransactionTicket ( $ticket)

Set the transaction ticket to be used in new and existing objects.

Parameters
mixed$ticket

Definition at line 166 of file LinksTableGroup.php.


The documentation for this class was generated from the following file: