Formats the StringValue from a snak as an HTML link.
More...
Formats the StringValue from a snak as an HTML link.
- Copyright
- GPL-2.0-or-later
- Author
- Jonas Kress
◆ __construct()
Wikibase\Lib\Formatters\InterWikiLinkHtmlFormatter::__construct |
( |
|
$baseUrl | ) |
|
- Parameters
-
string | $baseUrl | Base URL, used to build links to the geo shape storage. |
◆ encodeSpaces()
Wikibase\Lib\Formatters\InterWikiLinkHtmlFormatter::encodeSpaces |
( |
|
$pageName | ) |
|
|
private |
◆ format()
Wikibase\Lib\Formatters\InterWikiLinkHtmlFormatter::format |
( |
|
$value | ) |
|
- See also
- ValueFormatter::format
Formats the given page title as an HTML link
- Parameters
-
StringValue | $value | The page title to be turned into a link |
- Exceptions
-
- Returns
- string HTML
◆ $baseUrl
Wikibase\Lib\Formatters\InterWikiLinkHtmlFormatter::$baseUrl |
|
private |
The documentation for this class was generated from the following file: