MediaWiki REL1_40
|
Check matrix widget. More...
Inherits OOUI\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 | $values |
Check matrix widget.
Displays a matrix of checkboxes for given options
Definition at line 11 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 47 of file CheckMatrixWidget.php.
MediaWiki\Widget\CheckMatrixWidget::getConfig | ( | & | $config | ) |
Definition at line 193 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, and MediaWiki\Widget\CheckMatrixWidget\$values.
|
protected |
Definition at line 189 of file CheckMatrixWidget.php.
|
protected |
Definition at line 17 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 25 of file CheckMatrixWidget.php.
Referenced by MediaWiki\Widget\CheckMatrixWidget\getConfig().
|
protected |
Definition at line 15 of file CheckMatrixWidget.php.
Referenced by MediaWiki\Widget\CheckMatrixWidget\getConfig().
|
protected |
Definition at line 13 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 21 of file CheckMatrixWidget.php.
Referenced by MediaWiki\Widget\CheckMatrixWidget\getConfig().
|
protected |
Definition at line 23 of file CheckMatrixWidget.php.
Referenced by MediaWiki\Widget\CheckMatrixWidget\getConfig().