Bitrix-D7
23.9
Загрузка...
Поиск...
Не найдено
accesstable.php
1
<?php
2
3
namespace
Bitrix\Calendar\Internals
;
4
5
use
Bitrix\Main\Localization\Loc
,
Bitrix\Main\ORM\Data\DataManager
,
Bitrix\Main\ORM\Fields\IntegerField
,
Bitrix\Main\ORM\Fields\StringField
,
Bitrix\Main\ORM\Fields\Validators\LengthValidator
;
6
7
Loc::loadMessages
(__FILE__);
8
34
class
AccessTable
extends
DataManager
35
{
41
public
static
function
getTableName
()
42
{
43
return
'b_calendar_access'
;
44
}
45
51
public
static
function
getMap
()
52
{
53
return
[
54
(
new
StringField
(
'ACCESS_CODE'
))
55
->configurePrimary()
56
->configureSize(100)
57
,
58
(
new
IntegerField
(
'TASK_ID'
))
59
->configurePrimary()
60
,
61
(
new
StringField
(
'SECT_ID'
))
62
->configurePrimary()
63
->configureSize(100)
64
,
65
];
66
}
67
}
Bitrix\Calendar\Internals\AccessTable\getMap
static getMap()
Definition
accesstable.php:51
Bitrix\Calendar\Internals\AccessTable\getTableName
static getTableName()
Definition
accesstable.php:41
Bitrix\Main\Localization\Loc
Definition
loc.php:11
Bitrix\Main\Localization\Loc\loadMessages
static loadMessages($file)
Definition
loc.php:64
Bitrix\Main\ORM\Data\DataManager
Definition
datamanager.php:33
Bitrix\Main\ORM\Fields\IntegerField
Definition
integerfield.php:20
Bitrix\Main\ORM\Fields\StringField
Definition
stringfield.php:20
Bitrix\Main\ORM\Fields\Validators\LengthValidator
Definition
lengthvalidator.php:19
Bitrix\Calendar\Internals
Definition
access.php:3
modules
calendar
lib
internals
accesstable.php
Создано системой
1.10.0