A collection of ContentLanguages
objects for different contexts.
More...
A collection of ContentLanguages
objects for different contexts.
- Copyright
- GPL-2.0-or-later
◆ __construct()
Wikibase\Lib\WikibaseContentLanguages::__construct |
( |
array |
$contentLanguages | ) |
|
◆ getContentLanguages()
Wikibase\Lib\WikibaseContentLanguages::getContentLanguages |
( |
|
$context | ) |
|
- Parameters
-
string | $context | 'term', 'monolingualtext', … |
- Returns
- ContentLanguages
- Exceptions
-
OutOfRangeException | if the $context is unknown |
◆ getContexts()
Wikibase\Lib\WikibaseContentLanguages::getContexts |
( |
| ) |
|
◆ getDefaultInstance()
static Wikibase\Lib\WikibaseContentLanguages::getDefaultInstance |
( |
| ) |
|
|
static |
◆ getDefaultMonolingualTextLanguages()
static Wikibase\Lib\WikibaseContentLanguages::getDefaultMonolingualTextLanguages |
( |
| ) |
|
|
static |
◆ getDefaultTermsLanguages()
static Wikibase\Lib\WikibaseContentLanguages::getDefaultTermsLanguages |
( |
| ) |
|
|
static |
◆ $contentLanguages
Wikibase\Lib\WikibaseContentLanguages::$contentLanguages |
|
private |
◆ CONTEXT_MONOLINGUAL_TEXT
const Wikibase\Lib\WikibaseContentLanguages::CONTEXT_MONOLINGUAL_TEXT = 'monolingualtext' |
◆ CONTEXT_TERM
const Wikibase\Lib\WikibaseContentLanguages::CONTEXT_TERM = 'term' |
The documentation for this class was generated from the following file: