19 declare(strict_types=1);
31 bool $send_re_assigned_mail,
32 ?
int $reminder_not_restarted_by_user_days,
33 ?
int $processing_ends_not_successful_days
35 if (!is_null($reminder_not_restarted_by_user_days) && 1 > $reminder_not_restarted_by_user_days) {
39 if (!is_null($processing_ends_not_successful_days) && 1 > $processing_ends_not_successful_days) {
66 $clone->send_re_assigned_mail = $do_it;
73 if (!is_null($days) && 1 > $days) {
78 $clone->reminder_not_restarted_by_user_days = $days;
85 if (!is_null($days) && 1 > $days) {
89 $clone->processing_ends_not_successful_days = $days;
100 $processing_end = null;
105 return $input->section(
107 "send_re_assigned_mail" => $input->checkbox(
108 $ilLng->
txt(
"send_re_assigned_mail"),
109 $ilLng->
txt(
'send_re_assigned_mail_info')
113 "prg_user_not_restarted_time_input" => $input->optionalGroup(
115 $ilLng->
txt(
'prg_user_not_restarted_time_input'),
116 $ilLng->
txt(
'prg_user_not_restarted_time_input_info')
118 $ilLng->
txt(
"send_info_to_re_assign_mail"),
119 $ilLng->
txt(
"send_info_to_re_assign_mail_info")
123 "processing_ends_not_success" => $input->optionalGroup(
125 $ilLng->
txt(
'prg_processing_ends_no_success'),
126 $ilLng->
txt(
'prg_processing_ends_no_success_info')
128 $ilLng->
txt(
"send_risky_to_fail_mail"),
129 $ilLng->
txt(
"send_risky_to_fail_mail_info")
133 $ilLng->
txt(
"prg_cron_job_configuration")
137 $vals[
"send_re_assigned_mail"],
138 isset($vals[
"prg_user_not_restarted_time_input"]) ? (
int) $vals[
"prg_user_not_restarted_time_input"][0] : null,
139 isset($vals[
"processing_ends_not_success"]) ? (
int) $vals[
"processing_ends_not_success"][0] : null
int $reminder_not_restarted_by_user_days
txt(string $a_topic, string $a_default_lang_fallback_mod="")
gets the text for a given topic if the topic is not in the list, the topic itself with "-" will be re...
Class ChatMainBarProvider .
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
int $processing_ends_not_successful_days
withSendReAssignedMail(bool $do_it)
__construct(bool $send_re_assigned_mail, ?int $reminder_not_restarted_by_user_days, ?int $processing_ends_not_successful_days)
withProcessingEndsNotSuccessfulDays(?int $days)
getReminderNotRestartedByUserDays()
toFormInput(Field\Factory $input, ilLanguage $ilLng, Refinery $refinery)
bool $send_re_assigned_mail
getProcessingEndsNotSuccessfulDays()
Refinery Factory $refinery
withReminderNotRestartedByUserDays(?int $days)