ILIAS  release_6 Revision v6.24-5-g0c8bfefb3b8
class.ilAppointmentBookingPoolFileHandler.php
Go to the documentation of this file.
1<?php
2
3include_once("./Services/Calendar/interfaces/interface.ilAppointmentFileHandler.php");
4include_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}
An exception for terminatinating execution or to throw for unit testing.
Base file handler class for appointment classes.
a bookable ressource
Appointemtn file handler interface.
foreach($_POST as $key=> $value) $res