Bitrix-D7
23.9
Загрузка...
Поиск...
Не найдено
TemplateManager.php
1
<?php
2
3
namespace
Bitrix\MessageService\Providers\Base
;
4
5
class
TemplateManager
implements
\Bitrix\MessageService\Providers\TemplateManager
6
{
7
protected
string
$providerId
;
8
9
public
function
__construct
(
string
$providerId
)
10
{
11
$this->providerId =
$providerId
;
12
}
13
14
public
function
getTemplatesList
(array $context =
null
): array
15
{
16
return
[];
17
}
18
19
public
function
prepareTemplate
($templateData): array
20
{
21
return
$templateData;
22
}
23
24
public
function
isTemplatesBased
(): bool
25
{
26
return
false
;
27
}
28
29
public
function
getConfigComponentTemplatePageName
(): string
30
{
31
return
$this->providerId
;
32
}
33
}
Bitrix\MessageService\Providers\Base\TemplateManager
Definition
TemplateManager.php:6
Bitrix\MessageService\Providers\Base\TemplateManager\__construct
__construct(string $providerId)
Definition
TemplateManager.php:9
Bitrix\MessageService\Providers\Base\TemplateManager\getTemplatesList
getTemplatesList(array $context=null)
Definition
TemplateManager.php:14
Bitrix\MessageService\Providers\Base\TemplateManager\getConfigComponentTemplatePageName
getConfigComponentTemplatePageName()
Definition
TemplateManager.php:29
Bitrix\MessageService\Providers\Base\TemplateManager\prepareTemplate
prepareTemplate($templateData)
Definition
TemplateManager.php:19
Bitrix\MessageService\Providers\Base\TemplateManager\isTemplatesBased
isTemplatesBased()
Definition
TemplateManager.php:24
Bitrix\MessageService\Providers\Base\TemplateManager\$providerId
string $providerId
Definition
TemplateManager.php:7
Bitrix\MessageService\Providers\TemplateManager
Definition
TemplateManager.php:6
Bitrix\MessageService\Providers\Base
Definition
DemoManager.php:3
modules
messageservice
lib
Providers
Base
TemplateManager.php
Создано системой
1.10.0