Bitrix-D7
23.9
Загрузка...
Поиск...
Не найдено
location.php
1
<?php
2
namespace
Bitrix\Calendar\Internals
;
3
4
use
Bitrix\Main
;
5
use
Bitrix\Main\Localization\Loc
,
6
Bitrix\Main\ORM\Fields\IntegerField
,
7
Bitrix\Main\ORM\Fields\BooleanField
;
8
9
Loc::loadMessages
(__FILE__);
10
38
class
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
}
Bitrix\Calendar\Internals\LocationTable
Definition
location.php:39
Bitrix\Calendar\Internals\LocationTable\getMap
static getMap()
Definition
location.php:54
Bitrix\Calendar\Internals\LocationTable\getTableName
static getTableName()
Definition
location.php:45
Bitrix\Main\Localization\Loc
Definition
loc.php:11
Bitrix\Main\Localization\Loc\loadMessages
static loadMessages($file)
Definition
loc.php:64
Bitrix\Main\ORM\Fields\BooleanField
Definition
booleanfield.php:20
Bitrix\Main\ORM\Fields\IntegerField
Definition
integerfield.php:20
Bitrix\Calendar\Internals
Definition
access.php:3
Bitrix\Main
modules
calendar
lib
internals
location.php
Создано системой
1.10.0