|
array bool | $columnorder |
| Column order as set in config_plugins 'class' => 'position', ie: question_type_column => 3.
|
|
array bool | $disabledcolumns |
| Disabled columns in config_plugins table.
|
|
◆ disable_columns()
qbank_columnsortorder\column_manager::disable_columns |
( |
string | $plugin | ) |
|
Disables columns.
- Parameters
-
◆ enable_columns()
qbank_columnsortorder\column_manager::enable_columns |
( |
string | $plugin | ) |
|
Enables columns.
- Parameters
-
◆ get_columns()
qbank_columnsortorder\column_manager::get_columns |
( |
| ) |
|
Get enabled columns.
- Return values
-
◆ get_disabled_columns()
qbank_columnsortorder\column_manager::get_disabled_columns |
( |
| ) |
|
Get disabled columns.
- Return values
-
◆ get_questionbank()
qbank_columnsortorder\column_manager::get_questionbank |
( |
| ) |
|
|
protected |
◆ get_sorted_columns()
qbank_columnsortorder\column_manager::get_sorted_columns |
( |
| $ordertosort | ) |
|
Orders columns in the question bank view according to config_plugins table 'qbank_columnsortorder' config.
- Parameters
-
array | $ordertosort | Unordered array of columns |
- Return values
-
◆ set_column_order()
static qbank_columnsortorder\column_manager::set_column_order |
( |
array | $columns | ) |
|
|
static |
Sets column order in the qbank_columnsortorder plugin config.
- Parameters
-
array | $columns | Column order to set. |
◆ update_config()
qbank_columnsortorder\column_manager::update_config |
( |
| $enabledcolumns, |
|
|
| $disabledcolumns ) |
|
protected |
Updates enabled and disabled config for 'qbank_columnsortorder' plugin.
- Parameters
-
array | $enabledcolumns | Enabled columns to set. |
array | $disabledcolumns | Disabled columns to set. |
The documentation for this class was generated from the following file:
- question/bank/columnsortorder/classes/column_manager.php