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

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

 __construct ()
 
 isAvailable ()
 
 getId ()
 
 getName ()
 
 getShortName ()
 
 isRegistered ()
 
 register (array $fields)
 
 getOwnerInfo ()
 
 getExternalManageUrl ()
 
 getMessageStatus (array $messageFields)
 
 sendMessage (array $messageFields)
 
 testConnection ()
 
 getFromList ()
 
 getLineId ()
 
 getCallbackUrl ()
 
 isTemplatesBased ()
 
 isCorrectFrom ($from)
 
 getTemplatesList (array $context=null)
 
 prepareTemplate ($templateData)
 
 getMessageTemplates (string $subject='')
 
 getManageUrl ()
 
 getSentTemplateMessage (string $from, string $to)
 
 prepareMessageBodyForSave (string $text)
 
 setSocketTimeout (int $socketTimeout)
 
 setStreamTimeout (int $streamTimeout)
 
- Открытые члены унаследованные от BaseConfigurable
 isConfigurable ()
 
 isDemo ()
 
 isRegistered ()
 
 isConfirmed ()
 
 setDefaultFrom ($from)
 
 canUse ()
 
 register (array $fields)
 
 getOwnerInfo ()
 
 confirmRegistration (array $fields)
 
 sendConfirmationCode ()
 
 getManageUrl ()
 
 getExternalManageUrl ()
 
 getMessageStatus (array $messageFields)
 
 enableDemo ()
 
 disableDemo ()
 
 sync ()
 
 clearOptions ()
 
 getConfigComponentTemplatePageName ()
 
 isTemplatesBased ()
 
 getTemplatesList (array $context=null)
 
 prepareTemplate ($templateData)
 
- Открытые члены унаследованные от Base
 setSocketTimeout (int $socketTimeout)
 
 setStreamTimeout (int $streamTimeout)
 
 isConfigurable ()
 
 getType ()
 
 getId ()
 
 getExternalId ()
 
 getName ()
 
 getShortName ()
 
 canUse ()
 
 getFromList ()
 
 getDefaultFrom ()
 
 getFirstFromList ()
 
 isCorrectFrom ($from)
 
 sendMessage (array $messageFieldsFields)
 
 getManageUrl ()
 
 prepareMessageBodyForSave (string $text)
 

Открытые статические члены

static resolveStatus ($serviceStatus)
 
- Открытые статические члены унаследованные от Base
static isSupported ()
 
static className ()
 
static resolveStatus ($serviceStatus)
 

Открытые атрибуты

const ID = 'ednaru'
 

Защищенные данные

Bitrix MessageService Providers Edna EdnaRu $utils
 
WhatsApp EmojiConverter $emoji
 
- Защищенные данные унаследованные от BaseConfigurable
 $options
 
Providers DemoManager $demoManager
 
Providers Registrar $registrar
 
Providers OptionManager $optionManager
 
Providers TemplateManager $templateManager
 
- Защищенные данные унаследованные от Base
Providers Informant $informant
 
Providers Initiator $initiator
 
Providers Sender $sender
 
int $socketTimeout = 10
 
int $streamTimeout = 30
 

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

- Защищенные члены унаследованные от BaseConfigurable
 getCallbackUrl ()
 
 setOptions (array $options)
 
 getOptions ()
 
 setOption ($optionName, $optionValue)
 
 getOption ($optionName, $defaultValue=null)
 
- Защищенные члены унаследованные от Base
 prepareMessageBodyForSend (string $text)
 

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

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

Конструктор(ы)

◆ __construct()

__construct ( )

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

Методы

◆ getCallbackUrl()

getCallbackUrl ( )

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

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

◆ getExternalManageUrl()

getExternalManageUrl ( )
Возвращает
string

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

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

◆ getFromList()

getFromList ( )

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

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

◆ getId()

getId ( )

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

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

◆ getLineId()

getLineId ( )

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

◆ getManageUrl()

getManageUrl ( )
Возвращает
string

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

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

◆ getMessageStatus()

getMessageStatus ( array  $messageFields)
Аргументы
array$messageFields
Возвращает
MessageStatus Message status result.

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

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

◆ getMessageTemplates()

getMessageTemplates ( string  $subject = '')

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

◆ getName()

getName ( )
Возвращает
string

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

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

◆ getOwnerInfo()

getOwnerInfo ( )
Возвращает
array

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

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

◆ getSentTemplateMessage()

getSentTemplateMessage ( string  $from,
string  $to 
)

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

◆ getShortName()

getShortName ( )
Возвращает
string

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

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

◆ getTemplatesList()

getTemplatesList ( array  $context = null)

@inheritDoc

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

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

◆ isAvailable()

isAvailable ( )

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

◆ isCorrectFrom()

isCorrectFrom (   $from)
Аргументы
string$from
Возвращает
bool

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

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

◆ isRegistered()

isRegistered ( )

Check registration state.

Возвращает
bool

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

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

◆ isTemplatesBased()

isTemplatesBased ( )

@inheritDoc

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

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

◆ prepareMessageBodyForSave()

prepareMessageBodyForSave ( string  $text)

Prepares text for message body.

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

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

◆ prepareTemplate()

prepareTemplate (   $templateData)

@inheritDoc

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

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

◆ register()

register ( array  $fields)
Аргументы
array$fields
Возвращает
Result

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

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

◆ resolveStatus()

static resolveStatus (   $serviceStatus)
static

Converts service status to internal status

См. также
\Bitrix\MessageService\MessageStatus
Аргументы
mixed$serviceStatus
Возвращает
int

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

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

◆ sendMessage()

sendMessage ( array  $messageFieldsFields)
Аргументы
array$messageFieldsFields
Возвращает
Result\SendMessage Send operation result.

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

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

◆ setSocketTimeout()

setSocketTimeout ( int  $socketTimeout)
Аргументы
int$socketTimeout
Возвращает
Base

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

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

◆ setStreamTimeout()

setStreamTimeout ( int  $streamTimeout)
Аргументы
int$streamTimeout
Возвращает
Base

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

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

◆ testConnection()

testConnection ( )

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

Данные класса

◆ $emoji

WhatsApp EmojiConverter $emoji
protected

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

◆ $utils

Bitrix MessageService Providers Edna EdnaRu $utils
protected

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

◆ ID

const ID = 'ednaru'

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