Открытые члены | |
getPrimaryAutoWiredParameter () | |
getAutoWiredParameters () | |
configureActions () | |
readAction (MessageCollection $messages) | |
tailViewersAction (\Bitrix\Im\V2\Message $message, array $filter=[], array $order=[], int $limit=50) | |
markAction (\Bitrix\Im\V2\Message $message) | |
listAction (Chat $chat, int $limit=self::MESSAGE_ON_PAGE_COUNT) | |
getContextAction (\Bitrix\Im\V2\Message $message, int $range=self::MESSAGE_ON_PAGE_COUNT) | |
tailAction (Chat $chat, array $filter=[], array $order=[], int $limit=50) | |
searchAction (Chat $chat, array $filter=[], array $order=[], int $limit=50) | |
pinAction (\Bitrix\Im\V2\Message $message) | |
unpinAction (\Bitrix\Im\V2\Message $message) | |
deleteAction (\Bitrix\Im\V2\Message $message) | |
disappearAction (\Bitrix\Im\V2\Message $message, int $hours) | |
sendAction (Chat $chat, ?\CRestServer $restServer=null, array $fields=[], ?MessageCollection $forwardMessages=null) | |
updateAction (\Bitrix\Im\V2\Message $message, array $fields=[], string $urlPreview='Y', int $botId=0) | |
informAction (\Bitrix\Im\V2\Message $message) | |
deleteRichUrlAction (\Bitrix\Im\V2\Message $message, CurrentUser $user) | |
![]() | |
__construct (Request $request=null) | |
forward ($controller, string $actionName, array $parameters=null) | |
getConfigurationOfActions () | |
getModuleId () | |
isLocatedUnderPsr4 () | |
getActionUri (string $actionName, array $params=[], bool $absolute=false) | |
getUnsignedParameters () | |
getCurrentUser () | |
setCurrentUser (CurrentUser $currentUser) | |
convertKeysToCamelCase ($data) | |
listNameActions () | |
getDefaultAutoWiredParameters () | |
getRequest () | |
getScope () | |
setScope ($scope) | |
getSourceParametersList () | |
setSourceParametersList ($sourceParametersList) | |
run ($actionName, array $sourceParametersList) | |
finalizeResponse (Response $response) | |
generateActionMethodName ($action) | |
redirectTo ($url) | |
getErrors () | |
getErrorByCode ($code) | |
Защищенные данные | |
const | MAX_MESSAGES_COUNT = 100 |
const | MAX_MESSAGES_COUNT_FOR_FORWARD = 20 |
const | MESSAGE_ON_PAGE_COUNT = 50 |
![]() | |
const | MAX_LIMIT = 200 |
const | DEFAULT_LIMIT = 50 |
![]() | |
$errorCollection | |
$request | |
Configurator | $configurator |
Дополнительные унаследованные члены | |
![]() | |
static | recursiveWhiteList ($fields, $whiteList, bool $sanitizeOnly=false) |
![]() | |
static | className () |
static | getFullEventName ($eventName) |
![]() | |
const | SCOPE_REST = 'rest' |
const | SCOPE_AJAX = 'ajax' |
const | SCOPE_CLI = 'cli' |
const | EVENT_ON_BEFORE_ACTION = 'onBeforeAction' |
const | EVENT_ON_AFTER_ACTION = 'onAfterAction' |
const | ERROR_REQUIRED_PARAMETER = 'MAIN_CONTROLLER_22001' |
const | ERROR_UNKNOWN_ACTION = 'MAIN_CONTROLLER_22002' |
const | EXCEPTION_UNKNOWN_ACTION = 22002 |
![]() | |
const | METHOD_ACTION_SUFFIX = 'Action' |
См. определение в файле Message.php строка 25
configureActions | ( | ) |
Переопределяет метод предка Controller.
См. определение в файле Message.php строка 123
deleteAction | ( | \Bitrix\Im\V2\Message | $message | ) |
@restMethod im.v2.Chat.Message.delete
См. определение в файле Message.php строка 289
deleteRichUrlAction | ( | \Bitrix\Im\V2\Message | $message, |
CurrentUser | $user ) |
@restMethod im.v2.Chat.Message.deleteRichUrl
См. определение в файле Message.php строка 439
disappearAction | ( | \Bitrix\Im\V2\Message | $message, |
int | $hours ) |
@restMethod im.v2.Chat.Message.disappear
См. определение в файле Message.php строка 308
getAutoWiredParameters | ( | ) |
Переопределяет метод предка BaseController.
См. определение в файле Message.php строка 60
getContextAction | ( | \Bitrix\Im\V2\Message | $message, |
int | $range = self::MESSAGE_ON_PAGE_COUNT ) |
@restMethod im.v2.Chat.Message.getContext
См. определение в файле Message.php строка 224
|
protected |
См. определение в файле Message.php строка 486
getPrimaryAutoWiredParameter | ( | ) |
Переопределяет метод предка Controller.
См. определение в файле Message.php строка 49
informAction | ( | \Bitrix\Im\V2\Message | $message | ) |
@restMethod im.v2.Chat.Message.inform
См. определение в файле Message.php строка 408
listAction | ( | Chat | $chat, |
int | $limit = self::MESSAGE_ON_PAGE_COUNT ) |
@restMethod im.v2.Chat.Message.list
См. определение в файле Message.php строка 213
markAction | ( | \Bitrix\Im\V2\Message | $message | ) |
@restMethod im.v2.Chat.Message.mark
См. определение в файле Message.php строка 196
pinAction | ( | \Bitrix\Im\V2\Message | $message | ) |
@restMethod im.v2.Chat.Message.pin
См. определение в файле Message.php строка 255
|
protected |
См. определение в файле Message.php строка 474
|
protected |
См. определение в файле Message.php строка 453
readAction | ( | MessageCollection | $messages | ) |
@restMethod im.v2.Chat.Message.read
См. определение в файле Message.php строка 162
searchAction | ( | Chat | $chat, |
array | $filter = [], | ||
array | $order = [], | ||
int | $limit = 50 ) |
@restMethod im.v2.Chat.Message.search
См. определение в файле Message.php строка 245
sendAction | ( | Chat | $chat, |
?\CRestServer | $restServer = null, | ||
array | $fields = [], | ||
?MessageCollection | $forwardMessages = null ) |
@restMethod im.v2.Chat.Message.send
См. определение в файле Message.php строка 333
tailAction | ( | Chat | $chat, |
array | $filter = [], | ||
array | $order = [], | ||
int | $limit = 50 ) |
@restMethod im.v2.Chat.Message.tail
См. определение в файле Message.php строка 235
tailViewersAction | ( | \Bitrix\Im\V2\Message | $message, |
array | $filter = [], | ||
array | $order = [], | ||
int | $limit = 50 ) |
@restMethod im.v2.Chat.Message.tailViewers
См. определение в файле Message.php строка 179
unpinAction | ( | \Bitrix\Im\V2\Message | $message | ) |
@restMethod im.v2.Chat.Message.unpin
См. определение в файле Message.php строка 272
updateAction | ( | \Bitrix\Im\V2\Message | $message, |
array | $fields = [], | ||
string | $urlPreview = 'Y', | ||
int | $botId = 0 ) |
@restMethod im.v2.Chat.Message.update
См. определение в файле Message.php строка 380
|
protected |
См. определение в файле Message.php строка 27
|
protected |
См. определение в файле Message.php строка 28
|
protected |
См. определение в файле Message.php строка 29