Search moodle.org's
Developer Documentation

See Release Notes

  • Bug fixes for general core bugs in 4.2.x will end 22 April 2024 (12 months).
  • Bug fixes for security issues in 4.2.x will end 7 October 2024 (18 months).
  • PHP version: minimum PHP 8.0.0 Note: minimum PHP version has increased since Moodle 4.1. PHP 8.1.x is supported too.

(no description)

File Size: 503 lines (15 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class


Class: plugin_management_table  - X-Ref

Plugin Management table.

__construct()   X-Ref
No description

get_sorted_plugins()   X-Ref
Get the list of sorted plugins.

return: \core\plugininfo\base[]

sort_plugins(array $plugins)   X-Ref
Sort the plugins list.

Note: This only applies to plugins which do not support ordering.

param: \core\plugininfo\base[] $plugins
return: \core\plugininfo\base[]

setup_column_configuration()   X-Ref
Set up the column configuration for this table.


order_plugins(array $plugins)   X-Ref
Set the standard order of the plugins.

param: array $plugins
return: array

guess_base_url()   X-Ref
Provide a default implementation for guessing the base URL from the action URL.


get_toggle_service()   X-Ref
Get the web service method used to toggle state.

return: null|string

get_sortorder_service()   X-Ref
Get the web service method used to order plugins.

return: null|string

get_table_id()   X-Ref
Get the ID of the table.

return: string

get_column_list()   X-Ref
Get a list of the column titles

return: string[]

get_columns_with_help()   X-Ref
No description

get_context()   X-Ref
Get the context for this table.

return: context_system

get_content()   X-Ref
Get the table content.


out()   X-Ref
Print the table.


is_downloadable($downloadable = null)   X-Ref
This table is not downloadable.

param: bool $downloadable
return: bool

col_name(stdClass $row)   X-Ref
Show the name column content.

param: stdClass $row
return: string

col_enabled(stdClass $row)   X-Ref
Show the enable/disable column content.

param: stdClass $row
return: string

col_order(stdClass $row)   X-Ref
No description

col_settings(stdClass $row)   X-Ref
Show the settings column content.

param: stdClass $row
return: string

col_uninstall(stdClass $row)   X-Ref
Show the Uninstall column content.

param: stdClass $row
return: string

get_table_js_module()   X-Ref
Get the JS module used to manage this table.

This should be a class which extends 'core_admin/plugin_management_table'.

return: string

get_dynamic_table_html_end()   X-Ref
Add JS specific to this implementation.

return: string

get_row_class($row)   X-Ref
Get any class to add to the row.

param: mixed $row
return: string

get_filterset_class()   X-Ref
No description

supports_disabling()   X-Ref
Whether this plugin type supports the disabling of plugins.

return: bool

supports_ordering()   X-Ref
Whether this table should show ordering fields.

return: bool