1C-Bitrix
25.700.0
Загрузка...
Поиск...
Не найдено
productpropertyenum.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
ProductPropertyEnum
extends
Base
10
{
14
public
function
getFields
()
15
{
16
return
[
17
'ID'
=> [
18
'TYPE'
=> DataType::TYPE_INT,
19
'ATTRIBUTES'
=> [
20
Attributes::READONLY,
21
],
22
],
23
'PROPERTY_ID'
=> [
24
'TYPE'
=> DataType::TYPE_INT,
25
'ATTRIBUTES'
=> [
26
Attributes::REQUIRED,
27
],
28
],
29
'VALUE'
=> [
30
'TYPE'
=> DataType::TYPE_STRING,
31
'ATTRIBUTES'
=> [
32
Attributes::REQUIRED,
33
],
34
],
35
'DEF'
=> [
36
'TYPE'
=> DataType::TYPE_CHAR,
37
],
38
'SORT'
=> [
39
'TYPE'
=> DataType::TYPE_INT,
40
],
41
'XML_ID'
=> [
42
'TYPE'
=> DataType::TYPE_STRING,
43
'ATTRIBUTES'
=> [
44
Attributes::REQUIRED,
45
],
46
],
47
];
48
}
49
}
Bitrix\Catalog\Controller\ProductPropertyEnum
Определения
productpropertyenum.php:11
Bitrix\Catalog\RestView\ProductPropertyEnum\getFields
getFields()
Определения
productpropertyenum.php:14
Bitrix\Sale\Services\Base
Определения
concreteproductrestriction.php:3
bitrix
modules
catalog
lib
restview
productpropertyenum.php
Создано системой
1.14.0