1C-Bitrix 25.700.0
Загрузка...
Поиск...
Не найдено
Класс RestService
Граф наследования:RestService:
IRestService

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

static onRestServiceBuildDescription ()
static onRestAppDelete (array $fields)
static onRestAppUpdate (array $fields)
static addSender ($params, $n, $server)
static updateSender ($params, $n, $server)
static deleteSender ($params, $n, $server)
static getSenderList ($params, $n, $server)
static updateMessageStatus ($params, $n, $server)
static getMessageStatus (array $params, int $n, CRestServer $server)

Поля данных

const SCOPE = 'messageservice'
const ERROR_UNSUPPORTED_PROTOCOL = 'ERROR_UNSUPPORTED_PROTOCOL'
const ERROR_WRONG_HANDLER_URL = 'ERROR_WRONG_HANDLER_URL'
const ERROR_HANDLER_URL_MATCH = 'ERROR_HANDLER_URL_MATCH'
const ERROR_SENDER_ALREADY_INSTALLED = 'ERROR_SENDER_ALREADY_INSTALLED'
const ERROR_SENDER_ADD_FAILURE = 'ERROR_SENDER_ADD_FAILURE'
const ERROR_SENDER_UPDATE_FAILURE = 'ERROR_SENDER_UPDATE_FAILURE'
const ERROR_SENDER_VALIDATION_FAILURE = 'ERROR_SENDER_VALIDATION_FAILURE'
const ERROR_SENDER_NOT_FOUND = 'ERROR_SENDER_NOT_FOUND'
const ERROR_SENDER_CODE_REQUIRED = 'ERROR_SENDER_CODE_REQUIRED'
const ERROR_SENDER_OTHER_PARAMS_REQUIRED = 'ERROR_SENDER_OTHER_PARAMS_REQUIRED'
const ERROR_MESSAGE_NOT_FOUND = 'ERROR_MESSAGE_NOT_FOUND'
const ERROR_MESSAGE_STATUS_INCORRECT = 'ERROR_MESSAGE_STATUS_INCORRECT'
Поля данных унаследованные от IRestService
const LIST_LIMIT = 50

Статические защищенные данные

static $app

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

Открытые члены унаследованные от IRestService
 getDescription ()
Защищенные статические члены унаследованные от IRestService
static getNavData ($start, $bORM=false)
static setNavData ($result, $dbRes)
static sanitizeFilter ($filter, array $availableFields=null, $valueCallback=null, array $availableOperations=null)
static sanitizeOrder ($order, array $availableFields=null)

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

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

Методы

◆ addSender()

addSender ( $params,
$n,
$server )
static
Аргументы
array$paramsInput params.
int$nOffset.
CRestServer$serverRest server instance.
Возвращает
bool
Исключения

Exception

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

◆ deleteSender()

deleteSender ( $params,
$n,
$server )
static
Аргументы
array$paramsInput params.
int$nOffset.
CRestServer$serverRest server instance.
Возвращает
bool
Исключения

Exception

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

◆ getMessageStatus()

getMessageStatus ( array $params,
int $n,
CRestServer $server )
static
Аргументы
array{message_id: int } $params
int$n
CRestServer$server
Возвращает
string
Исключения
RestException

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

◆ getSenderList()

getSenderList ( $params,
$n,
$server )
static
Аргументы
array$paramsInput params.
int$nOffset.
CRestServer$serverRest server instance.
Возвращает
array
Исключения
AccessException

Bitrix\Main\ArgumentException

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

◆ onRestAppDelete()

onRestAppDelete ( array $fields)
static
Аргументы
array$fieldsFields describes application.
Возвращает
void

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

◆ onRestAppUpdate()

onRestAppUpdate ( array $fields)
static
Аргументы
array$fieldsFields describes application.
Возвращает
void

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

◆ onRestServiceBuildDescription()

onRestServiceBuildDescription ( )
static

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

◆ updateMessageStatus()

updateMessageStatus ( $params,
$n,
$server )
static
Аргументы
array$paramsInput params.
int$nOffset.
CRestServer$serverRest server instance.
Возвращает
bool
Исключения
AccessException
RestException

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

◆ updateSender()

updateSender ( $params,
$n,
$server )
static
Аргументы
array$paramsInput params.
int$nOffset.
CRestServer$serverRest server instance.
Возвращает
bool
Исключения

Exception

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

Поля

◆ $app

$app
staticprotected

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

◆ ERROR_HANDLER_URL_MATCH

const ERROR_HANDLER_URL_MATCH = 'ERROR_HANDLER_URL_MATCH'

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

◆ ERROR_MESSAGE_NOT_FOUND

const ERROR_MESSAGE_NOT_FOUND = 'ERROR_MESSAGE_NOT_FOUND'

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

◆ ERROR_MESSAGE_STATUS_INCORRECT

const ERROR_MESSAGE_STATUS_INCORRECT = 'ERROR_MESSAGE_STATUS_INCORRECT'

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

◆ ERROR_SENDER_ADD_FAILURE

const ERROR_SENDER_ADD_FAILURE = 'ERROR_SENDER_ADD_FAILURE'

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

◆ ERROR_SENDER_ALREADY_INSTALLED

const ERROR_SENDER_ALREADY_INSTALLED = 'ERROR_SENDER_ALREADY_INSTALLED'

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

◆ ERROR_SENDER_CODE_REQUIRED

const ERROR_SENDER_CODE_REQUIRED = 'ERROR_SENDER_CODE_REQUIRED'

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

◆ ERROR_SENDER_NOT_FOUND

const ERROR_SENDER_NOT_FOUND = 'ERROR_SENDER_NOT_FOUND'

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

◆ ERROR_SENDER_OTHER_PARAMS_REQUIRED

const ERROR_SENDER_OTHER_PARAMS_REQUIRED = 'ERROR_SENDER_OTHER_PARAMS_REQUIRED'

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

◆ ERROR_SENDER_UPDATE_FAILURE

const ERROR_SENDER_UPDATE_FAILURE = 'ERROR_SENDER_UPDATE_FAILURE'

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

◆ ERROR_SENDER_VALIDATION_FAILURE

const ERROR_SENDER_VALIDATION_FAILURE = 'ERROR_SENDER_VALIDATION_FAILURE'

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

◆ ERROR_UNSUPPORTED_PROTOCOL

const ERROR_UNSUPPORTED_PROTOCOL = 'ERROR_UNSUPPORTED_PROTOCOL'

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

◆ ERROR_WRONG_HANDLER_URL

const ERROR_WRONG_HANDLER_URL = 'ERROR_WRONG_HANDLER_URL'

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

◆ SCOPE

const SCOPE = 'messageservice'

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


Объявления и описания членов класса находятся в файле: