• Модуль: seo
  • Путь к файлу: ~/bitrix/modules/seo/lib/retargeting/internals/queue.php
  • Класс: BitrixSeoRetargetingInternalsQueueTable
  • Вызов: QueueTable::getMap
static function getMap()
{
	$fieldsMap = array(
		'ID' => array(
			'data_type' => 'integer',
			'primary' => true,
			'autocomplete' => true,
		),
		'DATE_INSERT' => array(
			'data_type' => 'datetime',
			'default_value' => new DateTime()
		),
		'TYPE' => array(
			'data_type' => 'string',
			'required' => true,
		),
		'CLIENT_ID' => array(
			'data_type' => 'string',
		),
		'ACCOUNT_ID' => array(
			'data_type' => 'string',
		),
		'AUDIENCE_ID' => array(
			'data_type' => 'string',
			'required' => true,
		),
		'PARENT_ID' => array(
			'data_type' => 'string',
		),
		'CONTACT_TYPE' => array(
			'data_type' => 'string',
			'required' => true,
		),
		'VALUE' => array(
			'data_type' => 'string',
			'required' => true,
		),
		'ACTION' => array(
			'data_type' => 'enum',
			'values' => array(
				self::ACTION_IMPORT,
				self::ACTION_REMOVE,
				self::ACTION_IMPORT_AND_AUTO_REMOVE,
				self::ACTION_AUTO_REMOVE,
			),
			'default_value' => self::ACTION_IMPORT_AND_AUTO_REMOVE,
			'required' => true,
		),
		'DATE_AUTO_REMOVE' => array(
			'data_type' => 'datetime',
		)
	);

	return $fieldsMap;
}