Bitrix-D7
23.9
Загрузка...
Поиск...
Не найдено
blocklastused.php
1
<?php
2
namespace
Bitrix\Landing\Internals
;
3
4
use \Bitrix\Main\Entity;
5
use \Bitrix\Main\Localization\Loc;
6
7
Loc::loadMessages
(__FILE__);
8
9
class
BlockLastUsedTable
extends
Entity\DataManager
10
{
15
public
static
function
getTableName
(): string
16
{
17
return
'b_landing_block_last_used'
;
18
}
19
24
public
static
function
getMap
(): array
25
{
26
return
array(
27
'ID'
=>
new
Entity
\
IntegerField
(
'ID'
, array(
28
'title'
=>
'ID'
,
29
'primary'
=>
true
,
30
'autocomplete'
=>
true
,
31
)),
32
'USER_ID'
=>
new
Entity
\
IntegerField
(
'USER_ID'
, array(
33
'title'
=>
Loc::getMessage
(
'LANDING_TABLE_FIELD_LU_USER_ID'
),
34
'required'
=>
true
35
)),
36
'CODE'
=>
new
Entity
\
StringField
(
'CODE'
, array(
37
'title'
=>
Loc::getMessage
(
'LANDING_TABLE_FIELD_LU_CODE'
),
38
'required'
=>
true
39
)),
40
'DATE_CREATE'
=>
new
Entity
\
DatetimeField
(
'DATE_CREATE'
, array(
41
'title'
=>
Loc::getMessage
(
'LANDING_TABLE_FIELD_LU_DATE_CREATE'
)
42
))
43
);
44
}
45
}
Bitrix\Landing\Internals\BlockLastUsedTable
Definition
blocklastused.php:10
Bitrix\Landing\Internals\BlockLastUsedTable\getMap
static getMap()
Definition
blocklastused.php:24
Bitrix\Landing\Internals\BlockLastUsedTable\getTableName
static getTableName()
Definition
blocklastused.php:15
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\Main\ORM\Entity
Definition
entity.php:26
Bitrix\Main\ORM\Fields\DatetimeField
Definition
datetimefield.php:22
Bitrix\Main\ORM\Fields\IntegerField
Definition
integerfield.php:20
Bitrix\Main\ORM\Fields\StringField
Definition
stringfield.php:20
Bitrix\Landing\Internals
Definition
base.php:2
modules
landing
lib
internals
blocklastused.php
Создано системой
1.10.0