MediaWiki master
MediaWiki\Storage\NameTableStoreFactory Class Reference

Public Member Functions

 __construct (ILBFactory $lbFactory, WANObjectCache $cache, LoggerInterface $logger)
 
 get ( $tableName, $wiki=false)
 Get a NameTableStore for a specific table.
 
 getChangeTagDef ( $wiki=false)
 Get a NameTableStore for the change_tag_def table.
 
 getContentModels ( $wiki=false)
 Get a NameTableStore for the content_models table.
 
 getSlotRoles ( $wiki=false)
 Get a NameTableStore for the slot_roles table.
 

Detailed Description

Definition at line 27 of file NameTableStoreFactory.php.

Constructor & Destructor Documentation

◆ __construct()

MediaWiki\Storage\NameTableStoreFactory::__construct ( ILBFactory $lbFactory,
WANObjectCache $cache,
LoggerInterface $logger )

Definition at line 76 of file NameTableStoreFactory.php.

Member Function Documentation

◆ get()

MediaWiki\Storage\NameTableStoreFactory::get ( $tableName,
$wiki = false )

Get a NameTableStore for a specific table.

Parameters
string$tableName
string | false$wikiThe target wiki ID, or false for the current wiki
Returns
NameTableStore

Definition at line 93 of file NameTableStoreFactory.php.

◆ getChangeTagDef()

MediaWiki\Storage\NameTableStoreFactory::getChangeTagDef ( $wiki = false)

Get a NameTableStore for the change_tag_def table.

Parameters
string | bool$wiki
Returns
NameTableStore

Definition at line 130 of file NameTableStoreFactory.php.

Referenced by MediaWiki\Rest\Handler\PageHistoryHandler\__construct(), and MediaWiki\Rest\Handler\PageHistoryCountHandler\__construct().

◆ getContentModels()

MediaWiki\Storage\NameTableStoreFactory::getContentModels ( $wiki = false)

Get a NameTableStore for the content_models table.

Parameters
string | bool$wiki
Returns
NameTableStore

Definition at line 140 of file NameTableStoreFactory.php.

◆ getSlotRoles()

MediaWiki\Storage\NameTableStoreFactory::getSlotRoles ( $wiki = false)

Get a NameTableStore for the slot_roles table.

Parameters
string | bool$wiki
Returns
NameTableStore

Definition at line 150 of file NameTableStoreFactory.php.


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