Bitrix-D7
23.9
Загрузка...
Поиск...
Не найдено
profile.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
Profile
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
'NAME'
=>[
21
'TYPE'
=>DataType::TYPE_STRING
22
],
23
'USER_ID'
=>[
24
'TYPE'
=>DataType::TYPE_STRING,
25
'ATTRIBUTES'
=>[
26
Attributes::REQUIRED,
27
Attributes::IMMUTABLE
28
]
29
],
30
'PERSON_TYPE_ID'
=>[
31
'ATTRIBUTES'
=>[
32
Attributes::REQUIRED,
33
Attributes::IMMUTABLE
34
]
35
],
36
'DATE_UPDATE'
=>[
37
'TYPE'
=>DataType::TYPE_DATETIME
38
],
39
'XML_ID'
=>[
40
'TYPE'
=>DataType::TYPE_STRING
41
],
42
'VERSIO_1C'
=>[
43
'TYPE'
=>DataType::TYPE_STRING
44
]
45
];
46
}
47
}
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\Profile
Definition
profile.php:16
Bitrix\Sale\Rest\View\Profile\getFields
getFields()
Definition
profile.php:11
Bitrix\Sale\Rest\View
Definition
base.php:3
modules
sale
lib
rest
view
profile.php
Создано системой
1.10.0