1C-Bitrix
25.700.0
Загрузка...
Поиск...
Не найдено
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\Sale\Controller\Profile
Определения
profile.php:16
Bitrix\Sale\Exchange\Integration\CRM\Placement\Base
Определения
base.php:11
Bitrix\Sale\Rest\View\Profile\getFields
getFields()
Определения
profile.php:11
bitrix
modules
sale
lib
rest
view
profile.php
Создано системой
1.14.0