ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
◀ ilDoc Overview
class.ilAppointmentBookingPoolFileHandler.php
Go to the documentation of this file.
1
<?
php
2
3
include_once(
"./Services/Calendar/interfaces/interface.ilAppointmentFileHandler.php"
);
4
include_once(
"./Services/Calendar/classes/FileHandler/class.ilAppointmentBaseFileHandler.php"
);
5
6
/* Copyright (c) 1998-2017 ILIAS open source, Extended GPL, see docs/LICENSE */
14
class
ilAppointmentBookingPoolFileHandler
extends
ilAppointmentBaseFileHandler
implements
ilAppointmentFileHandler
15
{
20
public
function
getFiles
()
21
{
22
// context id is reservation id (see ilObjBookingPoolGUI->processBooking)
23
$res_id = $this->appointment[
'event'
]->getContextId();
24
include_once(
"./Modules/BookingManager/classes/class.ilBookingReservation.php"
);
25
include_once(
"./Modules/BookingManager/classes/class.ilBookingObject.php"
);
26
$res
=
new
ilBookingReservation
($res_id);
27
$b_obj =
new
ilBookingObject
(
$res
->getObjectId());
28
29
return
array($b_obj->getFileFullPath(), $b_obj->getPostFileFullPath());
30
}
31
}
ilBookingObject
a bookable ressource
Definition:
class.ilBookingObject.php:12
ilAppointmentFileHandler
Appointemtn file handler interface.
Definition:
interface.ilAppointmentFileHandler.php:9
$res
foreach($_POST as $key=> $value) $res
Definition:
save_question_post_data.php:15
ilAppointmentBookingPoolFileHandler
Booking Pool appointment file handler.
Definition:
class.ilAppointmentBookingPoolFileHandler.php:14
ilAppointmentBaseFileHandler
Base file handler class for appointment classes.
Definition:
class.ilAppointmentBaseFileHandler.php:11
php
ilBookingReservation
a booking reservation
Definition:
class.ilBookingReservation.php:12
ilAppointmentBookingPoolFileHandler\getFiles
getFiles()
Get files (for appointment)*.
Definition:
class.ilAppointmentBookingPoolFileHandler.php:20
Services
Calendar
classes
FileHandler
class.ilAppointmentBookingPoolFileHandler.php
Generated on Thu Jan 16 2025 19:02:18 for ILIAS by
1.8.13 (using
Doxyfile
)