ResultTable::getMap

  1. Bitrix24 API (v. 23.675.0)
  2. crm
  3. ResultTable
  4. getMap
  • Модуль: crm
  • Путь к файлу: ~/bitrix/modules/crm/lib/webform/internals/result.php
  • Класс: Bitrix\Crm\WebForm\Internals\ResultTable
  • Вызов: ResultTable::getMap
static function getMap()
{
	return array(
		'ID' => array(
			'data_type' => 'integer',
			'primary' => true,
			'autocomplete' => true,
		),
		'DATE_INSERT' => array(
			'data_type' => 'date',
			'required' => true,
			'default_value' => new DateTime(),
		),
		'FORM_ID' => array(
			'data_type' => 'integer',
			'required' => true,
		),
		'ORIGIN_ID' => array(
			'data_type' => 'string'
		),
		'FORM' => array(
			'data_type' => 'Bitrix\Crm\WebForm\Internals\FormTable',
			'reference' => array('=this.FORM_ID' => 'ref.ID'),
		),
	);
}

Добавить комментарий