ILIAS
release_7 Revision v7.30-3-g800a261c036
◀ ilDoc Overview
class.ilAppointmentBookingPoolFileHandler.php
Go to the documentation of this file.
1
<?php
2
/* Copyright (c) 1998-2017 ILIAS open source, Extended GPL, see docs/LICENSE */
3
4
use
ILIAS\Calendar\FileHandler\ilFileProperty
;
5
12
class
ilAppointmentBookingPoolFileHandler
extends
ilAppointmentBaseFileHandler
implements
ilAppointmentFileHandler
13
{
17
public
function
getFiles
() : array
18
{
19
// context id is reservation id (see ilObjBookingPoolGUI->processBooking)
20
$res_id = $this->appointment[
'event'
]->getContextId();
21
$res
=
new
ilBookingReservation
($res_id);
22
$b_obj =
new
ilBookingObject
(
$res
->getObjectId());
23
24
$file_property =
new
ilFileProperty
();
25
$file_property->setAbsolutePath($b_obj->getFileFullPath());
26
$file_property->setFileName($b_obj->getPostFile());
27
return
[
28
$file_property
29
];
30
}
31
}
ilBookingObject
a bookable ressource
Definition:
class.ilBookingObject.php:12
ilAppointmentFileHandler
Appointment file handler interface.
Definition:
interface.ilAppointmentFileHandler.php:12
ilFileProperty
$res
foreach($_POST as $key=> $value) $res
Definition:
save_question_post_data.php:15
ilAppointmentBookingPoolFileHandler
Booking Pool appointment file handler.
Definition:
class.ilAppointmentBookingPoolFileHandler.php:12
ilAppointmentBaseFileHandler
Base file handler class for appointment classes.
Definition:
class.ilAppointmentBaseFileHandler.php:11
ILIAS\Calendar\FileHandler\ilFileProperty
Definition:
class.ilFileProperty.php:9
ilBookingReservation
a booking reservation
Definition:
class.ilBookingReservation.php:12
ilAppointmentBookingPoolFileHandler\getFiles
getFiles()
Definition:
class.ilAppointmentBookingPoolFileHandler.php:17
Services
Calendar
classes
FileHandler
class.ilAppointmentBookingPoolFileHandler.php
Generated on Wed Sep 3 2025 21:01:13 for ILIAS by
1.8.13 (using
Doxyfile
)