1C-Bitrix
25.700.0
Загрузка...
Поиск...
Не найдено
productimage.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
ProductImage
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
'NAME'
=> [
24
'TYPE'
=> DataType::TYPE_STRING,
25
'ATTRIBUTES'
=> [
26
Attributes::READONLY
27
]
28
],
29
'PRODUCT_ID'
=> [
30
'TYPE'
=> DataType::TYPE_INT,
31
'ATTRIBUTES'
=> [
32
Attributes::REQUIRED
33
]
34
],
35
'TYPE'
=> [
36
'TYPE'
=> DataType::TYPE_STRING,
37
],
38
'CREATE_TIME'
=> [
39
'TYPE'
=> DataType::TYPE_DATETIME,
40
'ATTRIBUTES'
=> [
41
Attributes::READONLY
42
]
43
],
44
'DOWNLOAD_URL'
=> [
45
'TYPE'
=> DataType::TYPE_STRING,
46
'ATTRIBUTES'
=> [
47
Attributes::READONLY
48
]
49
],
50
'DETAIL_URL'
=> [
51
'TYPE'
=> DataType::TYPE_STRING,
52
'ATTRIBUTES'
=> [
53
Attributes::READONLY
54
]
55
],
56
];
57
}
58
}
Bitrix\Catalog\Controller\ProductImage
Определения
productimage.php:16
Bitrix\Catalog\RestView\ProductImage\getFields
getFields()
Определения
productimage.php:14
Bitrix\Sale\Services\Base
Определения
concreteproductrestriction.php:3
bitrix
modules
catalog
lib
restview
productimage.php
Создано системой
1.14.0