WikibaseLexeme
MediaWiki WikibaseLexeme extension
Loading...
Searching...
No Matches
Wikibase\Lexeme\MediaWiki\Specials\HTMLForm\ItemSelectorWidget Class Reference

Needed to infuse the ItemSelectorWidget into an existing form field in the frontend. More...

+ Inheritance diagram for Wikibase\Lexeme\MediaWiki\Specials\HTMLForm\ItemSelectorWidget:
+ Collaboration diagram for Wikibase\Lexeme\MediaWiki\Specials\HTMLForm\ItemSelectorWidget:

Public Member Functions

 __construct (array $config)
 
 setValue ( $value)
 

Protected Member Functions

 getJavaScriptClassName ()
 

Private Attributes

 $valueField
 

Detailed Description

Needed to infuse the ItemSelectorWidget into an existing form field in the frontend.

TODO: make it configurable from PHP in order to inject API URL, timeout etc.

Constructor & Destructor Documentation

◆ __construct()

Wikibase\Lexeme\MediaWiki\Specials\HTMLForm\ItemSelectorWidget::__construct ( array $config)

Member Function Documentation

◆ getJavaScriptClassName()

Wikibase\Lexeme\MediaWiki\Specials\HTMLForm\ItemSelectorWidget::getJavaScriptClassName ( )
protected

◆ setValue()

Wikibase\Lexeme\MediaWiki\Specials\HTMLForm\ItemSelectorWidget::setValue ( $value)

Member Data Documentation

◆ $valueField

Wikibase\Lexeme\MediaWiki\Specials\HTMLForm\ItemSelectorWidget::$valueField
private

The documentation for this class was generated from the following file: