Handles a string value to adhere the BCP47 normative content declaration for a language code tag
- See also
- https://en.wikipedia.org/wiki/IETF_language_tag
GNU GPL v2+
- Since
- 2.4
- Author
- mwjames
◆ __construct()
SMW\DataValues\LanguageCodeValue::__construct |
( |
|
$typeid = '' | ) |
|
◆ parseUserValue()
SMW\DataValues\LanguageCodeValue::parseUserValue |
( |
|
$userValue | ) |
|
|
protected |
- See also
- DataValue::parseUserValue
- Parameters
-
◆ TYPE_ID
const SMW\DataValues\LanguageCodeValue::TYPE_ID = '__lcode' |
The documentation for this class was generated from the following file: