• Модуль: catalog
  • Путь к файлу: ~/bitrix/modules/catalog/lib/controller/storeproduct.php
  • Класс: BitrixCatalogControllerStoreProduct
  • Вызов: StoreProduct::exists
protected function exists($id)
{
	$r = new Result();
	if(isset($this->get($id)['ID']) == false)
		$r->addError(new Error('Entity is not exists'));

	return $r;
}