Bitrix-D7
23.9
Загрузка...
Поиск...
Не найдено
profilevalue.php
1
<?php
2
3
namespace
Bitrix\Sale\Rest\View
;
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
ProfileValue
extends
Base
10
{
11
public
function
getFields
()
12
{
13
return
[
14
'ID'
=>[
15
'TYPE'
=>DataType::TYPE_INT,
16
'ATTRIBUTES'
=>[
17
Attributes::READONLY
18
]
19
],
20
'USER_PROPS_ID'
=>[
21
'TYPE'
=>DataType::TYPE_INT,
22
'ATTRIBUTES'
=>[
23
Attributes::REQUIRED,
24
Attributes::IMMUTABLE
25
]
26
],
27
'ORDER_PROPS_ID'
=>[
28
'TYPE'
=>DataType::TYPE_INT,
29
'ATTRIBUTES'
=>[
30
Attributes::REQUIRED,
31
Attributes::IMMUTABLE
32
]
33
],
34
'NAME'
=>[
35
'TYPE'
=>DataType::TYPE_STRING,
36
'ATTRIBUTES'
=>[
37
Attributes::REQUIRED
38
]
39
],
40
'VALUE'
=>[
41
'TYPE'
=>DataType::TYPE_STRING,
42
'ATTRIBUTES'
=>[
43
Attributes::REQUIRED
44
]
45
],
46
];
47
}
48
}
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\ProfileValue
Definition
profilevalue.php:16
Bitrix\Sale\Rest\View\ProfileValue\getFields
getFields()
Definition
profilevalue.php:11
Bitrix\Sale\Rest\View
Definition
base.php:3
modules
sale
lib
rest
view
profilevalue.php
Создано системой
1.10.0