Bitrix-D7
23.9
Загрузка...
Поиск...
Не найдено
eventlogtable.php
1
<?php
9
namespace
Bitrix\Main\EventLog\Internal
;
10
11
use
Bitrix\Main\ORM\Data
;
12
use
Bitrix\Main\ORM\Fields
;
13
30
class
EventLogTable
extends
Data\DataManager
31
{
32
public
static
function
getTableName
()
33
{
34
return
'b_event_log'
;
35
}
36
37
public
static
function
getMap
()
38
{
39
return
[
40
(
new
Fields\IntegerField(
"ID"
))
41
->configurePrimary(
true
)
42
->configureAutocomplete(
true
),
43
(
new
Fields\DatetimeField(
"TIMESTAMP_X"
)),
44
(
new
Fields\
StringField
(
"SEVERITY"
)),
45
(
new
Fields\
StringField
(
"AUDIT_TYPE_ID"
)),
46
(
new
Fields\
StringField
(
"MODULE_ID"
)),
47
(
new
Fields\
StringField
(
"ITEM_ID"
)),
48
(
new
Fields\
StringField
(
"REMOTE_ADDR"
)),
49
(
new
Fields\
TextField
(
"USER_AGENT"
)),
50
(
new
Fields\
TextField
(
"REQUEST_URI"
)),
51
(
new
Fields\
StringField
(
"SITE_ID"
)),
52
(
new
Fields\
IntegerField
(
"USER_ID"
)),
53
(
new
Fields\
IntegerField
(
"GUEST_ID"
)),
54
(
new
Fields\
TextField
(
"DESCRIPTION"
)),
55
];
56
}
57
}
Bitrix\Main\EventLog\Internal\EventLogTable
Definition
eventlogtable.php:31
Bitrix\Main\EventLog\Internal\EventLogTable\getMap
static getMap()
Definition
eventlogtable.php:37
Bitrix\Main\EventLog\Internal\EventLogTable\getTableName
static getTableName()
Definition
eventlogtable.php:32
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\TextField
Definition
textfield.php:20
Bitrix\Main\EventLog\Internal
Definition
eventlogtable.php:9
Bitrix\Main\ORM\Data
Definition
addresult.php:9
Bitrix\Main\ORM\Fields
Definition
arrayfield.php:9
modules
main
lib
eventlog
internal
eventlogtable.php
Создано системой
1.10.0