Bitrix-D7
23.9
Загрузка...
Поиск...
Не найдено
history.php
1
<?php
2
3
namespace
Bitrix\Landing\Internals
;
4
5
use \Bitrix\Main\Localization\Loc;
6
use \Bitrix\Main\Entity;
7
8
Loc::loadMessages
(__FILE__);
9
10
class
HistoryTable
extends
Entity\DataManager
11
{
16
public
static
function
getTableName
(): string
17
{
18
return
'b_landing_history'
;
19
}
20
25
public
static
function
getMap
(): array
26
{
27
return
[
28
'ID'
=>
new
Entity\IntegerField(
'ID'
, [
29
'primary'
=>
true
,
30
'autocomplete'
=>
true
,
31
'title'
=>
'ID'
,
32
]),
33
'ENTITY_TYPE'
=>
new
Entity\StringField(
'ENTITY_TYPE'
, [
34
'title'
=>
Loc::getMessage
(
'LANDING_TABLE_HISTORY_FIELD_ENTITY_TYPE'
),
35
'required'
=>
true
,
36
]),
37
'ENTITY_ID'
=>
new
Entity\IntegerField(
'ENTITY_ID'
, [
38
'title'
=>
Loc::getMessage
(
'LANDING_TABLE_HISTORY_FIELD_ENTITY_ID'
),
39
'required'
=>
true
,
40
]),
41
'ACTION'
=>
new
Entity\TextField(
'ACTION'
, [
42
'title'
=>
Loc::getMessage
(
'LANDING_TABLE_HISTORY_FIELD_ACTION'
),
43
'required'
=>
true
,
44
]),
45
'ACTION_PARAMS'
=>
new
Entity\TextField(
'ACTION_PARAMS'
, [
46
'title'
=>
Loc::getMessage
(
'LANDING_TABLE_HISTORY_FIELD_ACTION_PARAMS'
),
47
'required'
=>
true
,
48
'serialized'
=>
true
,
49
]),
50
'MULTIPLY_ID'
=>
new
Entity\IntegerField(
'MULTIPLY_ID'
, [
51
'title'
=>
Loc::getMessage
(
'LANDING_TABLE_HISTORY_FIELD_MULTIPLY_ID'
),
52
]),
53
'CREATED_BY_ID'
=>
new
Entity\IntegerField(
'CREATED_BY_ID'
, [
54
'title'
=>
Loc::getMessage
(
'LANDING_TABLE_HISTORY_FIELD_CREATED_BY_ID'
),
55
'required'
=>
true
,
56
]),
57
'DATE_CREATE'
=>
new
Entity\DatetimeField(
'DATE_CREATE'
, [
58
'title'
=>
Loc::getMessage
(
'LANDING_TABLE_HISTORY_FIELD_DATE_CREATE'
),
59
'required'
=>
true
,
60
]),
61
];
62
}
63
}
Bitrix\Landing\Internals\HistoryTable
Definition
history.php:11
Bitrix\Landing\Internals\HistoryTable\getMap
static getMap()
Definition
history.php:25
Bitrix\Landing\Internals\HistoryTable\getTableName
static getTableName()
Definition
history.php:16
Bitrix\Main\Localization\Loc\loadMessages
static loadMessages($file)
Definition
loc.php:64
Bitrix\Main\Localization\Loc\getMessage
static getMessage($code, $replace=null, $language=null)
Definition
loc.php:29
Bitrix\Landing\Internals
Definition
base.php:2
modules
landing
lib
internals
history.php
Создано системой
1.10.0