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 19 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 118 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 253 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 292 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 156 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 144 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 180 of file LinksTableGroup.php.

◆ setStrictTestMode()

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

Set the strict test mode.

Parameters
bool$mode

Definition at line 192 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 168 of file LinksTableGroup.php.


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