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

	return $result;
}