...Человеческий поиск в разработке...
- Модуль: timeman
- Путь к файлу: ~/bitrix/modules/timeman/lib/usecase/schedule/violationrules/update/handler.php
- Класс: Bitrix\Timeman\UseCase\Schedule\ViolationRules\Update\Handler
- Вызов: Handler::handle
public function handle(ViolationForm $violationForm) { if (!$violationForm->scheduleId || !$violationForm->entityCode || !$this->getPermissionManager()->canUpdateViolationRules($violationForm->entityCode)) { return (new Result())->addError(new Error(Loc::getMessage('TM_WORKTIME_RESULT_ERROR_PERMISSION_ACCESS_DENIED'))); } return DependencyManager::getInstance()->getViolationRulesService()->update($violationForm); }