EntityFormConfigAcTable::getMap

  1. Bitrix24 API (v. 23.675.0)
  2. ui
  3. EntityFormConfigAcTable
  4. getMap
  • Модуль: ui
  • Путь к файлу: ~/bitrix/modules/ui/lib/entityform/entityformconfigactable.php
  • Класс: BitrixUiEntityFormEntityFormConfigAcTable
  • Вызов: EntityFormConfigAcTable::getMap
static function getMap()
{
	return [
		new EntityIntegerField('ID', [
			'autocomplete' => true,
			'primary' => true
		]),
		new EntityStringField('ACCESS_CODE', [
			'required' => true,
			'size' => 10
		]),
		new EntityReferenceField(
			'USER_ACCESS',
			UserAccessTable::class,
			array('=this.ACCESS_CODE' => 'ref.ACCESS_CODE')
		),
		new EntityIntegerField('CONFIG_ID', [
			'required' => true,
			'size' => 10
		]),
		new EntityReferenceField(
			'CONFIG',
			EntityFormConfigTable::class,
			array('=this.CONFIG_ID' => 'ref.ID')
		),
	];
}

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