A ValueFormatter for UnDeserializableValue objects.
More...
A ValueFormatter for UnDeserializableValue objects.
It acts as a fallback when neither the property type nor the value type are known. It does not show any information from the value, but the message "The value is invalid and cannot be displayed" instead. The message can be changed via an option.
- Copyright
- GPL-2.0-or-later
- Author
- Katie Filbert < aude..nosp@m.wiki.nosp@m.@gmai.nosp@m.l.co.nosp@m.m >
◆ __construct()
Wikibase\Lib\Formatters\UnDeserializableValueFormatter::__construct |
( |
FormatterOptions |
$options = null | ) |
|
- Parameters
-
FormatterOptions | null | $options | |
◆ format()
Wikibase\Lib\Formatters\UnDeserializableValueFormatter::format |
( |
|
$dataValue | ) |
|
- See also
- ValueFormatter::format
- Parameters
-
DataValue | $dataValue | Unused in this implementation. |
- Returns
- string Unescaped message text.
◆ OPT_MESSAGE_KEY
const Wikibase\Lib\Formatters\UnDeserializableValueFormatter::OPT_MESSAGE_KEY = 'unDeserializableMessage' |
|
private |
The documentation for this class was generated from the following file: