Introduced a new GatewayAPI module to handle SMS messaging integration. This includes interfaces, core classes for API interaction, configuration management, and routing for config retrieval and update. Added necessary initializations in `index.php` to integrate the module seamlessly.
29 lines
527 B
PHP
29 lines
527 B
PHP
<?php
|
|
|
|
namespace gatewayapi\config;
|
|
|
|
use Exception;
|
|
use traits\module_config_variable;
|
|
|
|
class gatewayapi_sender_c
|
|
{
|
|
use module_config_variable;
|
|
|
|
/**
|
|
* @throws Exception
|
|
*/
|
|
public function __construct()
|
|
{
|
|
self::setupConfigVariable(
|
|
'GatewayAPI',
|
|
'sender',
|
|
'string',
|
|
true,
|
|
null,
|
|
'The sender name to use for the GatewayAPI',
|
|
'Virksomhedsnavn',
|
|
false,
|
|
'Virksomhedsnavn',
|
|
);
|
|
}
|
|
} |