MediaWiki master
|
Check matrix widget. More...
Inherits Widget.
Public Member Functions | |
__construct (array $config=[]) | |
Operates similarly to MultiSelectWidget, but instead of using an array of options, uses an array of rows and an array of columns to dynamically construct a matrix of options. | |
getConfig (&$config) | |
Protected Member Functions | |
getJavaScriptClassName () | |
Protected Attributes | |
array | $columns |
array | $forcedOff |
array | $forcedOn |
string null | $id |
string null | $name |
array | $rows |
array | $tooltips |
array | $tooltipsHtml |
array | $values |
Check matrix widget.
Displays a matrix of checkboxes for given options
Definition at line 17 of file CheckMatrixWidget.php.
MediaWiki\Widget\CheckMatrixWidget::__construct | ( | array | $config = [] | ) |
Operates similarly to MultiSelectWidget, but instead of using an array of options, uses an array of rows and an array of columns to dynamically construct a matrix of options.
The tags used to identify a particular cell are of the form "columnName-rowName"
array | $config | Configuration array with the following options:
|
Definition at line 58 of file CheckMatrixWidget.php.
MediaWiki\Widget\CheckMatrixWidget::getConfig | ( | & | $config | ) |
Definition at line 211 of file CheckMatrixWidget.php.
References MediaWiki\Widget\CheckMatrixWidget\$columns, MediaWiki\Widget\CheckMatrixWidget\$forcedOff, MediaWiki\Widget\CheckMatrixWidget\$forcedOn, MediaWiki\Widget\CheckMatrixWidget\$id, MediaWiki\Widget\CheckMatrixWidget\$name, MediaWiki\Widget\CheckMatrixWidget\$rows, MediaWiki\Widget\CheckMatrixWidget\$tooltips, MediaWiki\Widget\CheckMatrixWidget\$tooltipsHtml, and MediaWiki\Widget\CheckMatrixWidget\$values.
|
protected |
Definition at line 207 of file CheckMatrixWidget.php.
|
protected |
Definition at line 23 of file CheckMatrixWidget.php.
Referenced by MediaWiki\Widget\CheckMatrixWidget\getConfig().
|
protected |
Definition at line 35 of file CheckMatrixWidget.php.
Referenced by MediaWiki\Widget\CheckMatrixWidget\getConfig().
|
protected |
Definition at line 33 of file CheckMatrixWidget.php.
Referenced by MediaWiki\Widget\CheckMatrixWidget\getConfig().
|
protected |
Definition at line 21 of file CheckMatrixWidget.php.
Referenced by MediaWiki\Widget\CheckMatrixWidget\getConfig().
|
protected |
Definition at line 19 of file CheckMatrixWidget.php.
Referenced by MediaWiki\Widget\CheckMatrixWidget\getConfig().
|
protected |
Definition at line 25 of file CheckMatrixWidget.php.
Referenced by MediaWiki\Widget\CheckMatrixWidget\getConfig().
|
protected |
Definition at line 27 of file CheckMatrixWidget.php.
Referenced by MediaWiki\Widget\CheckMatrixWidget\getConfig().
|
protected |
Definition at line 29 of file CheckMatrixWidget.php.
Referenced by MediaWiki\Widget\CheckMatrixWidget\getConfig().
|
protected |
Definition at line 31 of file CheckMatrixWidget.php.
Referenced by MediaWiki\Widget\CheckMatrixWidget\getConfig().