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