MediaWiki  1.29.1
MediaWiki\Widget\UsersMultiselectWidget Class Reference

Widget to select multiple users. More...

Inheritance diagram for MediaWiki\Widget\UsersMultiselectWidget:
Collaboration diagram for MediaWiki\Widget\UsersMultiselectWidget:

Public Member Functions

 __construct (array $config=[])
 getConfig (&$config)

Protected Member Functions

 getJavaScriptClassName ()

Protected Attributes

 $inputName = null
 $inputPlaceholder = null
 $usersArray = []

Detailed Description

Widget to select multiple users.

Definition at line 15 of file UsersMultiselectWidget.php.

Constructor & Destructor Documentation

◆ __construct()

MediaWiki\Widget\UsersMultiselectWidget::__construct ( array  $config = [])
array$configConfiguration options
array$config,['users']Array of usernames to use as preset data
array$config,['placeholder']Placeholder message for input
array$config,['name']Name attribute (used in forms)

Definition at line 27 of file UsersMultiselectWidget.php.

References MediaWiki\$config.

Member Function Documentation

◆ getConfig()

◆ getJavaScriptClassName()

MediaWiki\Widget\UsersMultiselectWidget::getJavaScriptClassName ( )

Definition at line 50 of file UsersMultiselectWidget.php.

Member Data Documentation

◆ $inputName

MediaWiki\Widget\UsersMultiselectWidget::$inputName = null

◆ $inputPlaceholder

MediaWiki\Widget\UsersMultiselectWidget::$inputPlaceholder = null

◆ $usersArray

MediaWiki\Widget\UsersMultiselectWidget::$usersArray = []

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