Bitrix-D7
23.9
Загрузка...
Поиск...
Не найдено
documentcontractor.php
1
<?php
2
3
namespace
Bitrix\Catalog\RestView
;
4
5
use
Bitrix\Rest\Integration\View\Attributes
;
6
use
Bitrix\Rest\Integration\View\Base
;
7
use
Bitrix\Rest\Integration\View\DataType
;
8
9
final
class
DocumentContractor
extends
Base
10
{
11
public
function
getFields
(): array
12
{
13
return
[
14
'ID'
=> [
15
'TYPE'
=> DataType::TYPE_INT,
16
'ATTRIBUTES'
=> [
17
Attributes::READONLY,
18
],
19
],
20
'DOCUMENT_ID'
=> [
21
'TYPE'
=> DataType::TYPE_INT,
22
'ATTRIBUTES'
=> [
23
Attributes::REQUIRED,
24
],
25
],
26
'ENTITY_TYPE_ID'
=> [
27
'TYPE'
=> DataType::TYPE_INT,
28
'ATTRIBUTES'
=> [
29
Attributes::REQUIRED,
30
],
31
],
32
'ENTITY_ID'
=> [
33
'TYPE'
=> DataType::TYPE_INT,
34
'ATTRIBUTES'
=> [
35
Attributes::REQUIRED,
36
],
37
],
38
];
39
}
40
}
Bitrix\Catalog\Controller\DocumentContractor
Definition
documentcontractor.php:16
Bitrix\Catalog\Product\Store\DistributionStrategy\Base
Definition
base.php:21
Bitrix\Catalog\RestView\DocumentContractor\getFields
getFields()
Definition
documentcontractor.php:11
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
documentcontractor.php
Создано системой
1.10.0