Bitrix-D7 23.9
 
Загрузка...
Поиск...
Не найдено
Класс Utils
+ Граф наследования:Utils:

Открытые члены

 getMessageTemplates (string $subject='')
 
 prepareTemplateMessageText (array $message)
 
 getSentTemplateMessage (string $from, string $to)
 
- Открытые члены унаследованные от EdnaUtils
 __construct (string $providerId, Providers\OptionManager $optionManager)
 
 getChannelList (string $imType)
 
 getCascadeList ()
 
 setCallback (string $callbackUrl, array $callbackTypes, ?int $subjectId=null)
 
 getActiveChannelList (string $imType)
 
 checkActiveChannelBySubjectIdList (array $subjectIdList, string $imType)
 
 getCascadeIdFromSubject ($subject, callable $subjectComparator)
 
 updateSavedChannelList (string $channelType)
 

Защищенные члены

 initializeDefaultExternalSender ()
 
 getMessageTemplatesStub ()
 
 checkApprovedStatus (array $template)
 
 checkForPlaceholders (array $templates)
 
 hasPlaceholder (string $text)
 
 extractPlaceholders (string $text)
 
 checkForErrors (array $templates)
 
 removeUnsupportedTemplates (array $templates)
 

Дополнительные унаследованные члены

- Защищенные данные унаследованные от EdnaUtils
string $providerId
 
Providers ExternalSender $externalSender
 
Providers OptionManager $optionManager
 

Подробное описание

См. определение в файле Utils.php строка 12

Методы

◆ checkApprovedStatus()

checkApprovedStatus ( array $template)
protected
Аргументы
array{statusstring} $template
Возвращает
bool

См. определение в файле Utils.php строка 278

◆ checkForErrors()

checkForErrors ( array $templates)
protected

См. определение в файле Utils.php строка 329

◆ checkForPlaceholders()

checkForPlaceholders ( array $templates)
protected

См. определение в файле Utils.php строка 283

◆ extractPlaceholders()

extractPlaceholders ( string $text)
protected

См. определение в файле Utils.php строка 322

◆ getMessageTemplates()

getMessageTemplates ( string $subject = '')

Переопределяет метод предка EdnaUtils.

Переопределяется в Utils.

См. определение в файле Utils.php строка 24

◆ getMessageTemplatesStub()

getMessageTemplatesStub ( )
protected

Переопределяется в Utils.

См. определение в файле Utils.php строка 121

◆ getSentTemplateMessage()

getSentTemplateMessage ( string $from,
string $to )

Замещает EdnaRu.

См. определение в файле Utils.php строка 100

◆ hasPlaceholder()

hasPlaceholder ( string $text)
protected

См. определение в файле Utils.php строка 317

◆ initializeDefaultExternalSender()

initializeDefaultExternalSender ( )
protected

Переопределяет метод предка EdnaUtils.

См. определение в файле Utils.php строка 14

◆ prepareTemplateMessageText()

prepareTemplateMessageText ( array $message)

См. определение в файле Utils.php строка 79

◆ removeUnsupportedTemplates()

removeUnsupportedTemplates ( array $templates)
protected

См. определение в файле Utils.php строка 351