ProductPropertyFeature::exists

  1. Bitrix24 API (v. 23.675.0)
  2. catalog
  3. ProductPropertyFeature
  4. exists
  • Модуль: 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;
}

Добавить комментарий