Parser for monolingual text strings.
More...
Parser for monolingual text strings.
- Copyright
- GPL-2.0-or-later
- Author
- Daniel Kinzler
-
Thiemo Kreuz
◆ stringParse()
Wikibase\Repo\Parsers\MonolingualTextParser::stringParse |
( |
|
$value | ) |
|
|
protected |
- See also
- StringValueParser::stringParse
- Note
- Uses the "valuelang" option to set the language code in the MonolingualTextValue.
- Parameters
-
- Exceptions
-
ParseException | if the "valuelang" option is missing or empty |
- Returns
- MonolingualTextValue
◆ FORMAT_NAME
const Wikibase\Repo\Parsers\MonolingualTextParser::FORMAT_NAME = 'monolingual-text' |
|
private |
The documentation for this class was generated from the following file: