A container for all labels, all descriptions and all aliases (in all languages) of entities that support all three term types.
More...
A container for all labels, all descriptions and all aliases (in all languages) of entities that support all three term types.
Should not be used for entity types that only support one or two of these term types.
- Since
- 0.7.3
- Copyright
- GPL-2.0-or-later
- Author
- Jeroen De Dauw < jeroe.nosp@m.nded.nosp@m.auw@g.nosp@m.mail.nosp@m..com >
-
Thiemo Kreuz
◆ __construct()
◆ __clone()
Wikibase\DataModel\Term\Fingerprint::__clone |
( |
| ) |
|
◆ equals()
Wikibase\DataModel\Term\Fingerprint::equals |
( |
| $target | ) |
|
- Since
- 0.7.4
- Parameters
-
- Returns
- bool
◆ getAliasGroup()
Wikibase\DataModel\Term\Fingerprint::getAliasGroup |
( |
| $languageCode | ) |
|
- Since
- 0.7.4
- Parameters
-
- Returns
- AliasGroup
- Exceptions
-
OutOfBoundsException | |
InvalidArgumentException | |
◆ getAliasGroups()
Wikibase\DataModel\Term\Fingerprint::getAliasGroups |
( |
| ) |
|
◆ getDescription()
Wikibase\DataModel\Term\Fingerprint::getDescription |
( |
| $languageCode | ) |
|
- Since
- 0.7.4
- Parameters
-
- Returns
- Term
- Exceptions
-
OutOfBoundsException | |
InvalidArgumentException | |
◆ getDescriptions()
Wikibase\DataModel\Term\Fingerprint::getDescriptions |
( |
| ) |
|
◆ getLabel()
Wikibase\DataModel\Term\Fingerprint::getLabel |
( |
| $languageCode | ) |
|
- Since
- 0.7.4
- Parameters
-
- Returns
- Term
- Exceptions
-
OutOfBoundsException | |
InvalidArgumentException | |
◆ getLabels()
Wikibase\DataModel\Term\Fingerprint::getLabels |
( |
| ) |
|
◆ hasAliasGroup()
Wikibase\DataModel\Term\Fingerprint::hasAliasGroup |
( |
| $languageCode | ) |
|
- Since
- 0.9
- Parameters
-
- Returns
- bool
◆ hasDescription()
Wikibase\DataModel\Term\Fingerprint::hasDescription |
( |
| $languageCode | ) |
|
- Since
- 0.9
- Parameters
-
- Returns
- bool
◆ hasLabel()
Wikibase\DataModel\Term\Fingerprint::hasLabel |
( |
| $languageCode | ) |
|
- Since
- 0.9
- Parameters
-
- Returns
- bool
◆ isEmpty()
Wikibase\DataModel\Term\Fingerprint::isEmpty |
( |
| ) |
|
◆ newEmpty()
static Wikibase\DataModel\Term\Fingerprint::newEmpty |
( |
| ) |
|
|
static |
- Deprecated
- since 2.5, use new Fingerprint() instead.
- Returns
- self
◆ removeAliasGroup()
Wikibase\DataModel\Term\Fingerprint::removeAliasGroup |
( |
| $languageCode | ) |
|
◆ removeDescription()
Wikibase\DataModel\Term\Fingerprint::removeDescription |
( |
| $languageCode | ) |
|
◆ removeLabel()
Wikibase\DataModel\Term\Fingerprint::removeLabel |
( |
| $languageCode | ) |
|
◆ setAliasGroup()
Wikibase\DataModel\Term\Fingerprint::setAliasGroup |
( |
| $languageCode, |
|
|
array | $aliases ) |
- Since
- 1.0
- Parameters
-
string | $languageCode | |
string[] | $aliases | |
- Exceptions
-
◆ setAliasGroups()
Wikibase\DataModel\Term\Fingerprint::setAliasGroups |
( |
AliasGroupList | $groups | ) |
|
◆ setDescription()
Wikibase\DataModel\Term\Fingerprint::setDescription |
( |
| $languageCode, |
|
|
| $descriptionText ) |
- Since
- 1.0
- Parameters
-
string | $languageCode | |
string | $descriptionText | |
- Exceptions
-
◆ setDescriptions()
Wikibase\DataModel\Term\Fingerprint::setDescriptions |
( |
TermList | $descriptions | ) |
|
◆ setLabel()
Wikibase\DataModel\Term\Fingerprint::setLabel |
( |
| $languageCode, |
|
|
| $labelText ) |
- Since
- 1.0
- Parameters
-
string | $languageCode | |
string | $labelText | |
- Exceptions
-
◆ setLabels()
Wikibase\DataModel\Term\Fingerprint::setLabels |
( |
TermList | $labels | ) |
|
◆ $aliasGroups
Wikibase\DataModel\Term\Fingerprint::$aliasGroups |
|
private |
◆ $descriptions
Wikibase\DataModel\Term\Fingerprint::$descriptions |
|
private |
◆ $labels
Wikibase\DataModel\Term\Fingerprint::$labels |
|
private |
The documentation for this class was generated from the following file: