ILIAS  release_7 Revision v7.30-3-g800a261c036
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
12{
16 protected $lng;
17
18
22 public function __construct()
23 {
24 global $DIC;
25
26 $this->lng = $DIC->language();
27 }
28
29 public function getId()
30 {
31 return "exc_feedback_notification";
32 }
33
34 public function getTitle()
35 {
37
38 $lng->loadLanguageModule("exc");
39 return $lng->txt("exc_global_feedback_file_cron");
40 }
41
42 public function getDescription()
43 {
45
46 $lng->loadLanguageModule("exc");
47 return $lng->txt("exc_global_feedback_file_cron_info");
48 }
49
50 public function getDefaultScheduleType()
51 {
53 }
54
55 public function getDefaultScheduleValue()
56 {
57 return;
58 }
59
60 public function hasAutoActivation()
61 {
62 return true;
63 }
64
65 public function hasFlexibleSchedule()
66 {
67 return false;
68 }
69
70 public function run()
71 {
73 $message = array();
74
75 $count = 0;
76
79 $count++;
80 }
81 }
82
83 if ($count) {
85 }
86
88 $result->setStatus($status);
89
90 return $result;
91 }
92}
$result
An exception for terminatinating execution or to throw for unit testing.
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 $DIC
Definition: goto.php:24
$message
Definition: xapiexit.php:14