- Модуль: main
- Путь к файлу: ~/bitrix/modules/main/lib/mail/internal/eventattachment.php
- Класс: BitrixMainMailInternalEventAttachmentTable
- Вызов: EventAttachmentTable::getMap
static function getMap()
{
return array(
'EVENT_ID' => array(
'data_type' => 'integer',
'primary' => true,
),
'FILE_ID' => array(
'data_type' => 'integer',
),
'IS_FILE_COPIED' => array(
'data_type' => 'boolean',
'required' => true,
'values' => array('N', 'Y'),
'default_value' => 'Y'
),
'EVENT' => array(
'data_type' => EventTable::class,
'reference' => array('=this.EVENT_ID' => 'ref.ID'),
),
);
}