|
| | __construct (int $categoryid, array $params, bool $canadd) |
| | Store data for building the template context.
|
| |
|
| export_for_template (renderer_base $output) |
| |
|
| bool bool | $canadd |
| | $canadd True if the add question button should be displayed.
|
| |
|
int int | $categoryid |
| | $categoryid The ID of the category the quesiton will be added to.
|
| |
|
array array | $params |
| | $params URL parameters to pass to the add question form.
|
| |
◆ __construct()
| qbank_editquestion\output\add_new_question::__construct |
( |
int | $categoryid, |
|
|
array | $params, |
|
|
bool | $canadd ) |
Store data for building the template context.
- Parameters
-
| int | $categoryid | |
| array | $params | |
| bool | $canadd | |
◆ $canadd
| bool bool qbank_editquestion\output\add_new_question::$canadd |
|
protected |
$canadd True if the add question button should be displayed.
If false, a placeholder will be shown.
The documentation for this class was generated from the following file:
- question/bank/editquestion/classes/output/add_new_question.php