A simple wrapper that forwards formatting of an EntityIdValue object to an EntityIdFormatter.
More...
A simple wrapper that forwards formatting of an EntityIdValue object to an EntityIdFormatter.
- 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()
Wikibase\Lib\Formatters\EntityIdValueFormatter::__construct |
( |
EntityIdFormatter |
$entityIdFormatter | ) |
|
◆ format()
Wikibase\Lib\Formatters\EntityIdValueFormatter::format |
( |
|
$value | ) |
|
- See also
- ValueFormatter::format
Format an EntityIdValue
- Parameters
-
- Exceptions
-
- Returns
- string Either plain text, wikitext or HTML, depending on the EntityIdFormatter provided.
◆ $entityIdFormatter
Wikibase\Lib\Formatters\EntityIdValueFormatter::$entityIdFormatter |
|
private |
The documentation for this class was generated from the following file: