• Модуль: catalog
  • Путь к файлу: ~/bitrix/modules/catalog/lib/controller/productpropertyfeature.php
  • Класс: BitrixCatalogControllerProductPropertyFeature
  • Вызов: ProductPropertyFeature::getAvailableFeaturesByPropertyAction
public function getAvailableFeaturesByPropertyAction(int $propertyId): ?array
{
	$checkPropertyResult = $this->checkProperty($propertyId);
	if (!$checkPropertyResult->isSuccess())
	{
		$this->addErrors($checkPropertyResult->getErrors());
		return null;
	}

	$property = $this->getPropertyById($propertyId);

	return ['FEATURES' => PropertyCatalogFeature::getPropertyFeatureList($property)];
}