Wikibase
MediaWiki Wikibase extension
Wikibase\Repo\Specials\HTMLForm\HTMLContentLanguageField Class Reference

Class representing generic content language selector field. More...

+ Inheritance diagram for Wikibase\Repo\Specials\HTMLForm\HTMLContentLanguageField:
+ Collaboration diagram for Wikibase\Repo\Specials\HTMLForm\HTMLContentLanguageField:

Public Member Functions

 validate ( $value, $alldata)
 

Private Member Functions

 constructOptions (array $languageCodes, LanguageNameLookup $lookup)
 

Detailed Description

Class representing generic content language selector field.

Member Function Documentation

◆ 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: