Bitrix-D7
23.9
Загрузка...
Поиск...
Не найдено
storeproduct.php
1
<?php
2
3
namespace
Bitrix\Catalog\RestView
;
4
5
use
Bitrix\Rest\Integration\View\Attributes
;
6
use
Bitrix\Rest\Integration\View\DataType
;
7
use
Bitrix\Rest\Integration\View\Base
;
8
9
final
class
StoreProduct
extends
Base
10
{
11
12
public
function
getFields
()
13
{
14
return
[
15
'ID'
=>[
16
'TYPE'
=>DataType::TYPE_INT,
17
'ATTRIBUTES'
=>[
18
Attributes::READONLY
19
]
20
],
21
'PRODUCT_ID'
=>[
22
'TYPE'
=>DataType::TYPE_INT,
23
'ATTRIBUTES'
=>[
24
Attributes::READONLY
25
]
26
],
27
'AMOUNT'
=>[
28
'TYPE'
=>DataType::TYPE_FLOAT,
29
'ATTRIBUTES'
=>[
30
Attributes::READONLY
31
]
32
],
33
'STORE_ID'
=>[
34
'TYPE'
=>DataType::TYPE_INT,
35
'ATTRIBUTES'
=>[
36
Attributes::READONLY
37
]
38
],
39
'QUANTITY_RESERVED'
=>[
40
'TYPE'
=>DataType::TYPE_FLOAT,
41
'ATTRIBUTES'
=>[
42
Attributes::READONLY
43
]
44
],
45
];
46
}
47
}
Bitrix\Catalog\Controller\StoreProduct
Definition
storeproduct.php:13
Bitrix\Catalog\Product\Store\DistributionStrategy\Base
Definition
base.php:21
Bitrix\Catalog\RestView\StoreProduct\getFields
getFields()
Definition
storeproduct.php:12
Bitrix\Rest\Integration\View\Attributes
Definition
attributes.php:8
Bitrix\Rest\Integration\View\Base
Definition
base.php:16
Bitrix\Rest\Integration\View\DataType
Definition
datatype.php:11
Bitrix\Catalog\RestView
Definition
catalog.php:4
modules
catalog
lib
restview
storeproduct.php
Создано системой
1.10.0