Wikibase
MediaWiki Wikibase extension
|
Public Member Functions | |
asPlainTermList () | |
Public Member Functions inherited from Wikibase\DataModel\Term\TermList | |
__construct ($terms=[]) | |
count () | |
toTextArray () | |
Returns an array with language codes as keys and the term text as values. | |
getIterator () | |
getByLanguage ( $languageCode) | |
getWithLanguages (array $languageCodes) | |
removeByLanguage ( $languageCode) | |
hasTermForLanguage ( $languageCode) | |
setTerm (Term $term) | |
Replaces non-empty or removes empty terms. | |
setTextForLanguage ( $languageCode, $termText) | |
equals ( $target) | |
isEmpty () | |
hasTerm (Term $term) | |
clear () | |
Removes all terms from this list. | |
addAll ($terms) | |
Wikibase\Repo\RestApi\Application\Validation\PartiallyValidatedDescriptions::asPlainTermList | ( | ) |