• Модуль: catalogmobile
  • Путь к файлу: ~/bitrix/modules/catalogmobile/lib/ProductWizard/SaveProductCommand.php
  • Класс: BitrixCatalogMobileProductWizardSaveProductCommand
  • Вызов: SaveProductCommand::execute
public function execute(): Result
{
	$result = new Result();

	$response = $this->callCatalogController();

	if ($response === null)
	{
		$result->addErrors($this->controller->getErrors());
	}
	else
	{
		$result = $this->finalize((int)$response['id']);
	}

	return $result;
}