- Модуль: crm
- Путь к файлу: ~/bitrix/modules/crm/lib/attribute/entity/fieldattribute.php
- Класс: Bitrix\Crm\Attribute\Entity\FieldAttributeTable
- Вызов: FieldAttributeTable::getMap
static function getMap()
{
return array(
'ID' => array('data_type' => 'integer', 'primary' => true, 'autocomplete' => true),
'ENTITY_TYPE_ID' => array('data_type' => 'integer', 'required' => true),
'ENTITY_SCOPE' => array('data_type' => 'string'/*, 'required' => true*/),
'TYPE_ID' => array('data_type' => 'string', 'required' => true),
'FIELD_NAME' => array('data_type' => 'string', 'required' => true),
'CREATED_TIME' => array('data_type' => 'datetime', 'required' => true),
'START_PHASE' => array('data_type' => 'string'/*, 'required' => true*/),
'FINISH_PHASE' => array('data_type' => 'string'/*, 'required' => true*/),
'PHASE_GROUP_TYPE_ID' => array('data_type' => 'integer'/*, 'required' => true*/),
'IS_CUSTOM_FIELD' => array('data_type' => 'boolean', 'values' => array('N', 'Y'), 'required' => true)
);
}