Bitrix-D7 23.9
 
Загрузка...
Поиск...
Не найдено
locationtable.php
1<?php
2
4
9
10Loc::loadMessages(__FILE__);
11
39class LocationTable extends Main\Entity\DataManager
40{
46 public static function getTableName()
47 {
48 return 'b_calendar_location';
49 }
55 public static function getMap()
56 {
57 return [
58 (new IntegerField('ID'))
59 ->configurePrimary()
60 ->configureAutocomplete()
61 ,
62 (new IntegerField('SECTION_ID'))
63 ->configureRequired()
64 ,
65 (new BooleanField('NECESSITY'))
66 ->configureStorageValues('N', 'Y')
67 ->configureDefaultValue('N')
68 ,
69 (new IntegerField('CAPACITY'))
70 ->configureDefaultValue(0)
71 ,
72 (new IntegerField('CATEGORY_ID'))
73 ->configureDefaultValue(null)
74 ,
75 ];
76 }
77}
static loadMessages($file)
Definition loc.php:64