◆ get_bulk_actions()
core_question\local\bank\plugin_features_base::get_bulk_actions |
( |
view | $qbank | ) |
|
|
inherited |
◆ get_column_manager()
core_question\local\bank\plugin_features_base::get_column_manager |
( |
| ) |
|
|
inherited |
◆ get_navigation_node()
core_question\local\bank\plugin_features_base::get_navigation_node |
( |
| ) |
|
|
inherited |
◆ get_question_actions()
core_question\local\bank\plugin_features_base::get_question_actions |
( |
view | $qbank | ) |
|
|
inherited |
◆ get_question_bank_controls()
core_question\local\bank\plugin_features_base::get_question_bank_controls |
( |
view | $qbank, |
|
|
context | $context, |
|
|
int | $categoryid ) |
|
inherited |
This method will return an array of renderable objects, for adding additional controls to the question bank screen.
The array returned can include a numeric index for each object, to indicate the position in which it should be displayed relative to other controls. If two plugins return controls with the same position, they will be displayed after one another, based on the alphabetical order of the plugin component names.
- Parameters
-
view | $qbank | The question bank view. |
context | $context | The current context, for permission checks. |
int | $categoryid | The current question category ID. |
- Return values
-
Reimplemented in qbank_columnsortorder\plugin_feature, qbank_editquestion\plugin_feature, and qbank_viewquestiontext\plugin_feature.
◆ get_question_columns() [1/2]
core_question\local\bank\plugin_features_base::get_question_columns |
( |
view | $qbank | ) |
|
|
inherited |
◆ get_question_columns() [2/2]
Get the columns provided by this plugin.
- Parameters
-
- Return values
-
◆ get_question_filters()
core_question\local\bank\plugin_features_base::get_question_filters |
( |
?view | $qbank = null | ) |
|
|
inherited |
Return search conditions for the plugin.
This is used by question bank view classes to get the list of available filters to display in the filter UI.
This is also used to get the list of available filters for other purposes, for example resolving the list of questions selected by a set of filters, in which case the $qbank
argument may be null
{
- See also
- filter_condition_manager::get_condition_classes()}.
- Parameters
-
view | null | $qbank | The current question bank view the filters are being rendered for, for example the main question bank page, or the random question view. |
- Return values
-
Reimplemented in mod_quiz\question\bank\quiz_managecategories_feature, qbank_deletequestion\plugin_feature, qbank_editquestion\plugin_feature, qbank_managecategories\plugin_feature, qbank_tagquestion\plugin_feature, qbank_viewcreator\plugin_feature, qbank_viewquestionname\plugin_feature, qbank_viewquestiontext\plugin_feature, and qbank_viewquestiontype\plugin_feature.
The documentation for this class was generated from the following file:
- question/bank/comment/classes/plugin_feature.php