MediaWiki
1.33.0
|
Public Member Functions | |
__construct (ILBFactory $lbFactory, WANObjectCache $cache, LoggerInterface $logger) | |
get ( $tableName, $wiki=false) | |
Get a NameTableStore for a specific table. More... | |
getChangeTagDef ( $wiki=false) | |
Get a NameTableStore for the change_tag_def table. More... | |
getContentModels ( $wiki=false) | |
Get a NameTableStore for the content_models table. More... | |
getSlotRoles ( $wiki=false) | |
Get a NameTableStore for the slot_roles table. More... | |
Static Private Member Functions | |
static | getTableInfo () |
Private Attributes | |
WANObjectCache | $cache |
ILBFactory | $lbFactory |
LoggerInterface | $logger |
$stores = [] | |
Static Private Attributes | |
static | $info |
Definition at line 26 of file NameTableStoreFactory.php.
MediaWiki\Storage\NameTableStoreFactory::__construct | ( | ILBFactory | $lbFactory, |
WANObjectCache | $cache, | ||
LoggerInterface | $logger | ||
) |
Definition at line 75 of file NameTableStoreFactory.php.
References MediaWiki\Storage\NameTableStoreFactory\$cache, MediaWiki\Storage\NameTableStoreFactory\$lbFactory, MediaWiki\Storage\NameTableStoreFactory\$logger, and cache.
MediaWiki\Storage\NameTableStoreFactory::get | ( | $tableName, | |
$wiki = false |
|||
) |
Get a NameTableStore for a specific table.
string | $tableName | The table name |
string | false | $wiki | The target wiki ID, or false for the current wiki |
Definition at line 92 of file NameTableStoreFactory.php.
References MediaWiki\Storage\NameTableStoreFactory\$cache, MediaWiki\Storage\NameTableStoreFactory\$info, MediaWiki\Storage\NameTableStoreFactory\$logger, MediaWiki\Storage\NameTableStoreFactory\getTableInfo(), and null.
Referenced by MediaWiki\Tests\Storage\NameTableStoreFactoryTest\testGet().
MediaWiki\Storage\NameTableStoreFactory::getChangeTagDef | ( | $wiki = false | ) |
Get a NameTableStore for the change_tag_def table.
string | bool | $wiki |
Definition at line 127 of file NameTableStoreFactory.php.
MediaWiki\Storage\NameTableStoreFactory::getContentModels | ( | $wiki = false | ) |
Get a NameTableStore for the content_models table.
string | bool | $wiki |
Definition at line 137 of file NameTableStoreFactory.php.
MediaWiki\Storage\NameTableStoreFactory::getSlotRoles | ( | $wiki = false | ) |
Get a NameTableStore for the slot_roles table.
string | bool | $wiki |
Definition at line 147 of file NameTableStoreFactory.php.
|
staticprivate |
Definition at line 39 of file NameTableStoreFactory.php.
References MediaWiki\Storage\NameTableStoreFactory\$info.
Referenced by MediaWiki\Storage\NameTableStoreFactory\get().
|
private |
Definition at line 34 of file NameTableStoreFactory.php.
Referenced by MediaWiki\Storage\NameTableStoreFactory\__construct(), and MediaWiki\Storage\NameTableStoreFactory\get().
|
staticprivate |
Definition at line 27 of file NameTableStoreFactory.php.
Referenced by MediaWiki\Storage\NameTableStoreFactory\get(), and MediaWiki\Storage\NameTableStoreFactory\getTableInfo().
|
private |
Definition at line 31 of file NameTableStoreFactory.php.
Referenced by MediaWiki\Storage\NameTableStoreFactory\__construct().
|
private |
Definition at line 37 of file NameTableStoreFactory.php.
Referenced by MediaWiki\Storage\NameTableStoreFactory\__construct(), and MediaWiki\Storage\NameTableStoreFactory\get().
|
private |
Definition at line 28 of file NameTableStoreFactory.php.