Bitrix-D7
23.9
Загрузка...
Поиск...
Не найдено
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
Definition
storeproduct.php:39
Bitrix\Main\Localization\Loc
Definition
loc.php:11
Bitrix\Main\Localization\Loc\loadMessages
static loadMessages($file)
Definition
loc.php:64
Bitrix\Sale\Internals\StoreProductTable\getMap
static getMap()
Definition
storeproduct.php:46
Bitrix\Sale\Internals\StoreProductTable\getTableName
static getTableName()
Definition
storeproduct.php:41
Bitrix\Main
Bitrix\Sale\Internals
Definition
accountnumber.php:3
modules
sale
lib
internals
storeproduct.php
Создано системой
1.10.0