Moodle PHP Documentation 5.0
Moodle 5.0.1+ (Build: 20250711) (61af040cd5f)
core_sms\table\sms_gateway_table Class Reference
Inheritance diagram for core_sms\table\sms_gateway_table:

Public Member Functions

 __construct ()
 Constructor for the sms gateway table.
 
 col_actions (stdClass $row)
 The column to show the actions of the gateway instance.
 
 col_enabled (stdClass $row)
 The column for enabled or disabled status of the gateway instance.
 
 col_gateway (stdClass $row)
 The column for the Gateway plugin name.
 
 col_name (stdClass $row)
 The column for the gateway instance Name.
 
 get_content ()
 Get the content of the table.
 
 get_context ()
 
 get_gateway_name (string $gateway)
 Get the gateway name according to the gateway class from db.
 
 guess_base_url ()
 
 has_capability ()
 
 out ()
 Add the row data for the table.
 

Protected Member Functions

 get_column_list ()
 Get the columns for the table.
 
 get_dynamic_table_html_end ()
 
 get_row_class (stdClass $row)
 Get the class for row whether is dimmed or not according to enabled or disabled.
 
 get_sms_gateways ()
 Get the sms gateways from the manager.
 
 get_table_id ()
 Get the table id for the table.
 
 get_table_js_module ()
 Get the js module needed for the table.
 
 get_toggle_service ()
 Webservice for toggle.
 
 setup_column_configuration ()
 Setup the column configs for the table.
 

Protected Attributes

array array $smsgateways = []
 $smsgateways List of gateway instances from the db.
 

Member Function Documentation

◆ col_actions()

core_sms\table\sms_gateway_table::col_actions ( stdClass $row)

The column to show the actions of the gateway instance.

Parameters
stdClass$rowThe row object.
Return values
string

◆ col_enabled()

core_sms\table\sms_gateway_table::col_enabled ( stdClass $row)

The column for enabled or disabled status of the gateway instance.

Parameters
stdClass$rowThe row object
Return values
string

◆ col_gateway()

core_sms\table\sms_gateway_table::col_gateway ( stdClass $row)

The column for the Gateway plugin name.

Parameters
stdClass$rowThe row object
Return values
string

◆ col_name()

core_sms\table\sms_gateway_table::col_name ( stdClass $row)

The column for the gateway instance Name.

Parameters
stdClass$rowThe row object
Return values
string

◆ get_column_list()

core_sms\table\sms_gateway_table::get_column_list ( )
protected

Get the columns for the table.

Return values
array

◆ get_content()

core_sms\table\sms_gateway_table::get_content ( )

Get the content of the table.

Return values
string

◆ get_gateway_name()

core_sms\table\sms_gateway_table::get_gateway_name ( string $gateway)

Get the gateway name according to the gateway class from db.

Parameters
string$gatewayThe name of the gateway
Return values
string

◆ get_row_class()

core_sms\table\sms_gateway_table::get_row_class ( stdClass $row)
protected

Get the class for row whether is dimmed or not according to enabled or disabled.

Parameters
stdClass$rowThe row object
Return values
string

◆ get_sms_gateways()

core_sms\table\sms_gateway_table::get_sms_gateways ( )
protected

Get the sms gateways from the manager.

Return values
array

◆ get_table_id()

core_sms\table\sms_gateway_table::get_table_id ( )
protected

Get the table id for the table.

Return values
string

◆ get_table_js_module()

core_sms\table\sms_gateway_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
string

◆ get_toggle_service()

core_sms\table\sms_gateway_table::get_toggle_service ( )
protected

Webservice for toggle.

Return values
string

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