• Модуль: imopenlines
  • Путь к файлу: ~/bitrix/modules/imopenlines/lib/widget/formhandler.php
  • Класс: BitrixImOpenLinesWidgetFormHandler
  • Вызов: FormHandler::__construct
private function __construct($eventData)
{
	$this->errorCollection = new ErrorCollection();

	$this->eventData = $eventData;
	$this->userCode = self::decodeConnectorName($eventData['properties']['openlinesCode']);

	if (isset($eventData['properties']['messageId']))
	{
		$this->messageId = (int)$eventData['properties']['messageId'];
	}

	if (isset($eventData['properties']['isWelcomeForm']))
	{
		$this->isWelcomeForm = $eventData['properties']['isWelcomeForm'] === 'Y';
	}
}