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) {
31 foreach ($fh->getFiles() as $file) {
32
33 $last_file = $file;
34
35
36 }
37
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 if (is_file($last_file)) {
79 require_once('./Services/FileDelivery/classes/class.ilFileDelivery.php');
81 $ilClientIniFile =
$DIC[
'ilClientIniFile'];
82
85
86 $ilFileDelivery->setConvertFileNameToAsci((bool) !$ilClientIniFile->readVariable('file_access', 'disable_ascii'));
87
88 $ilFileDelivery->deliver();
90 }
91 }
92 }
static getInstance($a_appointment)
References $DIC, ilFileDelivery\DISP_ATTACHMENT, exit, and ilAppointmentFileHandlerFactory\getInstance().
The documentation for this class was generated from the following file: