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
◆ __construct()
Wikibase\Lib\Formatters\WikiLinkHtmlFormatter::__construct |
( |
|
$namespace | ) |
|
- Parameters
-
int | $namespace | namespace to be used to format the link |
◆ format()
Wikibase\Lib\Formatters\WikiLinkHtmlFormatter::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
◆ $namespace
Wikibase\Lib\Formatters\WikiLinkHtmlFormatter::$namespace |
|
private |
The documentation for this class was generated from the following file: