1C-Bitrix
25.700.0
Загрузка...
Поиск...
Не найдено
locationtable.php
См. документацию.
1
<?php
2
3
namespace
Bitrix\Calendar\Internals;
4
5
use Bitrix\Main;
6
use Bitrix\Main\Localization\Loc,
7
Bitrix\Main\ORM\Fields\IntegerField,
8
Bitrix\Main\ORM\Fields\BooleanField;
9
10
Loc::loadMessages(__FILE__);
11
39
class
LocationTable
extends
Main\Entity\DataManager
40
{
46
public
static
function
getTableName
()
47
{
48
return
'b_calendar_location'
;
49
}
50
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
}
Bitrix\Calendar\Internals\LocationTable
Определения
locationtable.php:40
Bitrix\Calendar\Internals\LocationTable\getMap
static getMap()
Определения
locationtable.php:55
Bitrix\Calendar\Internals\LocationTable\getTableName
static getTableName()
Определения
locationtable.php:46
Bitrix\Main\ORM\Fields\BooleanField
Определения
booleanfield.php:20
Bitrix\Main\ORM\Fields\IntegerField
Определения
integerfield.php:20
bitrix
modules
calendar
lib
internals
locationtable.php
Создано системой
1.14.0