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.
References $DIC, $fh, $file, ilFileDelivery\DISP_ATTACHMENT, exit, ilAppointmentFileHandlerFactory\getInstance(), and ilLoggerFactory\getRootLogger().
28 include_once(
"./Services/Calendar/classes/FileHandler/class.ilAppointmentFileHandlerFactory.php");
29 foreach ($a_events as $event) {
82 if (is_file($last_file)) {
83 require_once(
'./Services/FileDelivery/classes/class.ilFileDelivery.php');
85 $ilClientIniFile = $DIC[
'ilClientIniFile'];
90 $ilFileDelivery->setConvertFileNameToAsci((
bool) !$ilClientIniFile->readVariable(
'file_access',
'disable_ascii'));
92 $ilFileDelivery->deliver();
static getInstance($a_appointment)
if(!file_exists("$old.txt")) if($old===$new) if(file_exists("$new.txt")) $file
static getRootLogger()
The unique root logger has a fixed error level.
The documentation for this class was generated from the following file: