|
| __construct () |
| Constructor for the AI provider table.
|
|
| col_delete (\stdClass $row) |
| The column to show the delete action for the provider instance.
|
|
| col_enabled (\stdClass $row) |
| The column for enabled or disabled status of the provider instance.
|
|
| col_name (\stdClass $row) |
| The column for the provider instance Name.
|
|
| col_provider (\stdClass $row) |
| The column for the provider plugin name.
|
|
| col_settings (\stdClass $row) |
| The column to show the settings of the provider instance.
|
|
| get_content () |
| Get the content of the table.
|
|
| get_context () |
|
| guess_base_url () |
|
| has_capability () |
|
| out () |
| Add the row data for the table.
|
|
|
array array | $aiproviders = [] |
| $aiproviders List of configured provider instances.
|
|
int int | $enabledprovidercount = 0 |
| The number of enabled provider instances.
|
|
◆ col_delete()
core_ai\table\aiprovider_management_table::col_delete |
( |
\stdClass | $row | ) |
|
The column to show the delete action for the provider instance.
- Parameters
-
stdClass | $row | The row object. |
- Return values
-
◆ col_enabled()
core_ai\table\aiprovider_management_table::col_enabled |
( |
\stdClass | $row | ) |
|
The column for enabled or disabled status of the provider instance.
- Parameters
-
stdClass | $row | The row object |
- Return values
-
◆ col_name()
core_ai\table\aiprovider_management_table::col_name |
( |
\stdClass | $row | ) |
|
The column for the provider instance Name.
- Parameters
-
stdClass | $row | The row object |
- Return values
-
◆ col_order()
core_ai\table\aiprovider_management_table::col_order |
( |
\stdClass | $row | ) |
|
|
protected |
Generates the HTML for the order column with up and down controls.
- Parameters
-
stdClass | $row | An object representing a row of data. |
- Return values
-
string | The HTML string for the order controls, or an empty string if no controls are needed. |
◆ col_provider()
core_ai\table\aiprovider_management_table::col_provider |
( |
\stdClass | $row | ) |
|
The column for the provider plugin name.
- Parameters
-
stdClass | $row | The row object |
- Return values
-
◆ col_settings()
core_ai\table\aiprovider_management_table::col_settings |
( |
\stdClass | $row | ) |
|
The column to show the settings of the provider instance.
- Parameters
-
stdClass | $row | The row object. |
- Return values
-
◆ get_action_url()
core_ai\table\aiprovider_management_table::get_action_url |
( |
array | $params = [] | ) |
|
|
protected |
Get the action URL for the table.
- Parameters
-
array | $params | The params to pass to the URL. |
- Return values
-
- Deprecated
- since 5.0
◆ get_base_action_url()
core_ai\table\aiprovider_management_table::get_base_action_url |
( |
array | $params = [] | ) |
|
|
protected |
Get the action URL for this table.
The action URL is used to perform all actions when JS is not available.
- Parameters
-
- Return values
-
◆ get_column_list()
core_ai\table\aiprovider_management_table::get_column_list |
( |
| ) |
|
|
protected |
Get the column list for the table.
- Return values
-
◆ get_content()
core_ai\table\aiprovider_management_table::get_content |
( |
| ) |
|
Get the content of the table.
- Return values
-
◆ get_delete_service()
core_ai\table\aiprovider_management_table::get_delete_service |
( |
| ) |
|
|
protected |
Webservice for delete.
- Return values
-
◆ get_plugintype()
core_ai\table\aiprovider_management_table::get_plugintype |
( |
| ) |
|
|
protected |
Get the plugin type for the table.
- Return values
-
- Deprecated
- since 5.0
◆ get_providers()
core_ai\table\aiprovider_management_table::get_providers |
( |
| ) |
|
|
protected |
Get the configured ai providers from the manager.
- Return values
-
◆ get_row_class()
core_ai\table\aiprovider_management_table::get_row_class |
( |
\stdClass | $row | ) |
|
|
protected |
Get the class for row whether is dimmed or not according to enabled or disabled.
- Parameters
-
stdClass | $row | The row object |
- Return values
-
◆ get_sortorder_service()
core_ai\table\aiprovider_management_table::get_sortorder_service |
( |
| ) |
|
|
protected |
Get the web service method used to order provider instances.
- Return values
-
◆ get_table_id()
core_ai\table\aiprovider_management_table::get_table_id |
( |
| ) |
|
|
protected |
Get the table id for the table.
- Return values
-
◆ get_table_js_module()
core_ai\table\aiprovider_management_table::get_table_js_module |
( |
| ) |
|
|
protected |
Get the js module needed for the table.
This module can include table specific ajax calls etc.
- Return values
-
◆ get_toggle_service()
core_ai\table\aiprovider_management_table::get_toggle_service |
( |
| ) |
|
|
protected |
Webservice for toggle.
- Return values
-
The documentation for this class was generated from the following file:
- ai/classes/table/aiprovider_management_table.php