Bitrix-D7
23.9
Загрузка...
Поиск...
Не найдено
historystep.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
HistoryStepTable
extends
Entity\DataManager
11
{
16
public
static
function
getTableName
(): string
17
{
18
return
'b_landing_history_step'
;
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_HISTORYSTEP_FIELD_ENTITY_TYPE'
),
35
'required'
=>
true
,
36
]),
37
'ENTITY_ID'
=>
new
Entity\IntegerField(
'ENTITY_ID'
, [
38
'title'
=>
Loc::getMessage
(
'LANDING_TABLE_HISTORYSTEP_FIELD_ENTITY_ID'
),
39
'required'
=>
true
,
40
]),
41
'STEP'
=>
new
Entity\IntegerField(
'STEP'
, [
42
'title'
=>
Loc::getMessage
(
'LANDING_TABLE_HISTORYSTEP_FIELD_STEP'
),
43
'required'
=>
true
,
44
]),
45
];
46
}
47
}
Bitrix\Landing\Internals\HistoryStepTable
Definition
historystep.php:11
Bitrix\Landing\Internals\HistoryStepTable\getMap
static getMap()
Definition
historystep.php:25
Bitrix\Landing\Internals\HistoryStepTable\getTableName
static getTableName()
Definition
historystep.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
historystep.php
Создано системой
1.10.0