ILIAS  release_6 Revision v6.24-5-g0c8bfefb3b8
All Data Structures Namespaces Files Functions Variables Modules Pages
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  $res = new ilBookingReservation($res_id);
25  $b_obj = new ilBookingObject($res->getObjectId());
26 
27  return array($b_obj->getFileFullPath(), $b_obj->getPostFileFullPath());
28  }
29 }
a bookable ressource
Appointemtn file handler interface.
foreach($_POST as $key=> $value) $res
Base file handler class for appointment classes.