1C-Bitrix
25.700.0
Загрузка...
Поиск...
Не найдено
storeproduct.php
См. документацию.
1
<?php
11
namespace
Bitrix\Sale\Internals;
12
13
use Bitrix\Main;
14
use Bitrix\Main\Localization\Loc;
15
16
if
(!
Main
\
Loader::includeModule
(
'catalog'
))
17
{
18
return
;
19
}
20
21
Loc::loadMessages(__FILE__);
22
39
class
StoreProductTable
extends
Main\Entity\DataManager
40
{
41
public
static
function
getTableName
()
42
{
43
return
'b_catalog_store_product'
;
44
}
45
46
public
static
function
getMap
()
47
{
48
global
$DB
;
49
$fieldsMap =
array
(
50
'ID'
=>
array
(
51
'data_type'
=>
'integer'
,
52
'primary'
=>
true
,
53
'autocomplete'
=>
true
54
),
55
'PRODUCT_ID'
=>
array
(
56
'data_type'
=>
'integer'
57
),
58
'SALE_PRODUCT'
=>
array
(
59
'data_type'
=>
'Product'
,
60
'reference'
=>
array
(
'=this.PRODUCT_ID'
=>
'ref.ID'
)
61
),
62
'AMOUNT'
=>
array
(
63
'data_type'
=>
'float'
64
),
65
'STORE_ID'
=>
array
(
66
'data_type'
=>
'integer'
,
67
),
68
'STORE'
=>
array
(
69
'data_type'
=>
'Bitrix\Catalog\Store'
,
70
'reference'
=>
array
(
'=this.STORE_ID'
=>
'ref.ID'
)
71
)
72
);
73
74
return
$fieldsMap;
75
}
76
}
Bitrix\Catalog\StoreProductTable
Определения
storeproduct.php:39
Bitrix\Main\Loader\includeModule
static includeModule($moduleName)
Определения
loader.php:67
Bitrix\Sale\Internals\StoreProductTable\getMap
static getMap()
Определения
storeproduct.php:46
Bitrix\Sale\Internals\StoreProductTable\getTableName
static getTableName()
Определения
storeproduct.php:41
array
</td ></tr ></table ></td ></tr >< tr >< td class="bx-popup-label bx-width30"><?=GetMessage("PAGE_NEW_TAGS")?> array( $site)
Определения
file_new.php:804
$DB
global $DB
Определения
cron_frame.php:29
Bitrix\Main
bitrix
modules
sale
lib
internals
storeproduct.php
Создано системой
1.14.0