Bitrix-D7
23.9
Загрузка...
Поиск...
Не найдено
designerrepo.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
DesignerRepoTable
extends
Entity\DataManager
26
{
31
public
static
function
getTableName
()
32
{
33
return
'b_landing_designer_repo'
;
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
'XML_ID'
=>
new
Entity
\
StringField
(
'XML_ID'
, array(
49
'title'
=>
Loc::getMessage
(
'LANDING_TABLE_FIELD_DB_XML_ID'
),
50
'required'
=>
true
51
)),
52
'TITLE'
=>
new
Entity
\
StringField
(
'TITLE'
, array(
53
'title'
=>
Loc::getMessage
(
'LANDING_TABLE_FIELD_DB_TITLE'
)
54
)),
55
'SORT'
=>
new
Entity
\
IntegerField
(
'SORT'
, array(
56
'title'
=>
Loc::getMessage
(
'LANDING_TABLE_FIELD_DB_SORT'
)
57
)),
58
'HTML'
=>
new
Entity
\
StringField
(
'HTML'
, array(
59
'title'
=>
Loc::getMessage
(
'LANDING_TABLE_FIELD_DB_HTML'
),
60
'required'
=>
true
61
)),
62
'MANIFEST'
=> (
new
\
Bitrix
\Main\ORM\Fields\
ArrayField
(
'MANIFEST'
, array(
63
'title'
=>
Loc::getMessage
(
'LANDING_TABLE_FIELD_DB_NODE_MANIFEST'
)
64
)))->configureSerializationPhp(),
65
'CREATED_BY_ID'
=>
new
Entity
\
IntegerField
(
'CREATED_BY_ID'
, array(
66
'title'
=>
Loc::getMessage
(
'LANDING_TABLE_FIELD_CREATED_BY_ID'
),
67
'required'
=>
true
68
)),
69
'MODIFIED_BY_ID'
=>
new
Entity
\
IntegerField
(
'MODIFIED_BY_ID'
, array(
70
'title'
=>
Loc::getMessage
(
'LANDING_TABLE_FIELD_MODIFIED_BY_ID'
),
71
'required'
=>
true
72
)),
73
'DATE_CREATE'
=>
new
Entity
\
DatetimeField
(
'DATE_CREATE'
, array(
74
'title'
=>
Loc::getMessage
(
'LANDING_TABLE_FIELD_DATE_CREATE'
),
75
'required'
=>
true
76
)),
77
'DATE_MODIFY'
=>
new
Entity
\
DatetimeField
(
'DATE_MODIFY'
, array(
78
'title'
=>
Loc::getMessage
(
'LANDING_TABLE_FIELD_DATE_MODIFY'
),
79
'required'
=>
true
80
))
81
);
82
}
83
}
Bitrix\Landing\Internals\DesignerRepoTable
Definition
designerrepo.php:26
Bitrix\Landing\Internals\DesignerRepoTable\getMap
static getMap()
Definition
designerrepo.php:40
Bitrix\Landing\Internals\DesignerRepoTable\getTableName
static getTableName()
Definition
designerrepo.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\ArrayField
Definition
arrayfield.php:19
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
Bitrix
modules
landing
lib
internals
designerrepo.php
Создано системой
1.10.0