1C-Bitrix
25.700.0
Загрузка...
Поиск...
Не найдено
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
Определения
ratio.php:11
Bitrix\Catalog\RestView\Ratio\getFields
getFields()
Определения
ratio.php:14
Bitrix\Sale\Services\Base
Определения
concreteproductrestriction.php:3
bitrix
modules
catalog
lib
restview
ratio.php
Создано системой
1.14.0