• Модуль: catalog
  • Путь к файлу: ~/bitrix/modules/catalog/lib/controller/productpropertyfeature.php
  • Класс: BitrixCatalogControllerProductPropertyFeature
  • Вызов: ProductPropertyFeature::exists
protected function exists($id)
{
	$result = new Result();
	$propertyFeature = $this->get($id);
	if (!$propertyFeature || !$this->isIblockCatalog((int)$propertyFeature['IBLOCK_ID']))
	{
		$result->addError(new Error('Property feature does not exist'));
	}

	return $result;
}