Base::isAllowedProductTypeByIBlockId

  1. Bitrix24 API (v. 23.675.0)
  2. catalog
  3. Base
  4. isAllowedProductTypeByIBlockId
  • Модуль: catalog
  • Путь к файлу: ~/bitrix/modules/catalog/lib/controller/product/base.php
  • Класс: BitrixCatalogControllerProductBase
  • Вызов: Base::isAllowedProductTypeByIBlockId
private function isAllowedProductTypeByIBlockId(EngineAction $action): Result
{
	$arguments = $action->getArguments();
	$fields = $arguments['fields'];

	/** @var BitrixCatalogRestViewProduct $view */
	$view = $this->getViewManager()->getView($this);
	return $view->isAllowedProductTypeByIBlockId(static::TYPE, $fields['iblockId']);
}

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