|
| get_content () |
| Get the table content.
|
|
| get_context () |
| Get the context for this table.
|
|
| guess_base_url () |
| Provide a default implementation for guessing the base URL from the action URL.
|
|
| has_capability () |
| Check if the user has the capability to access this table.
|
|
| is_downloadable ($downloadable=null) |
| This table is not downloadable.
|
|
| out () |
| Print the table.
|
|
|
static | get_filterset_class () |
|
|
int int | $enabledplugincount = 0 |
| The number of enabled plugins of this type.
|
|
string string | $plugininfoclass |
| The plugininfo class for this plugintype.
|
|
core_plugin_manager core_plugin_manager | $pluginmanager |
|
core plugininfo base[] array | $plugins = [] |
| The plugin list.
|
|
◆ col_enabled()
core_admin\table\plugin_management_table::col_enabled |
( |
stdClass | $row | ) |
|
|
protected |
Show the enable/disable column content.
- Parameters
-
- Return values
-
◆ col_name()
core_admin\table\plugin_management_table::col_name |
( |
stdClass | $row | ) |
|
|
protected |
◆ col_settings()
core_admin\table\plugin_management_table::col_settings |
( |
stdClass | $row | ) |
|
|
protected |
◆ col_uninstall()
core_admin\table\plugin_management_table::col_uninstall |
( |
stdClass | $row | ) |
|
|
protected |
Show the Uninstall column content.
- Parameters
-
- Return values
-
◆ get_action_url()
core_admin\table\plugin_management_table::get_action_url |
( |
array | $params = [] | ) |
|
|
abstractprotected |
◆ get_column_list()
core_admin\table\plugin_management_table::get_column_list |
( |
| ) |
|
|
protected |
◆ get_context()
core_admin\table\plugin_management_table::get_context |
( |
| ) |
|
Get the context for this table.
- Return values
-
◆ get_dynamic_table_html_end()
core_admin\table\plugin_management_table::get_dynamic_table_html_end |
( |
| ) |
|
|
protected |
Add JS specific to this implementation.
- Return values
-
◆ get_plugintype()
core_admin\table\plugin_management_table::get_plugintype |
( |
| ) |
|
|
abstractprotected |
◆ get_row_class()
core_admin\table\plugin_management_table::get_row_class |
( |
| $row | ) |
|
|
protected |
Get any class to add to the row.
- Parameters
-
- Return values
-
◆ get_sorted_plugins()
core_admin\table\plugin_management_table::get_sorted_plugins |
( |
| ) |
|
|
protected |
Get the list of sorted plugins.
- Return values
-
◆ get_sortorder_service()
core_admin\table\plugin_management_table::get_sortorder_service |
( |
| ) |
|
|
protected |
Get the web service method used to order plugins.
- Return values
-
◆ get_table_id()
core_admin\table\plugin_management_table::get_table_id |
( |
| ) |
|
|
protected |
◆ get_table_js_module()
core_admin\table\plugin_management_table::get_table_js_module |
( |
| ) |
|
|
protected |
◆ get_toggle_service()
core_admin\table\plugin_management_table::get_toggle_service |
( |
| ) |
|
|
protected |
Get the web service method used to toggle state.
- Return values
-
◆ guess_base_url()
core_admin\table\plugin_management_table::guess_base_url |
( |
| ) |
|
◆ has_capability()
core_admin\table\plugin_management_table::has_capability |
( |
| ) |
|
Check if the user has the capability to access this table.
Default implementation for plugin management tables is to require 'moodle/site:config' capability
- Return values
-
bool | Return true if capability check passed. |
◆ is_downloadable()
core_admin\table\plugin_management_table::is_downloadable |
( |
| $downloadable = null | ) |
|
This table is not downloadable.
- Parameters
-
- Return values
-
◆ order_plugins()
core_admin\table\plugin_management_table::order_plugins |
( |
array | $plugins | ) |
|
|
protected |
◆ sort_plugins()
core_admin\table\plugin_management_table::sort_plugins |
( |
array | $plugins | ) |
|
|
protected |
Sort the plugins list.
Note: This only applies to plugins which do not support ordering.
- Parameters
-
- Return values
-
◆ supports_disabling()
core_admin\table\plugin_management_table::supports_disabling |
( |
| ) |
|
|
protected |
Whether this plugin type supports the disabling of plugins.
- Return values
-
◆ supports_ordering()
core_admin\table\plugin_management_table::supports_ordering |
( |
| ) |
|
|
protected |
Whether this table should show ordering fields.
- Return values
-
The documentation for this class was generated from the following file:
- admin/classes/table/plugin_management_table.php