1C-Bitrix 25.700.0
Загрузка...
Поиск...
Не найдено
eventattendeetable.php
См. документацию.
1<?php
2
3namespace Bitrix\Calendar\Internals;
4
5use Bitrix\Main\Entity\ReferenceField;
6use Bitrix\Main\Localization\Loc;
7use Bitrix\Main\ORM\Data\DataManager;
8use Bitrix\Main\ORM\Fields\BooleanField;
9use Bitrix\Main\ORM\Fields\IntegerField;
10use Bitrix\Main\ORM\Fields\StringField;
11use Bitrix\Main\ORM\Fields\TextField;
12use Bitrix\Main\ORM\Query\Join;
13
31{
32 public static function getTableName(): string
33 {
34 return 'b_calendar_event_attendee';
35 }
36
37 public static function getObjectClass()
38 {
39 return EventAttendee::class;
40 }
41
42 public static function getMap(): array
43 {
44 return [
45 (new IntegerField('ID'))
46 ->configurePrimary()
47 ->configureAutocomplete(),
48 (new IntegerField('OWNER_ID'))
49 ->configureRequired(true),
50 (new IntegerField('CREATED_BY'))
51 ->configureRequired(true),
52 (new StringField('MEETING_STATUS'))
53 ->configureRequired(true)
54 ->configureSize(1),
55 (new BooleanField('DELETED'))
56 ->configureValues('N', 'Y')
57 ->configureDefaultValue('N'),
58 new IntegerField('SECTION_ID'),
59 new ReferenceField(
60 'SECTION',
61 SectionTable::class,
62 Join::on('this.SECTION_ID', 'ref.ID'),
63 ),
64 (new StringField('COLOR'))
65 ->configureSize(10)
67 new TextField('REMIND'),
68 (new StringField('DAV_EXCH_LABEL'))
69 ->configureNullable(),
70 (new StringField('SYNC_STATUS'))
71 ->configureSize(20),
72 (new IntegerField('EVENT_ID'))
73 ->configureRequired(true),
74 new ReferenceField(
75 'EVENT',
76 EventTable::class,
77 Join::on('this.EVENT_ID', 'ref.ID')
78 ),
79 ];
80 }
81}
configureNullable($value=true)
Определения scalarfield.php:167
</td ></tr ></table ></td ></tr >< tr >< td class="bx-popup-label bx-width30"><?=GetMessage("PAGE_NEW_TAGS")?> array( $site)
Определения file_new.php:804