• Модуль: timeman
  • Путь к файлу: ~/bitrix/modules/timeman/lib/model/schedule/violation/violationrules.php
  • Класс: BitrixTimemanModelScheduleViolationViolationRules
  • Вызов: ViolationRules::edit
public function edit(ViolationForm $violationForm)
{
	$this->setMinExactEnd($violationForm->minExactEnd);
	$this->setMaxExactStart($violationForm->maxExactStart);
	$this->setMinOffsetEnd($violationForm->minOffsetEnd);
	$this->setMaxOffsetStart($violationForm->maxOffsetStart);
	$this->setRelativeStartFrom($violationForm->relativeStartFrom);
	$this->setRelativeStartTo($violationForm->relativeStartTo);
	$this->setRelativeEndFrom($violationForm->relativeEndFrom);
	$this->setRelativeEndTo($violationForm->relativeEndTo);
	$this->setMinDayDuration($violationForm->minDayDuration);
	$this->setMaxAllowedToEditWorkTime($violationForm->maxAllowedToEditWorkTime);
	$this->setMaxWorkTimeLackForPeriod($violationForm->maxWorkTimeLackForPeriod);
	$this->setMaxShiftStartDelay($violationForm->maxShiftStartDelay);
	$this->setMissedShiftStart($violationForm->missedShiftStart);

	$this->setUsersToNotifyByForm($violationForm);
}