• Модуль: timeman
  • Путь к файлу: ~/bitrix/modules/timeman/lib/form/worktime/worktimeeventform.php
  • Класс: BitrixTimemanFormWorktimeWorktimeEventForm
  • Вызов: WorktimeEventForm::__construct
public function __construct(WorktimeEvent $workTimeLog = null)
{
	if ($workTimeLog)
	{
		$this->userId = $workTimeLog->getUserId();
		$this->eventName = $workTimeLog->getEventType();

	}
}