ILIAS  release_5-3 Revision v5.3.23-19-g915713cf615
ilAppointmentBookingPoolFileHandler Class Reference

Booking Pool appointment file handler. More...

+ Inheritance diagram for ilAppointmentBookingPoolFileHandler:
+ Collaboration diagram for ilAppointmentBookingPoolFileHandler:

Public Member Functions

 getFiles ()
 Get files (for appointment)*. More...
 
- Public Member Functions inherited from ilAppointmentBaseFileHandler
 __construct ($a_appointment)
 Constructor. More...
 
 getCatId ($a_entry_id)
 
 getCatInfo ()
 

Additional Inherited Members

- Static Public Member Functions inherited from ilAppointmentBaseFileHandler
static getInstance ($a_appointment)
 Get instance. More...
 
- Protected Attributes inherited from ilAppointmentBaseFileHandler
 $appointment
 

Detailed Description

Booking Pool appointment file handler.

Author
Jesús López Reyes lopez.nosp@m.@lei.nosp@m.fos.c.nosp@m.om

Definition at line 14 of file class.ilAppointmentBookingPoolFileHandler.php.

Member Function Documentation

◆ getFiles()

ilAppointmentBookingPoolFileHandler::getFiles ( )

Get files (for appointment)*.

Returns
array of strings which contain files full path

Implements ilAppointmentFileHandler.

Definition at line 20 of file class.ilAppointmentBookingPoolFileHandler.php.

References $res, and array.

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  }
a bookable ressource
foreach($_POST as $key=> $value) $res
Create styles array
The data for the language used.

The documentation for this class was generated from the following file: