- Модуль: main
- Путь к файлу: ~/bitrix/modules/main/lib/userprofilerecord.php
- Класс: BitrixMainUserProfileRecordTable
- Вызов: UserProfileRecordTable::getMap
static function getMap()
{
return array(
new EntityIntegerField("ID", array(
'primary' => true,
'autocomplete' => true,
)),
new EntityIntegerField("HISTORY_ID", array(
'required' => true,
)),
new EntityStringField("FIELD"),
new EntityTextField('DATA', array(
'serialized' => true
)),
new EntityReferenceField("HISTORY",
'BitrixMainUserProfileHistoryTable',
array('=this.HISTORY_ID' => 'ref.ID'),
array('join_type' => 'INNER')
),
);
}