Bitrix-D7
23.9
Загрузка...
Поиск...
Не найдено
propertygroups.php
1
<?php
2
3
4
namespace
Bitrix\Sale\Rest\Entity
;
5
6
7
use
Bitrix\Sale\Rest\Attributes
;
8
9
class
PropertyGroups
extends
Base
10
{
11
public
function
getFields
()
12
{
13
return
[
14
'ID'
=>[
15
'TYPE'
=>
self::TYPE_INT
,
16
'ATTRIBUTES'
=>[
Attributes::ReadOnly
]
17
],
18
'PERSON_TYPE_ID'
=>[
19
'TYPE'
=>
self::TYPE_INT
,
20
'ATTRIBUTES'
=>[
Attributes::Required
]
21
],
22
'NAME'
=>[
23
'TYPE'
=>
self::TYPE_STRING
,
24
'ATTRIBUTES'
=>[
Attributes::Required
]
25
],
26
'SORT'
=>[
27
'TYPE'
=>
self::TYPE_INT
28
]
29
];
30
}
31
}
Bitrix\Sale\Rest\Attributes
Definition
attributes.php:8
Bitrix\Sale\Rest\Attributes\Required
const Required
Definition
attributes.php:13
Bitrix\Sale\Rest\Attributes\ReadOnly
const ReadOnly
Definition
attributes.php:11
Bitrix\Sale\Rest\Entity\Base
Definition
base.php:15
Bitrix\Sale\Rest\Entity\Base\TYPE_STRING
const TYPE_STRING
Definition
base.php:18
Bitrix\Sale\Rest\Entity\Base\TYPE_INT
const TYPE_INT
Definition
base.php:16
Bitrix\Sale\Rest\Entity\PropertyGroups
Definition
propertygroups.php:10
Bitrix\Sale\Rest\Entity\PropertyGroups\getFields
getFields()
Definition
propertygroups.php:11
Bitrix\Sale\Rest\Entity
Definition
base.php:4
modules
sale
lib
rest
entity
propertygroups.php
Создано системой
1.10.0