|
| | __construct (protected stdClass readonly stdClass $course, protected array readonly array $bankplugins) |
| | Instantiate the output class.
|
| |
| | export_for_template (renderer_base $output) |
| | Dynamically create an 'add' link for each module type that supports FEATURE_PUBLISHES_QUESTIONS.
|
| |
◆ __construct()
| core_question\output\add_bank_list::__construct |
( |
protected stdClass readonly stdClass | $course, |
|
|
protected array readonly array | $bankplugins ) |
Instantiate the output class.
- Parameters
-
| stdClass | $course | the course currently being viewed. |
| array | $bankplugins | { |
- See also
- question_bank_helper::get_activity_types_with_shareable_questions()}
- Parameters
-
| $course | $course the viewing course |
| $bankplugins | $bankplugins shareable bank type plugins |
◆ export_for_template()
| core_question\output\add_bank_list::export_for_template |
( |
renderer_base | $output | ) |
|
Dynamically create an 'add' link for each module type that supports FEATURE_PUBLISHES_QUESTIONS.
- Parameters
-
- Return values
-
Implements core\output\templatable.
The documentation for this class was generated from the following file:
- question/classes/output/add_bank_list.php