DispatchingEntityIdHtmlLinkFormatter is a formatter for EntityId Html Links.
More...
DispatchingEntityIdHtmlLinkFormatter is a formatter for EntityId Html Links.
It dispatches the formatter based on the entity type
- Copyright
- GPL-2.0-or-later
◆ __construct()
Wikibase\Lib\Formatters\DispatchingEntityIdHtmlLinkFormatter::__construct |
( |
array |
$formatters, |
|
|
EntityIdFormatter |
$defaultFormatter |
|
) |
| |
- Parameters
-
EntityIdFormatter[] | $formatters | |
EntityIdFormatter | $defaultFormatter | |
◆ formatEntityId()
Wikibase\Lib\Formatters\DispatchingEntityIdHtmlLinkFormatter::formatEntityId |
( |
EntityId |
$entityId | ) |
|
◆ $defaultFormatter
Wikibase\Lib\Formatters\DispatchingEntityIdHtmlLinkFormatter::$defaultFormatter |
|
private |
◆ $formatters
Wikibase\Lib\Formatters\DispatchingEntityIdHtmlLinkFormatter::$formatters |
|
private |
The documentation for this class was generated from the following file: