6declare(strict_types=1);
17 const ID =
'prg_invalidate_expired_progresses';
39 $this->log =
$DIC[
'ilLog'];
40 $this->lng =
$DIC[
'lng'];
41 $this->lng->loadLanguageModule(
'prg');
51 return $this->lng->txt(
'prg_invalidate_expired_progresses_title');
61 return $this->lng->txt(
'prg_invalidate_expired_progresses_desc');
122 foreach ($this->user_progress_db->getExpiredSuccessfull() as $progress) {
124 $progress->invalidate();
126 $this->log->write(
'an error occured: ' .
$e->getMessage());
An exception for terminatinating execution or to throw for unit testing.
Cron job result data container.
Cron job application base class.
const SCHEDULE_TYPE_IN_DAYS
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
This ivalidates a successful progress if validityOfQualification is reached.
hasFlexibleSchedule()
Can the schedule be configured?
getDefaultScheduleValue()
Get schedule value.
getDescription()
Get description.
hasAutoActivation()
Is to be activated on "installation".
getDefaultScheduleType()
Get schedule type.