Calendar file handler.
More...
Calendar file handler.
- Author
- Alex Killing killi.nosp@m.ng@l.nosp@m.eifos.nosp@m..de
- Version
- $Id$
Definition at line 10 of file class.ilCalendarFileHandler.php.
◆ __construct()
ilCalendarFileHandler::__construct |
( |
| ) |
|
◆ downloadFilesForEvents()
ilCalendarFileHandler::downloadFilesForEvents |
( |
|
$a_events | ) |
|
Download files for events.
- Parameters
-
Definition at line 26 of file class.ilCalendarFileHandler.php.
27 {
28 include_once("./Services/Calendar/classes/FileHandler/class.ilAppointmentFileHandlerFactory.php");
29 foreach ($a_events as $event) {
30
31
33
36
38
39
40 }
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82 if (is_file($last_file)) {
83 require_once('./Services/FileDelivery/classes/class.ilFileDelivery.php');
85 $ilClientIniFile =
$DIC[
'ilClientIniFile'];
86
89
90 $ilFileDelivery->setConvertFileNameToAsci((bool) !$ilClientIniFile->readVariable('file_access', 'disable_ascii'));
91
92 $ilFileDelivery->deliver();
94 }
95 }
96 }
static getInstance($a_appointment)
static getRootLogger()
The unique root logger has a fixed error level.
if(!file_exists("$old.txt")) if( $old===$new) if(file_exists("$new.txt")) $file
References $DIC, $fh, $file, ilFileDelivery\DISP_ATTACHMENT, exit, ilAppointmentFileHandlerFactory\getInstance(), and ilLoggerFactory\getRootLogger().
The documentation for this class was generated from the following file: