1C-Bitrix
25.700.0
Загрузка...
Поиск...
Не найдено
lognotificationtable.php
См. документацию.
1
<?php
8
9
namespace
Bitrix\Main\EventLog\Internal;
10
11
use Bitrix\Main\ORM\Data;
12
use Bitrix\Main\ORM\Fields;
13
use Bitrix\Main\ORM\Query;
14
use Bitrix\Main\Localization\Loc;
15
32
class
LogNotificationTable
extends
Data\DataManager
33
{
34
public
static
function
getTableName
()
35
{
36
return
'b_log_notification'
;
37
}
38
39
public
static
function
getMap
()
40
{
41
return
[
42
(
new
Fields\IntegerField
(
"ID"
))
43
->configurePrimary(
true
)
44
->configureAutocomplete(
true
),
45
(
new
Fields\BooleanField
(
"ACTIVE"
))
46
->configureValues(
"N"
,
"Y"
)
47
->configureDefaultValue(
"Y"
),
48
(
new
Fields\StringField
(
"NAME"
)),
49
(
new
Fields
\
StringField
(
"AUDIT_TYPE_ID"
))
50
->configureRequired(
true
)
51
->configureTitle(Loc::getMessage(
"log_notification_table_audit_type"
)),
52
(
new
Fields\StringField
(
"ITEM_ID"
)),
53
(
new
Fields
\
IntegerField
(
"USER_ID"
)),
54
(
new
Fields\StringField
(
"REMOTE_ADDR"
)),
55
(
new
Fields
\
StringField
(
"USER_AGENT"
)),
56
(
new
Fields\StringField
(
"REQUEST_URI"
)),
57
(
new
Fields
\
IntegerField
(
"CHECK_INTERVAL"
)),
58
(
new
Fields\IntegerField
(
"ALERT_COUNT"
)),
59
(
new
Fields
\
DatetimeField
(
"DATE_CHECKED"
)),
60
(
new
Fields\Relations\OneToMany
(
'ACTIONS'
, LogNotificationActionTable::class,
'NOTIFICATION'
))
61
->configureJoinType(
Query
\Join::TYPE_LEFT)
62
->configureCascadeDeletePolicy(
Fields
\
Relations
\CascadePolicy::FOLLOW),
63
];
64
}
65
}
Bitrix\Main\EventLog\Internal\LogNotificationTable
Определения
lognotificationtable.php:33
Bitrix\Main\EventLog\Internal\LogNotificationTable\getMap
static getMap()
Определения
lognotificationtable.php:39
Bitrix\Main\EventLog\Internal\LogNotificationTable\getTableName
static getTableName()
Определения
lognotificationtable.php:34
Bitrix\Main\ORM\Data\DataManager
Определения
datamanager.php:35
Bitrix\Main\ORM\Fields\BooleanField
Определения
booleanfield.php:20
Bitrix\Main\ORM\Fields\DatetimeField
Определения
datetimefield.php:22
Bitrix\Main\ORM\Fields\IntegerField
Определения
integerfield.php:20
Bitrix\Main\ORM\Fields\Relations\OneToMany
Определения
onetomany.php:21
Bitrix\Main\ORM\Fields\StringField
Определения
stringfield.php:20
Bitrix\Main\ORM\Fields\Relations
Определения
cascadepolicy.php:9
Bitrix\Main\ORM\Fields
Определения
arrayfield.php:9
Bitrix\Main\ORM\Query
Определения
chain.php:3
bitrix
modules
main
lib
eventlog
internal
lognotificationtable.php
Создано системой
1.14.0