Bitrix-D7
23.9
Загрузка...
Поиск...
Не найдено
Utils.php
1
<?php
2
3
namespace
Bitrix\MessageService\Providers\Edna\SMS
;
4
5
use
Bitrix\Main\Result
;
6
use
Bitrix\MessageService\Providers
;
7
use
Bitrix\MessageService\Providers\Edna\EdnaUtils
;
8
9
10
class
Utils
extends
EdnaUtils
11
{
12
public
function
getSentTemplateMessage
(
string
$from,
string
$to): string
13
{
14
return
''
;
15
}
16
17
public
function
initializeDefaultExternalSender
(): Providers\
ExternalSender
18
{
19
return
new
ExternalSender
(
20
$this->optionManager->getOption(Providers\
Constants
\InternalOption::API_KEY),
21
RegionHelper::getApiEndPoint
(),
22
$this->optionManager->getSocketTimeout(),
23
$this->optionManager->getStreamTimeout()
24
);
25
}
26
27
public
function
getMessageTemplates
(
string
$subject =
''
):
Result
28
{
29
return
new
Result
();
30
}
31
}
Bitrix\Main\ORM\Data\Result
Definition
result.php:16
Bitrix\Main\Result
Definition
result.php:14
Bitrix\MessageService\Providers\Edna\EdnaUtils
Definition
EdnaUtils.php:12
Bitrix\MessageService\Providers\Edna\SMS\Constants
Definition
Constants.php:8
Bitrix\MessageService\Providers\Edna\SMS\ExternalSender
Definition
ExternalSender.php:16
Bitrix\MessageService\Providers\Edna\SMS\RegionHelper\getApiEndPoint
static getApiEndPoint()
Definition
RegionHelper.php:6
Bitrix\MessageService\Providers\Edna\SMS\Utils
Definition
Utils.php:11
Bitrix\MessageService\Providers\Edna\SMS\Utils\getSentTemplateMessage
getSentTemplateMessage(string $from, string $to)
Definition
Utils.php:12
Bitrix\MessageService\Providers\Edna\SMS\Utils\getMessageTemplates
getMessageTemplates(string $subject='')
Definition
Utils.php:27
Bitrix\MessageService\Providers\Edna\SMS\Utils\initializeDefaultExternalSender
initializeDefaultExternalSender()
Definition
Utils.php:17
Bitrix\MessageService\Providers\Edna\SMS
Definition
Constants.php:3
Bitrix\MessageService\Providers
modules
messageservice
lib
Providers
Edna
SMS
Utils.php
Создано системой
1.10.0