- Модуль: im
- Путь к файлу: ~/bitrix/modules/im/lib/V2/Message/Param.php
- Класс: BitrixImV2MessageParam
- Вызов: Param::mirrorDataEntityFields
static function mirrorDataEntityFields(): array
{
return [
'ID' => [
'primary' => true,
'field' => 'paramId',
'get' => 'getParamId', /** @see Param::getChatId */
'set' => 'setParamId', /** @see Param::setChatId */
],
'MESSAGE_ID' => [
'field' => 'messageId',
'set' => 'setMessageId', /** @see Param::setMessageId */
'get' => 'getMessageId', /** @see Param::getMessageId */
],
'TYPE' => [
'set' => 'setType', /** @see Param::setType */
'get' => 'getType', /** @see Param::getType */
],
'PARAM_NAME' => [
'field' => 'name',
'set' => 'setName', /** @see Param::setName */
'get' => 'getName', /** @see Param::getName */
],
'PARAM_VALUE' => [
'field' => 'value',
'set' => 'setValue', /** @see Param::setValue */
'get' => 'getValue', /** @see Param::getValue */
'saveFilter' => 'saveValueFilter', /** @see Param::saveValueFilter */
'loadFilter' => 'loadValueFilter', /** @see Param::loadValueFilter */
],
'PARAM_JSON' => [
'field' => 'jsonValue',
'set' => 'setJsonValue', /** @see Param::setJsonValue */
'get' => 'getJsonValue', /** @see Param::getJsonValue */
'saveFilter' => 'saveJsonFilter', /** @see Param::saveJsonFilter */
'loadFilter' => 'loadJsonFilter', /** @see Param::loadJsonFilter */
],
];
}