• Модуль: ui
  • Путь к файлу: ~/bitrix/modules/ui/lib/Integration/Rest/MaskImportPersonal.php
  • Класс: BitrixUIIntegrationRestMaskImportPersonal
  • Вызов: MaskImportPersonal::init
public function init($event): void
{
	$this->ownerId = (int) $event->getParameter('USER_ID');
	if ($this->ownerId <= 0)
	{
		$this->errorCollection->setError(new Error('User owner is not set'));
		return;
	}
	$this->owner = new AvatarMaskOwnerUser($this->ownerId);
}