MediaWiki  master
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

bool $ipAllowed
bool $ipRangeAllowed
array $ipRangeLimits
- Protected Attributes inherited from MediaWiki\Widget\TagMultiselectWidget
bool $allowArbitrary
string[] null $allowedValues
array $input
string null $inputName
string null $inputPlaceholder
array $selectedArray
int null $tagLimit

Detailed Description

Widget to select multiple users.

2017 MediaWiki Widgets Team and others; see AUTHORS.txt

Definition at line 11 of file UsersMultiselectWidget.php.

Constructor & Destructor Documentation

◆ __construct()

MediaWiki\Widget\UsersMultiselectWidget::__construct ( array  $config = [])
array$configConfiguration options
  • bool $config['ipAllowed'] Accept valid IP addresses
  • bool $config['ipRangeAllowed'] Accept valid IP ranges
  • array $config['ipRangeLimits'] Maximum allowed IP range sizes

Reimplemented from MediaWiki\Widget\TagMultiselectWidget.

Definition at line 27 of file UsersMultiselectWidget.php.

Member Function Documentation

◆ getConfig()

◆ getJavaScriptClassName()

MediaWiki\Widget\UsersMultiselectWidget::getJavaScriptClassName ( )

Reimplemented from MediaWiki\Widget\TagMultiselectWidget.

Definition at line 43 of file UsersMultiselectWidget.php.

Member Data Documentation

◆ $ipAllowed

bool MediaWiki\Widget\UsersMultiselectWidget::$ipAllowed

◆ $ipRangeAllowed

bool MediaWiki\Widget\UsersMultiselectWidget::$ipRangeAllowed

◆ $ipRangeLimits

array MediaWiki\Widget\UsersMultiselectWidget::$ipRangeLimits

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