Wikibase
MediaWiki Wikibase extension
Loading...
Searching...
No Matches
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

 __construct (array $params)
 Can be used without label - has some predefined value.
 
 validate ( $value, $alldata)
 

Private Member Functions

 constructOptions (array $languageCodes, LanguageNameLookup $lookup)
 

Detailed Description

Class representing generic content language selector field.

Constructor & Destructor Documentation

◆ __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).

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: