• Модуль: mail
  • Путь к файлу: ~/bitrix/modules/mail/lib/maillog.php
  • Класс: BitrixMailMailLogTable
  • Вызов: MailLogTable::getMap
static function getMap()
{
	return array(
		'ID' => array(
			'data_type'    => 'integer',
			'primary'      => true,
			'autocomplete' => true,
		),
		'MAILBOX_ID' => array(
			'data_type' => 'integer',
		),
		'FILTER_ID' => array(
			'data_type' => 'integer',
		),
		'MESSAGE_ID' => array(
			'data_type' => 'integer',
		),
		'LOG_TYPE' => array(
			'data_type' => 'string',
		),
		'DATE_INSERT' => array(
			'data_type' => 'datetime',
			'required'  => true,
		),
		'STATUS_GOOD' => array(
			'data_type' => 'boolean',
			'values'    => array('N', 'Y'),
		),
		'MESSAGE' => array(
			'data_type' => 'string',
		),
		'MAILBOX' => array(
			'data_type' => 'BitrixMailMailbox',
			'reference' => array('=this.MAILBOX_ID' => 'ref.ID'),
		),
		'FILTER' => array(
			'data_type' => 'BitrixMailMailFilter',
			'reference' => array('=this.FILTER_ID' => 'ref.ID'),
		),
		'MAIL_MESSAGE' => array(
			'data_type' => 'BitrixMailMailMessage',
			'reference' => array('=this.MESSAGE_ID' => 'ref.ID'),
		),
	);
}