MediaWiki REL1_35
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
array $input
 
string null $inputName
 
string null $inputPlaceholder
 
array $selectedArray
 
int null $tagLimit
 

Detailed Description

Widget to select multiple users.

Note
2017 MediaWiki Widgets Team and others; see AUTHORS.txt
MIT

Definition at line 11 of file UsersMultiselectWidget.php.

Constructor & Destructor Documentation

◆ __construct()

MediaWiki\Widget\UsersMultiselectWidget::__construct ( array  $config = [])
Parameters
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 ( )
protected

Definition at line 43 of file UsersMultiselectWidget.php.

Member Data Documentation

◆ $ipAllowed

bool MediaWiki\Widget\UsersMultiselectWidget::$ipAllowed
protected

◆ $ipRangeAllowed

bool MediaWiki\Widget\UsersMultiselectWidget::$ipRangeAllowed
protected

◆ $ipRangeLimits

array MediaWiki\Widget\UsersMultiselectWidget::$ipRangeLimits
protected

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