ILIAS  release_5-1 Revision 5.0.0-5477-g43f3e3fab5f
class.ilExcCronFeedbackNotification.php
Go to the documentation of this file.
1<?php
2
3/* Copyright (c) 1998-2010 ILIAS open source, Extended GPL, see docs/LICENSE */
4
5include_once "Services/Cron/classes/class.ilCronJob.php";
6
14{
15 public function getId()
16 {
17 return "exc_feedback_notification";
18 }
19
20 public function getTitle()
21 {
22 global $lng;
23
24 $lng->loadLanguageModule("exc");
25 return $lng->txt("exc_global_feedback_file_cron");
26 }
27
28 public function getDescription()
29 {
30 global $lng;
31
32 $lng->loadLanguageModule("exc");
33 return $lng->txt("exc_global_feedback_file_cron_info");
34 }
35
36 public function getDefaultScheduleType()
37 {
39 }
40
41 public function getDefaultScheduleValue()
42 {
43 return;
44 }
45
46 public function hasAutoActivation()
47 {
48 return true;
49 }
50
51 public function hasFlexibleSchedule()
52 {
53 return false;
54 }
55
56 public function run()
57 {
59 $message = array();
60
61 $count = 0;
62
63 include_once "Modules/Exercise/classes/class.ilExAssignment.php";
65 {
67 {
68 $count++;
69 }
70 }
71
72 if($count)
73 {
75 }
76
78 $result->setStatus($status);
79
80 return $result;
81 }
82}
83
84?>
$result
Cron job result data container.
Cron job application base class.
const SCHEDULE_TYPE_DAILY
static getPendingFeedbackNotifications()
static sendFeedbackNotifications($a_ass_id, $a_user_id=null)
Cron for exercise feedback notification.
hasFlexibleSchedule()
Can the schedule be configured?
hasAutoActivation()
Is to be activated on "installation".
global $lng
Definition: privfeed.php:40