Moodle PHP Documentation 4.2
Moodle 4.2.8 (Build: 20240610) (2d41ac46f45)
core_question\local\bank\plugin_features_base Class Reference

Class plugin_features_base is the base class for qbank plugins. More...

Inheritance diagram for core_question\local\bank\plugin_features_base:
qbank_bulkmove\plugin_feature qbank_comment\plugin_feature qbank_customfields\plugin_feature qbank_deletequestion\plugin_feature qbank_editquestion\plugin_feature qbank_exportquestions\plugin_feature qbank_exporttoxml\plugin_feature qbank_history\plugin_feature qbank_importquestions\plugin_feature qbank_managecategories\plugin_feature qbank_previewquestion\plugin_feature qbank_statistics\plugin_feature qbank_tagquestion\plugin_feature qbank_usage\plugin_feature qbank_viewcreator\plugin_feature qbank_viewquestionname\plugin_feature qbank_viewquestiontext\plugin_feature qbank_viewquestiontype\plugin_feature

Public Member Functions

 get_bulk_actions ()
 This method will return the array objects for the bulk actions ui.
 
 get_navigation_node ()
 This method will return the object for the navigation node.
 
 get_question_columns (view $qbank)
 This method will return the array of objects to be rendered as a part of question bank columns/actions.
 

Detailed Description

Class plugin_features_base is the base class for qbank plugins.

Author
Safat Shahin safat.nosp@m.shah.nosp@m.in@ca.nosp@m.taly.nosp@m.st-au.nosp@m..net
License
http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later

Member Function Documentation

◆ get_bulk_actions()

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

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_navigation_node()

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

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_columns()

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

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

Parameters
view$qbank
Return values
array

Reimplemented in qbank_customfields\plugin_feature, and qbank_usage\plugin_feature.


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