Bitrix-D7 23.9
 
Загрузка...
Поиск...
Не найдено
TemplateManager.php
1<?php
2
4
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}