Bitrix-D7
23.9
Загрузка...
Поиск...
Не найдено
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
Definition
productpropertyenum.php:14
Bitrix\Catalog\Product\Store\DistributionStrategy\Base
Definition
base.php:21
Bitrix\Catalog\RestView\ProductPropertyEnum\getFields
getFields()
Definition
productpropertyenum.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
productpropertyenum.php
Создано системой
1.10.0