A LocalizedTextProvider implementation that returns a string containing the given key and params.
More...
A LocalizedTextProvider implementation that returns a string containing the given key and params.
- Copyright
- GPL-2.0-or-later
- Author
- Adrian Heine adria.nosp@m.n.he.nosp@m.ine@w.nosp@m.ikim.nosp@m.edia..nosp@m.de
◆ get()
Wikibase\View\DummyLocalizedTextProvider::get |
( |
|
$key, |
|
|
array |
$params = [] |
|
) |
| |
- Parameters
-
string | $key | |
string[] | $params | Parameters that could be used for generating the text |
- Returns
- string The $key, followed by a colon and comma separated $params, all in brackets.
Implements Wikibase\View\LocalizedTextProvider.
◆ getLanguageOf()
Wikibase\View\DummyLocalizedTextProvider::getLanguageOf |
( |
|
$key | ) |
|
◆ has()
Wikibase\View\DummyLocalizedTextProvider::has |
( |
|
$key | ) |
|
The documentation for this class was generated from the following file: