Bitrix-D7
23.9
Загрузка...
Поиск...
Не найдено
calendarlogtable.php
1
<?php
2
3
namespace
Bitrix\Calendar\Internals
;
4
5
use
Bitrix\Main
;
6
use
Bitrix\Main\Localization\Loc
;
7
use
Bitrix\Main\ORM\Fields\DatetimeField
;
8
use
Bitrix\Main\ORM\Fields\IntegerField
;
9
use
Bitrix\Main\ORM\Fields\StringField
;
10
use
Bitrix\Main\ORM\Fields\TextField
;
11
28
class
CalendarLogTable
extends
Main\Entity\DataManager
29
{
33
public
static
function
getFilePath
()
34
{
35
return
__FILE__;
36
}
37
43
public
static
function
getTableName
()
44
{
45
return
'b_calendar_log'
;
46
}
47
52
public
static
function
getMap
()
53
{
54
return
[
55
(
new
IntegerField
(
'ID'
))
56
->configureTitle(
Loc::getMessage
(
'LOG_ENTITY_ID_FIELD'
))
57
->configurePrimary(
true
)
58
->configureAutocomplete(
true
)
59
,
60
(
new
DatetimeField
(
'TIMESTAMP_X'
))
61
->configureTitle(
Loc::getMessage
(
'LOG_ENTITY_TIMESTAMP_X_FIELD'
))
62
,
63
(
new
TextField
(
'MESSAGE'
))
64
->configureTitle(
Loc::getMessage
(
'LOG_ENTITY_MESSAGE_FIELD'
))
65
,
66
(
new
StringField
(
'TYPE'
))
67
->configureTitle(
Loc::getMessage
(
'LOG_ENTITY_TYPE_FIELD'
))
68
,
69
(
new
StringField
(
'UUID'
))
70
->configureTitle(
Loc::getMessage
(
'LOG_ENTITY_UUID_FIELD'
))
71
,
72
(
new
IntegerField
(
'USER_ID'
))
73
->configureTitle(
Loc::getMessage
(
'LOG_ENTITY_USER_ID_FIELD'
))
74
,
75
];
76
}
77
}
Bitrix\Calendar\Internals\CalendarLogTable\getMap
static getMap()
Definition
calendarlogtable.php:52
Bitrix\Calendar\Internals\CalendarLogTable\getFilePath
static getFilePath()
Definition
calendarlogtable.php:33
Bitrix\Calendar\Internals\CalendarLogTable\getTableName
static getTableName()
Definition
calendarlogtable.php:43
Bitrix\Main\Localization\Loc
Definition
loc.php:11
Bitrix\Main\Localization\Loc\getMessage
static getMessage($code, $replace=null, $language=null)
Definition
loc.php:29
Bitrix\Main\ORM\Fields\DatetimeField
Definition
datetimefield.php:22
Bitrix\Main\ORM\Fields\IntegerField
Definition
integerfield.php:20
Bitrix\Main\ORM\Fields\StringField
Definition
stringfield.php:20
Bitrix\Main\ORM\Fields\TextField
Definition
textfield.php:20
Bitrix\Calendar\Internals
Definition
access.php:3
Bitrix\Main
modules
calendar
lib
internals
calendarlogtable.php
Создано системой
1.10.0