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
}
php
An exception for terminatinating execution or to throw for unit testing.
ILIAS\Calendar\FileHandler\ilFileProperty
Definition:
class.ilFileProperty.php:10
ilAppointmentBaseFileHandler
Base file handler class for appointment classes.
Definition:
class.ilAppointmentBaseFileHandler.php:12
ilAppointmentBookingPoolFileHandler
Booking Pool appointment file handler.
Definition:
class.ilAppointmentBookingPoolFileHandler.php:13
ilAppointmentBookingPoolFileHandler\getFiles
getFiles()
@inheritDoc
Definition:
class.ilAppointmentBookingPoolFileHandler.php:17
ilBookingObject
a bookable ressource
Definition:
class.ilBookingObject.php:13
ilBookingReservation
a booking reservation
Definition:
class.ilBookingReservation.php:13
ilAppointmentFileHandler
Appointment file handler interface.
Definition:
interface.ilAppointmentFileHandler.php:13
$res
foreach($_POST as $key=> $value) $res
Definition:
save_question_post_data.php:15
Services
Calendar
classes
FileHandler
class.ilAppointmentBookingPoolFileHandler.php
Generated on Fri Oct 3 2025 21:00:56 for ILIAS by
1.9.4 (using
Doxyfile
)