|
Moodle PHP Documentation 5.1
Moodle 5.1dev (Build: 20250711) (9addea9f0ac)
|
Get the switch question bank rendered content. More...
Public Member Functions | |
| __construct (private int readonly int $quizcmid, private int readonly int $courseid, private int readonly int $userid) | |
| Instantiate the output class. | |
| export_for_template (renderer_base $output) | |
| Create a list of question banks the user has access to for the template. | |
Get the switch question bank rendered content.
Displays lists of shared banks the viewing user has access to.
| core_question\output\switch_question_bank::__construct | ( | private int readonly int | $quizcmid, |
| private int readonly int | $courseid, | ||
| private int readonly int | $userid ) |
Instantiate the output class.
| int | $quizcmid | quiz course module id. |
| int | $courseid | of the current course. |
| int | $userid | of the user viewing the page. |
| $quizcmid | quiz course module id |
| $courseid | id of the current course |
| $userid | id of the user viewing the page |
| core_question\output\switch_question_bank::export_for_template | ( | renderer_base | $output | ) |
Create a list of question banks the user has access to for the template.
| renderer_base | $output |
| array |
Implements core\output\templatable.