• Модуль: iblock
  • Путь к файлу: ~/bitrix/modules/iblock/lib/component/base.php
  • Класс: BitrixIblockComponentBase
  • Вызов: Base::executeComponent
public function executeComponent()
{
	$this->checkModules();

	if ($this->hasErrors())
	{
		return $this->processErrors();
	}

	$action = $this->prepareAction();
	$this->setAction($action);
	$this->doAction();

	if ($this->hasErrors())
	{
		return $this->processErrors();
	}

	return $this->arResult['ID'] ?? false;
}