Bitrix-D7
23.9
Загрузка...
Поиск...
Не найдено
extra.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
Extra
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
'NAME'
=>[
24
'TYPE'
=>DataType::TYPE_STRING,
25
'ATTRIBUTES'
=>[
26
Attributes::REQUIRED
27
]
28
],
29
'PERCENTAGE'
=>[
30
'TYPE'
=>DataType::TYPE_STRING,
31
'ATTRIBUTES'
=>[
32
Attributes::REQUIRED
33
]
34
]
35
];
36
}
37
}
Bitrix\Catalog\Controller\Extra
Definition
extra.php:15
Bitrix\Catalog\Product\Store\DistributionStrategy\Base
Definition
base.php:21
Bitrix\Catalog\RestView\Extra\getFields
getFields()
Definition
extra.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
extra.php
Создано системой
1.10.0