Bitrix-D7
23.9
Загрузка...
Поиск...
Не найдено
enum.php
1
<?php
2
3
namespace
Bitrix\Catalog\Component\Preset
;
4
5
class
Enum
6
{
7
const
TYPE_CRM
=
'crm'
;
8
const
TYPE_MENU
=
'menu'
;
9
const
TYPE_STORE
=
'store'
;
10
const
TYPE_MATERIAL
=
'material'
;
11
12
static
public
function
getAllType
(): array
13
{
14
return
[
15
self::TYPE_CRM
,
16
self::TYPE_MENU
,
17
self::TYPE_STORE
,
18
self::TYPE_MATERIAL
19
];
20
}
21
22
static
public
function
getUseAllType
(): array
23
{
24
return
[
25
self::TYPE_CRM
,
26
self::TYPE_MENU
,
27
self::TYPE_STORE
,
28
];
29
}
30
}
Bitrix\Catalog\Component\Preset\Enum
Definition
enum.php:6
Bitrix\Catalog\Component\Preset\Enum\TYPE_STORE
const TYPE_STORE
Definition
enum.php:9
Bitrix\Catalog\Component\Preset\Enum\getUseAllType
static getUseAllType()
Definition
enum.php:22
Bitrix\Catalog\Component\Preset\Enum\getAllType
static getAllType()
Definition
enum.php:12
Bitrix\Catalog\Component\Preset\Enum\TYPE_MATERIAL
const TYPE_MATERIAL
Definition
enum.php:10
Bitrix\Catalog\Component\Preset\Enum\TYPE_MENU
const TYPE_MENU
Definition
enum.php:8
Bitrix\Catalog\Component\Preset\Enum\TYPE_CRM
const TYPE_CRM
Definition
enum.php:7
Bitrix\Catalog\Component\Preset
Definition
crm.php:4
modules
catalog
lib
component
preset
enum.php
Создано системой
1.10.0