ExportStep::__construct

  1. Bitrix24 API (v. 23.675.0)
  2. ui
  3. ExportStep
  4. __construct
  • Модуль: ui
  • Путь к файлу: ~/bitrix/modules/ui/lib/Integration/Rest/ExportStep.php
  • Класс: BitrixUIIntegrationRestExportStep
  • Вызов: ExportStep::__construct
public function __construct(MainEvent $event)
{
	$this->entityCode = $event->getParameter('CODE');
	$this->entityId = $event->getParameter('ITEM_CODE');
	$this->stepNumber = (int) $event->getParameter('STEP');
	$data = json_decode($event->getParameter('NEXT') ?: '', true);
	$this->previousStep = new MainTypeDictionary(($data ?: []));

	$this->data = new MainTypeDictionary();
	$this->files = new MainTypeDictionary();
	$this->nextStep = new MainTypeDictionary();
	$this->errorCollection = new MainErrorCollection();

	$this->init();
}

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