Class representing generic content language selector field.
More...
|
| __construct (array $params) |
| Can be used without label - has some predefined value.
|
|
| validate ( $value, $alldata) |
|
Class representing generic content language selector field.
- Copyright
- GPL-2.0-or-later
◆ __construct()
Wikibase\Repo\Specials\HTMLForm\HTMLContentLanguageField::__construct |
( |
array | $params | ) |
|
Can be used without label - has some predefined value.
- Doesn't accept any of options parameters.
- See also
- \HTMLForm There is detailed description of the allowed $params (named $info there).
◆ constructOptions()
Wikibase\Repo\Specials\HTMLForm\HTMLContentLanguageField::constructOptions |
( |
array | $languageCodes, |
|
|
LanguageNameLookup | $lookup ) |
|
private |
- Parameters
-
string[] | $languageCodes | |
LanguageNameLookup | $lookup | |
- Returns
- array For details see {
- See also
- \HTMLForm} "options" parameter description
◆ validate()
Wikibase\Repo\Specials\HTMLForm\HTMLContentLanguageField::validate |
( |
| $value, |
|
|
| $alldata ) |
The documentation for this class was generated from the following file: