See Release Notes
Long Term Support Release
Differences Between: [Versions 310 and 401] [Versions 311 and 401] [Versions 39 and 401]
This file contains the classes for the admin settings of the assign module.
Copyright: | 2012 NetSpot {@link http://www.netspot.com.au} |
License: | http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later |
File Size: | 372 lines (12 kb) |
Included or required: | 0 times |
Referenced: | 2 times |
Includes or requires: | 0 files |
assign_admin_page_manage_assign_plugins:: (2 methods):
__construct()
search()
assign_plugin_manager:: (11 methods):
__construct()
get_sorted_plugins_list()
format_icon_link()
view_plugins_table()
view_header()
view_footer()
check_permissions()
hide_plugin()
move_plugin()
show_plugin()
execute()
Class: assign_admin_page_manage_assign_plugins - X-Ref
Admin external page that displays a list of the installed submission plugins.Class: assign_plugin_manager - X-Ref
Class that handles the display and configuration of the list of submission plugins.__construct($subtype) X-Ref |
Constructor for this assignment plugin manager param: string $subtype - either assignsubmission or assignfeedback |
get_sorted_plugins_list() X-Ref |
Return a list of plugins sorted by the order defined in the admin interface return: array The list of plugins |
format_icon_link($action, $plugin, $icon, $alt) X-Ref |
Util function for writing an action icon link param: string $action URL parameter to include in the link param: string $plugin URL parameter to include in the link param: string $icon The key to the icon to use (e.g. 't/up') param: string $alt The string description of the link used as the title and alt text return: string The icon/link |
view_plugins_table() X-Ref |
Write the HTML for the submission plugins table. return: None |
view_header() X-Ref |
Write the page header return: None |
view_footer() X-Ref |
Write the page footer return: None |
check_permissions() X-Ref |
Check this user has permission to edit the list of installed plugins return: None |
hide_plugin($plugin) X-Ref |
Hide this plugin. param: string $plugin - The plugin to hide return: string The next page to display |
move_plugin($plugintomove, $dir) X-Ref |
Change the order of this plugin. param: string $plugintomove - The plugin to move param: string $dir - up or down return: string The next page to display |
show_plugin($plugin) X-Ref |
Show this plugin. param: string $plugin - The plugin to show return: string The next page to display |
execute($action, $plugin) X-Ref |
This is the entry point for this controller class. param: string $action - The action to perform param: string $plugin - Optional name of a plugin type to perform the action on return: None |