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

Exercise appointment file handler. More...

+ Inheritance diagram for ilAppointmentExerciseFileHandler:
+ Collaboration diagram for ilAppointmentExerciseFileHandler:

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 ()
 
 getFiles ()
 

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

Exercise appointment file handler.

Author
Jesús López Reyes lopez.nosp@m.@lei.nosp@m.fos.d.nosp@m.e

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

Member Function Documentation

◆ getFiles()

ilAppointmentExerciseFileHandler::getFiles ( )

Get files (for appointment)

Parameters

return array $files

Implements ilAppointmentFileHandler.

Definition at line 22 of file class.ilAppointmentExerciseFileHandler.php.

23 {
24 $ass_id = $this->appointment['event']->getContextId() / 10; // see ilExAssignment->handleCalendarEntries $dl parameter
25 $assignment = new ilExAssignment($ass_id);
26 $ass_files = $assignment->getFiles();
27 $files = array();
28 if (count($ass_files) && !$assignment->notStartedYet()) {
29 foreach ($ass_files as $ass_file) {
30 $files[] = $ass_file['fullpath'];
31 }
32 }
33 return $files;
34 }
$files
Definition: add-vimline.php:18
Exercise assignment.

References $files.


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