Bitrix-D7
23.9
Загрузка...
Поиск...
Не найдено
ratio.php
1
<?php
2
3
4
namespace
Bitrix\Catalog\RestView
;
5
6
7
use
Bitrix\Rest\Integration\View\Attributes
;
8
use
Bitrix\Rest\Integration\View\DataType
;
9
use
Bitrix\Rest\Integration\View\Base
;
10
11
final
class
Ratio
extends
Base
12
{
13
14
public
function
getFields
()
15
{
16
return
[
17
'ID'
=>[
18
'TYPE'
=>DataType::TYPE_INT,
19
'ATTRIBUTES'
=>[
20
Attributes::READONLY
21
]
22
],
23
'PRODUCT_ID'
=>[
24
'TYPE'
=>DataType::TYPE_INT,
25
'ATTRIBUTES'
=>[
26
Attributes::REQUIRED
27
]
28
],
29
'RATIO'
=>[
30
'TYPE'
=>DataType::TYPE_FLOAT,
31
'ATTRIBUTES'
=>[
32
Attributes::REQUIRED
33
]
34
],
35
'IS_DEFAULT'
=>[
36
'TYPE'
=>DataType::TYPE_CHAR,
37
]
38
];
39
}
40
}
Bitrix\Catalog\Controller\Ratio
Definition
ratio.php:15
Bitrix\Catalog\Product\Store\DistributionStrategy\Base
Definition
base.php:21
Bitrix\Catalog\RestView\Ratio\getFields
getFields()
Definition
ratio.php:14
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
ratio.php
Создано системой
1.10.0