Moodle PHP Documentation 4.5
Moodle 4.5dev (Build: 20240606) (d3ae1391abe)
qbank_columnsortorder\plugin_feature Class Reference
Inheritance diagram for qbank_columnsortorder\plugin_feature:
core_question\local\bank\plugin_features_base

Public Member Functions

 get_bulk_actions ()
 This method will return the array objects for the bulk actions ui.
 
 get_column_manager ()
 Override the default column manager.
 
 get_navigation_node ()
 This method will return the object for the navigation node.
 
 get_question_actions (view $qbank)
 This method will return the array of objects to be rendered as a part of question bank actions.
 
 get_question_bank_controls (view $qbank, context $context, int $categoryid)
 Return add and reset column controls.
 
 get_question_columns (view $qbank)
 This method will return the array of objects to be rendered as a part of question bank columns.
 
 get_question_filters (view $qbank=null)
 Return search conditions for the plugin.
 

Member Function Documentation

◆ get_bulk_actions()

core_question\local\bank\plugin_features_base::get_bulk_actions ( )
inherited

This method will return the array objects for the bulk actions ui.

Return values
bulk_action_base[]

Reimplemented in qbank_bulkmove\plugin_feature, and qbank_deletequestion\plugin_feature.

◆ get_column_manager()

qbank_columnsortorder\plugin_feature::get_column_manager ( )

Override the default column manager.

This will set the column order, size and visibility based on the global settings defined on the admin screen, or on the current user's preference if they have set one.

Return values
?column_manager_base

Reimplemented from core_question\local\bank\plugin_features_base.

◆ get_navigation_node()

core_question\local\bank\plugin_features_base::get_navigation_node ( )
inherited

This method will return the object for the navigation node.

Return values
null|navigation_node_base

Reimplemented in qbank_exportquestions\plugin_feature, qbank_importquestions\plugin_feature, and qbank_managecategories\plugin_feature.

◆ get_question_actions()

core_question\local\bank\plugin_features_base::get_question_actions ( view $qbank)
inherited

This method will return the array of objects to be rendered as a part of question bank actions.

Parameters
view$qbank
Return values
question_action_base[]

Reimplemented in qbank_editquestion\plugin_feature, and qbank_history\plugin_feature.

◆ get_question_bank_controls()

qbank_columnsortorder\plugin_feature::get_question_bank_controls ( view $qbank,
context $context,
int $categoryid )

Return add and reset column controls.

Parameters
view$qbankThe question bank view.
context$contextThe current context, for permission checks.
int$categoryidThe current question category ID.
Return values
renderable[]

Reimplemented from core_question\local\bank\plugin_features_base.

◆ get_question_columns()

core_question\local\bank\plugin_features_base::get_question_columns ( view $qbank)
inherited

This method will return the array of objects to be rendered as a part of question bank columns.

Parameters
view$qbank
Return values
array

Reimplemented in qbank_customfields\plugin_feature, qbank_usage\plugin_feature, and qbank_viewquestiontext\plugin_feature.

◆ get_question_filters()

core_question\local\bank\plugin_features_base::get_question_filters ( view $qbank = null)
inherited

Return search conditions for the plugin.

Parameters
view | null$qbank
Return values
condition[]

Reimplemented in mod_quiz\question\bank\quiz_managecategories_feature, qbank_deletequestion\plugin_feature, qbank_managecategories\plugin_feature, and qbank_tagquestion\plugin_feature.


The documentation for this class was generated from the following file: