Bitrix-D7 23.9
 
Загрузка...
Поиск...
Не найдено
historystep.php
1<?php
2
4
5use \Bitrix\Main\Localization\Loc;
6use \Bitrix\Main\Entity;
7
8Loc::loadMessages(__FILE__);
9
10class 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}
static loadMessages($file)
Definition loc.php:64
static getMessage($code, $replace=null, $language=null)
Definition loc.php:29