ILIAS  release_7 Revision v7.30-3-g800a261c036
ilAppointmentBookingPoolFileHandler Class Reference

Booking Pool appointment file handler. More...

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

Public Member Functions

 getFiles ()
 @inheritDoc More...
 
- Public Member Functions inherited from ilAppointmentBaseFileHandler
 __construct ($a_appointment)
 Constructor. More...
 
 getCatId ($a_entry_id)
 
 getCatInfo ()
 
 getFiles ()
 

Additional Inherited Members

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

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 12 of file class.ilAppointmentBookingPoolFileHandler.php.

Member Function Documentation

◆ getFiles()

ilAppointmentBookingPoolFileHandler::getFiles ( )

@inheritDoc

Implements ilAppointmentFileHandler.

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

17 : array
18 {
19 // context id is reservation id (see ilObjBookingPoolGUI->processBooking)
20 $res_id = $this->appointment['event']->getContextId();
21 $res = new ilBookingReservation($res_id);
22 $b_obj = new ilBookingObject($res->getObjectId());
23
24 $file_property = new ilFileProperty();
25 $file_property->setAbsolutePath($b_obj->getFileFullPath());
26 $file_property->setFileName($b_obj->getPostFile());
27 return [
28 $file_property
29 ];
30 }
a bookable ressource
foreach($_POST as $key=> $value) $res

References $res.


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