Bitrix-D7
23.9
Загрузка...
Поиск...
Не найдено
storemaster.php
1
<?php
2
3
namespace
Bitrix\Catalog\Component
;
4
5
use
Bitrix\Main\Config\Option
;
6
12
final
class
StoreMaster
13
{
14
private
const
IS_MASTER_USED_OPTION =
'use_store_master_used'
;
15
19
public
static
function
isUsed
(): bool
20
{
21
return
Option::get(
'catalog'
, self::IS_MASTER_USED_OPTION,
'N'
) ===
'Y'
;
22
}
23
24
public
static
function
setIsUsed
(): void
25
{
26
Option::set(
'catalog'
, self::IS_MASTER_USED_OPTION,
'Y'
);
27
}
28
}
Bitrix\Catalog\Component\StoreMaster
Definition
storemaster.php:13
Bitrix\Catalog\Component\StoreMaster\isUsed
static isUsed()
Definition
storemaster.php:19
Bitrix\Catalog\Component\StoreMaster\setIsUsed
static setIsUsed()
Definition
storemaster.php:24
Bitrix\Main\Config\Option
Definition
option.php:15
Bitrix\Catalog\Component
Definition
baseform.php:3
modules
catalog
lib
component
storemaster.php
Создано системой
1.10.0