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

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

 getId ()
 
 getName ()
 
 getShortName ()
 
 canUse ()
 
 getFromList ()
 
 isCorrectFrom ($from)
 
 sendMessage (array $messageFields)
 
- Открытые члены унаследованные от Base
 setSocketTimeout (int $socketTimeout)
 
 setStreamTimeout (int $streamTimeout)
 
 isConfigurable ()
 
 getType ()
 
 getExternalId ()
 
 getDefaultFrom ()
 
 getFirstFromList ()
 
 getManageUrl ()
 
 prepareMessageBodyForSave (string $text)
 

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

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

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

const ID = 'rest'
 

Статические открытые данные

static $langFields
 
static int $countRestApps = null
 

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

- Защищенные члены унаследованные от Base
 prepareMessageBodyForSend (string $text)
 
- Защищенные данные унаследованные от Base
Providers Informant $informant
 
Providers Initiator $initiator
 
Providers Sender $sender
 
int $socketTimeout = 10
 
int $streamTimeout = 30
 

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

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

Методы

◆ canUse()

canUse ( )

Check can use state of provider.

Возвращает
bool

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

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

◆ getFromList()

getFromList ( )

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

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

◆ getId()

getId ( )

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

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

◆ getName()

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

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

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

◆ getShortName()

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

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

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

◆ isCorrectFrom()

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

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

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

◆ isSupported()

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

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

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

◆ resolveStatus()

static resolveStatus ( $serviceStatus)
static

Converts service status to internal status

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

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

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

◆ sendMessage()

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

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

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

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

◆ $countRestApps

int $countRestApps = null
static

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

◆ $langFields

$langFields
static

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

◆ ID

const ID = 'rest'

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