• Модуль: crm
  • Путь к файлу: ~/bitrix/modules/crm/lib/webform/internals/fielddependence.php
  • Класс: Bitrix\Crm\WebForm\Internals\FieldDependenceTable
  • Вызов: FieldDependenceTable::getMap
static function getMap()
{
	return array(
		'ID' => array(
			'data_type' => 'integer',
			'primary' => true,
			'autocomplete' => true,
		),
		'FORM_ID' => array(
			'data_type' => 'integer',
			'required' => true,
		),
		'GROUP_ID' => array(
			'data_type' => 'integer',
			'required' => true,
			'default_value' => 0,
		),
		'IF_FIELD_CODE' => array(
			'required' => true,
			'data_type' => 'integer',
		),
		'IF_ACTION' => array(
			'data_type' => 'enum',
			'required' => true,
			'validation' => array(__CLASS__, 'validateAction'),
			'values' => static::getActions()
		),
		'IF_VALUE' => array(
			'data_type' => 'string',
		),
		'IF_VALUE_OPERATION' => array(
			'data_type' => 'string',
		),
		'DO_FIELD_CODE' => array(
			'required' => true,
			'data_type' => 'integer',
		),
		'DO_ACTION' => array(
			'data_type' => 'enum',
			'required' => true,
			'validation' => array(__CLASS__, 'validateAction'),
			'values' => static::getActions()
		),
		'DO_VALUE' => array(
			'data_type' => 'string',
		),
	);
}