Bitrix-D7
23.9
Загрузка...
Поиск...
Не найдено
productcompilationtable.php
1
<?php
2
namespace
Bitrix\Catalog
;
3
4
use Bitrix\Crm\DealTable;
5
use
Bitrix\Main\Localization\Loc
,
6
Bitrix\Main\ORM\Data\DataManager
,
7
Bitrix\Main\ORM\Fields\IntegerField
,
8
Bitrix\Main\ORM\Fields\TextField
;
9
use
Bitrix\Main\ORM\Fields\DatetimeField
;
10
use
Bitrix\Main\ORM\Fields\Relations\Reference
;
11
use
Bitrix\Main\Type\DateTime
;
12
13
Loc::loadMessages
(__FILE__);
14
44
class
ProductCompilationTable
extends
DataManager
45
{
51
public
static
function
getTableName
()
52
{
53
return
'b_catalog_product_compilation'
;
54
}
55
61
public
static
function
getMap
()
62
{
63
return
[
64
new
IntegerField
(
65
'ID'
,
66
[
67
'primary'
=>
true
,
68
'autocomplete'
=>
true
,
69
'title'
=>
Loc::getMessage
(
'PRODUCT_COMPILATION_ENTITY_ID_FIELD'
)
70
]
71
),
72
new
IntegerField
(
73
'DEAL_ID'
,
74
[
75
'required'
=>
true
,
76
'title'
=>
Loc::getMessage
(
'PRODUCT_COMPILATION_ENTITY_DEAL_ID_FIELD'
)
77
]
78
),
79
new
TextField
(
80
'PRODUCT_IDS'
,
81
[
82
'required'
=>
true
,
83
'title'
=>
Loc::getMessage
(
'PRODUCT_COMPILATION_ENTITY_PRODUCT_IDS_FIELD'
)
84
]
85
),
86
new
DatetimeField
(
87
'CREATION_DATE'
,
88
[
89
'required'
=>
true
,
90
'title'
=>
Loc::getMessage
(
'PRODUCT_COMPILATION_ENTITY_PRODUCT_IDS_FIELD'
)
91
]
92
),
93
new
IntegerField
(
94
'CHAT_ID'
,
95
[
96
'required'
=>
false
,
97
'title'
=>
Loc::getMessage
(
'PRODUCT_COMPILATION_ENTITY_CHAT_ID_FIELD'
)
98
]
99
),
100
new
IntegerField
(
101
'QUEUE_ID'
,
102
[
103
'required'
=>
false
,
104
'title'
=>
Loc::getMessage
(
'PRODUCT_COMPILATION_ENTITY_QUEUE_ID_FIELD'
)
105
]
106
),
107
];
108
}
109
}
Bitrix\Catalog\ProductCompilationTable
Definition
productcompilationtable.php:45
Bitrix\Catalog\ProductCompilationTable\getMap
static getMap()
Definition
productcompilationtable.php:61
Bitrix\Catalog\ProductCompilationTable\getTableName
static getTableName()
Definition
productcompilationtable.php:51
Bitrix\Main\Localization\Loc
Definition
loc.php:11
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\Data\DataManager
Definition
datamanager.php:33
Bitrix\Main\ORM\Fields\DatetimeField
Definition
datetimefield.php:22
Bitrix\Main\ORM\Fields\IntegerField
Definition
integerfield.php:20
Bitrix\Main\ORM\Fields\Relations\Reference
Definition
reference.php:26
Bitrix\Main\ORM\Fields\TextField
Definition
textfield.php:20
Bitrix\Main\Type\DateTime
Definition
datetime.php:9
Bitrix\Catalog
modules
catalog
lib
productcompilationtable.php
Создано системой
1.10.0