Bitrix-D7
23.9
Загрузка...
Поиск...
Не найдено
updateblock.php
1
<?php
2
namespace
Bitrix\Landing\Internals
;
3
4
use \Bitrix\Main\Localization\Loc;
5
use \Bitrix\Main\Entity;
6
7
Loc::loadMessages
(__FILE__);
8
25
class
UpdateBlockTable
extends
Entity\DataManager
26
{
31
public
static
function
getTableName
()
32
{
33
return
'b_landing_update_block'
;
34
}
35
40
public
static
function
getMap
()
41
{
42
return
array(
43
'ID'
=>
new
Entity
\
IntegerField
(
'ID'
, array(
44
'primary'
=>
true
,
45
'autocomplete'
=>
true
,
46
'title'
=>
'ID'
47
)),
48
'CODE'
=>
new
Entity
\
StringField
(
'CODE'
, array(
49
'title'
=>
Loc::getMessage
(
'LANDING_TABLE_FIELD_BLOCK_CODE'
),
50
'required'
=>
true
51
)),
52
'LAST_BLOCK_ID'
=>
new
Entity
\
IntegerField
(
'LAST_BLOCK_ID'
, array(
53
'title'
=>
Loc::getMessage
(
'LANDING_TABLE_FIELD_LAST_BLOCK_ID'
),
54
'required'
=>
true
,
55
'default_value'
=> 0
56
)),
57
'PARAMS'
=>
new
Entity
\
StringField
(
'PARAMS'
, array(
58
'title'
=>
Loc::getMessage
(
'LANDING_TABLE_FIELD_BLOCK_PARAMS'
),
59
'serialized'
=>
true
60
)),
61
'CREATED_BY_ID'
=>
new
Entity
\
IntegerField
(
'CREATED_BY_ID'
, array(
62
'title'
=>
Loc::getMessage
(
'LANDING_TABLE_FIELD_CREATED_BY_ID'
),
63
'required'
=>
true
64
)),
65
'MODIFIED_BY_ID'
=>
new
Entity
\
IntegerField
(
'MODIFIED_BY_ID'
, array(
66
'title'
=>
Loc::getMessage
(
'LANDING_TABLE_FIELD_MODIFIED_BY_ID'
),
67
'required'
=>
true
68
)),
69
'DATE_CREATE'
=>
new
Entity
\
DatetimeField
(
'DATE_CREATE'
, array(
70
'title'
=>
Loc::getMessage
(
'LANDING_TABLE_FIELD_DATE_CREATE'
),
71
'required'
=>
true
72
)),
73
'DATE_MODIFY'
=>
new
Entity
\
DatetimeField
(
'DATE_MODIFY'
, array(
74
'title'
=>
Loc::getMessage
(
'LANDING_TABLE_FIELD_DATE_MODIFY'
),
75
'required'
=>
true
76
))
77
);
78
}
79
}
Bitrix\Landing\Internals\UpdateBlockTable
Definition
updateblock.php:26
Bitrix\Landing\Internals\UpdateBlockTable\getMap
static getMap()
Definition
updateblock.php:40
Bitrix\Landing\Internals\UpdateBlockTable\getTableName
static getTableName()
Definition
updateblock.php:31
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
updateblock.php
Создано системой
1.10.0