ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
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 */
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 }
a bookable ressource
Appointemtn file handler interface.
foreach($_POST as $key=> $value) $res
Base file handler class for appointment classes.