30 $this->lng = $DIC->language();
31 if (isset($DIC[
"tree"])) {
32 $this->tree = $DIC->repositoryTree();
38 return "survey_notification";
45 $lng->loadLanguageModule(
"survey");
46 return $lng->txt(
"survey_reminder_cron");
53 $lng->loadLanguageModule(
"survey");
54 return $lng->txt(
"survey_reminder_cron_info");
59 return self::SCHEDULE_TYPE_DAILY;
85 include_once
"Modules/Survey/classes/class.ilObjSurvey.php";
92 $log->debug(var_export($tutor_res,
true));
95 foreach ($tree->getSubTree($root,
false,
"svy") as $svy_ref_id) {
97 $num = $svy->checkReminder();
99 $message[] = $svy_ref_id .
"(" . $num .
")";
104 if (in_array($svy->getId(), $tutor_res)) {
105 if ($svy->sendTutorResults()) {
Cron job application base class.
getDefaultScheduleValue()
Cron for survey notifications.
__construct()
Constructor.
static getSurveysWithTutorResults()
static getLogger($a_component_id)
Get component logger.
Cron job result data container.