Moodle PHP Documentation 4.4
Moodle 4.4.1 (Build: 20240610) (db07c09afc5)
assign_plugin_manager Class Reference

Class that handles the display and configuration of the list of submission plugins. More...

Public Member Functions

 __construct ($subtype)
 Constructor for this assignment plugin manager.
 
 execute ($action, $plugin)
 This is the entry point for this controller class.
 
 get_sorted_plugins_list ()
 Return a list of plugins sorted by the order defined in the admin interface.
 
 hide_plugin ($plugin)
 Hide this plugin.
 
 move_plugin ($plugintomove, $dir)
 Change the order of this plugin.
 
 show_plugin ($plugin)
 Show this plugin.
 

Detailed Description

Class that handles the display and configuration of the list of submission plugins.

License
http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later

Constructor & Destructor Documentation

◆ __construct()

assign_plugin_manager::__construct ( $subtype)

Constructor for this assignment plugin manager.

Parameters
string$subtype- either assignsubmission or assignfeedback

Member Function Documentation

◆ execute()

assign_plugin_manager::execute ( $action,
$plugin )

This is the entry point for this controller class.

Parameters
string$action- The action to perform
string$plugin- Optional name of a plugin type to perform the action on
Return values
None

◆ get_sorted_plugins_list()

assign_plugin_manager::get_sorted_plugins_list ( )

Return a list of plugins sorted by the order defined in the admin interface.

Return values
arrayThe list of plugins

◆ hide_plugin()

assign_plugin_manager::hide_plugin ( $plugin)

Hide this plugin.

Parameters
string$plugin- The plugin to hide
Return values
stringThe next page to display

◆ move_plugin()

assign_plugin_manager::move_plugin ( $plugintomove,
$dir )

Change the order of this plugin.

Parameters
string$plugintomove- The plugin to move
string$dir- up or down
Return values
stringThe next page to display

◆ show_plugin()

assign_plugin_manager::show_plugin ( $plugin)

Show this plugin.

Parameters
string$plugin- The plugin to show
Return values
stringThe next page to display

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