Bitrix-D7 23.9
 
Загрузка...
Поиск...
Не найдено
PropertyFeature.php
1<?php
2
4
6use Bitrix\Catalog\v2\HasSettingsTrait;
7
17{
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}
getSetting(string $name)