- Модуль: mail
- Путь к файлу: ~/bitrix/modules/mail/lib/internals/messageaccess.php
- Класс: BitrixMailInternalsMessageAccessTable
- Вызов: MessageAccessTable::getMap
static function getMap()
{
return array(
'TOKEN' => array(
'data_type' => 'string',
'primary' => true,
),
'MAILBOX_ID' => array(
'data_type' => 'integer',
'required' => true,
),
'MESSAGE_ID' => array(
'data_type' => 'integer',
'required' => true,
),
'ENTITY_UF_ID' => array(
'data_type' => 'integer',
'required' => true,
),
'ENTITY_TYPE' => array(
'data_type' => 'string',
'required' => true,
),
'ENTITY_ID' => array(
'data_type' => 'integer',
'required' => true,
),
'SECRET' => array(
'data_type' => 'string',
'required' => true,
),
'OPTIONS' => array(
'data_type' => 'text',
'serialized' => true,
),
new EntityReferenceField(
'CRM_ACTIVITY',
'BitrixCrmActivityTable',
array(
'=this.ENTITY_TYPE' => array('?s', self::ENTITY_TYPE_CRM_ACTIVITY),
'=this.ENTITY_ID' => 'ref.ID',
)
),
);
}