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