Helper for mapping columns names of item/property in term storage.
More...
|
static | factory (string $entityType) |
|
Helper for mapping columns names of item/property in term storage.
- See also
- DatabaseTermStoreWriterBase
- Copyright
- GPL-2.0-or-later
◆ __construct()
Wikibase\Lib\Store\Sql\Terms\NormalizedTermStorageMapping::__construct |
( |
string |
$tablePrefix, |
|
|
string |
$tableName, |
|
|
string |
$entityType |
|
) |
| |
◆ factory()
static Wikibase\Lib\Store\Sql\Terms\NormalizedTermStorageMapping::factory |
( |
string |
$entityType | ) |
|
|
static |
◆ getEntityIdColumn()
Wikibase\Lib\Store\Sql\Terms\NormalizedTermStorageMapping::getEntityIdColumn |
( |
| ) |
|
Returns the name of the entity reference column.
- Returns
- string e.g. wbit_item_id / wbpt_property_id
◆ getRowIdColumn()
Wikibase\Lib\Store\Sql\Terms\NormalizedTermStorageMapping::getRowIdColumn |
( |
| ) |
|
Returns the name of the id column.
- Returns
- string e.g. wbit_id / wbpt_id
◆ getTableName()
Wikibase\Lib\Store\Sql\Terms\NormalizedTermStorageMapping::getTableName |
( |
| ) |
|
◆ getTermInLangIdColumn()
Wikibase\Lib\Store\Sql\Terms\NormalizedTermStorageMapping::getTermInLangIdColumn |
( |
| ) |
|
Returns the name of the <entity>_term_in_lang id column.
- Returns
- string e.g. wbit_term_in_lang_id / wbpt_term_in_lang_id
◆ $entityType
Wikibase\Lib\Store\Sql\Terms\NormalizedTermStorageMapping::$entityType |
|
protected |
◆ $tableName
Wikibase\Lib\Store\Sql\Terms\NormalizedTermStorageMapping::$tableName |
|
private |
◆ $tablePrefix
Wikibase\Lib\Store\Sql\Terms\NormalizedTermStorageMapping::$tablePrefix |
|
protected |
The documentation for this class was generated from the following file: