Bitrix-D7 23.9
 
Загрузка...
Поиск...
Не найдено
elementpropertytable.php
1<?php
9namespace Bitrix\Iblock;
10
18
37{
38 public static function getMap()
39 {
40 return [
41 (new IntegerField('ID'))
42 ->configurePrimary(true)
43 ->configureAutocomplete(true),
44
45 new IntegerField('IBLOCK_PROPERTY_ID'),
46
47 new IntegerField('IBLOCK_ELEMENT_ID'),
48
49 new Reference(
50 'ELEMENT', ElementTable::class,
51 Join::on('this.IBLOCK_ELEMENT_ID', 'ref.ID')
52 ),
53
54 new TextField('VALUE'),
55
56 new StringField('VALUE_TYPE'),
57
58 new IntegerField('VALUE_ENUM'),
59
60 new FloatField('VALUE_NUM'),
61
62 new StringField('DESCRIPTION'),
63
64 new Reference(
65 'ENUM',
66 PropertyEnumerationTable::class,
67 Join::on('this.VALUE_ENUM', 'ref.ID')
68 ),
69 ];
70 }
71}