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

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

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

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

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

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

const ID = 'ednaruimhpx'
 

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

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

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

const MESSAGE_TYPE = "whatsapp"
 
const DEFAULT_PRIORITY = "normal"
 
const CONTENT_TEXT = "text"
 
- Защищенные данные унаследованные от 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
 

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

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

Методы

◆ callExternalMethod()

callExternalMethod ( string $body)
protected

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

◆ canUse()

canUse ( )

Check can use state of sender.

Возвращает
bool

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

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

◆ getCallbackUrl()

getCallbackUrl ( )

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

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

◆ getExternalManageUrl()

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

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

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

◆ getFromList()

getFromList ( )

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

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

◆ getId()

getId ( )

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

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

◆ getMessageStatus()

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

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

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

◆ getMessageType()

getMessageType ( )
protected

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

◆ getName()

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

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

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

◆ getOwnerInfo()

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

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

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

◆ getPriority()

getPriority ( )
protected

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

◆ getServiceEndpoint()

getServiceEndpoint ( )

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

◆ getShortName()

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

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

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

◆ isRegistered()

isRegistered ( )

Check registration state.

Возвращает
bool

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

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

◆ isSupported()

static isSupported ( )
static
Возвращает
bool

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

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

◆ makeBodyOutgoingMessage()

makeBodyOutgoingMessage ( array $messageFields)
protected

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

◆ normalizePhoneNumberForOutgoing()

static normalizePhoneNumberForOutgoing ( string $phoneNumber)
static

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

◆ register()

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

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

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

◆ resolveStatus()

static resolveStatus ( $serviceStatus)
static

Converts service status to internal status

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

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

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

◆ sendMessage()

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

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

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

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

◆ CONTENT_TEXT

const CONTENT_TEXT = "text"
protected

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

◆ DEFAULT_PRIORITY

const DEFAULT_PRIORITY = "normal"
protected

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

◆ ID

const ID = 'ednaruimhpx'

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

◆ MESSAGE_TYPE

const MESSAGE_TYPE = "whatsapp"
protected

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