Bitrix-D7
23.9
Загрузка...
Поиск...
Не найдено
status.php
1
<?php
2
3
4
namespace
Bitrix\Sale\Rest\View
;
5
6
7
use
Bitrix\Rest\Integration\View\Attributes
;
8
use
Bitrix\Rest\Integration\View\DataType
;
9
10
class
Status
extends
Base
11
{
12
public
function
getFields
(): array
13
{
14
return
[
15
'ID'
=>[
16
'TYPE'
=>DataType::TYPE_STRING,
17
'ATTRIBUTES'
=>[
18
Attributes::REQUIRED,
19
Attributes::IMMUTABLE
20
]
21
],
22
'TYPE'
=>[
23
'TYPE'
=>DataType::TYPE_CHAR,
24
'ATTRIBUTES'
=>[
25
Attributes::REQUIRED
26
//Attributes::IMMUTABLE
27
]
28
],
29
'SORT'
=>[
30
'TYPE'
=>DataType::TYPE_INT
31
],
32
'NOTIFY'
=>[
33
'TYPE'
=>DataType::TYPE_STRING
34
],
35
'COLOR'
=>[
36
'TYPE'
=>DataType::TYPE_STRING
37
],
38
'XML_ID'
=>[
39
'TYPE'
=>DataType::TYPE_STRING
40
]
41
];
42
}
43
}
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\Sale\Controller\Status
Definition
status.php:22
Bitrix\Sale\Rest\View\Status\getFields
getFields()
Definition
status.php:12
Bitrix\Sale\Rest\View
Definition
base.php:3
modules
sale
lib
rest
view
status.php
Создано системой
1.10.0