Bitrix-D7
23.9
Загрузка...
Поиск...
Не найдено
PropertyFeature.php
1
<?php
2
3
namespace
Bitrix\Catalog\v2\PropertyFeature
;
4
5
use
Bitrix\Catalog\v2\BaseEntity
;
6
use Bitrix\Catalog\v2\HasSettingsTrait;
7
16
class
PropertyFeature
extends
BaseEntity
17
{
18
use
HasSettingsTrait
;
19
20
public
function
getFeatureId
(): string
21
{
22
return
$this->
getSetting
(
'FEATURE_ID'
);
23
}
24
25
public
function
isEnabled
(): bool
26
{
27
return
$this->
getSetting
(
'IS_ENABLED'
) ===
'Y'
;
28
}
29
30
public
function
getModule
(): string
31
{
32
return
$this->
getSetting
(
'MODULE_ID'
);
33
}
34
}
Bitrix\Catalog\v2\BaseEntity
Definition
BaseEntity.php:22
Bitrix\Catalog\v2\PropertyFeature\PropertyFeature
Definition
PropertyFeature.php:17
Bitrix\Catalog\v2\PropertyFeature\PropertyFeature\getModule
getModule()
Definition
PropertyFeature.php:30
Bitrix\Catalog\v2\PropertyFeature\PropertyFeature\getFeatureId
getFeatureId()
Definition
PropertyFeature.php:20
Bitrix\Catalog\v2\PropertyFeature\PropertyFeature\isEnabled
isEnabled()
Definition
PropertyFeature.php:25
Bitrix\Catalog\v2\PropertyFeature
Definition
HasPropertyFeatureCollection.php:3
Bitrix\Catalog\v2\getSetting
getSetting(string $name)
Definition
HasSettingsTrait.php:37
Bitrix\Catalog\v2\HasSettingsTrait
trait HasSettingsTrait
Definition
HasSettingsTrait.php:8
modules
catalog
lib
v2
PropertyFeature
PropertyFeature.php
Создано системой
1.10.0