|
|
column_manager column_manager | $columnmanager |
| | The column manager for getting the list of hidden columns.
|
| |
|
bool bool | $global |
| | True if we are changing global config, false for user preferences.
|
| |
|
moodle_url moodle_url | $returnurl |
| | The current page URL to redirect back to.
|
| |
◆ __construct()
| qbank_columnsortorder\output\add_column::__construct |
( |
column_manager | $columnmanager, |
|
|
moodle_url | $returnurl, |
|
|
bool | $global = false ) |
Store arguments for generating template context.
- Parameters
-
| column_manager | $columnmanager | |
| moodle_url | $returnurl | |
| bool | $global | |
◆ export_for_template()
| qbank_columnsortorder\output\add_column::export_for_template |
( |
renderer_base | $output | ) |
|
Function to export the renderer data in a format that is suitable for a mustache template.
This means:
- No complex types - only stdClass, array, int, string, float, bool
- Any additional info that is required for the template is pre-calculated (e.g. capability checks).
- Parameters
-
| renderer_base | $output | Used to do a final render of any components that need to be rendered for export. |
- Return values
-
Implements templatable.
The documentation for this class was generated from the following file:
- question/bank/columnsortorder/classes/output/add_column.php