Bitrix-D7 23.9
 
Загрузка...
Поиск...
Не найдено
twilio2.php
1<?php
2
4
7
8class Twilio2 extends Twilio
9{
10 public const ID = 'twilio2';
11
12 public static function isSupported()
13 {
14 return (
16 || Option::get('messageservice', 'twilio2_enabled', 'N') === 'Y'
17 );
18 }
19
20 public function getName()
21 {
22 return parent::getName() . ' (2)';
23 }
24
25 public function getShortName()
26 {
27 return parent::getShortName() . ' (2)';
28 }
29
30 protected function getCallbackUrl()
31 {
32 return null;
33 }
34
35 public function getConfigComponentTemplatePageName(): string
36 {
37 return parent::getId();
38 }
39}
static isModuleInstalled($moduleName)