3 declare(strict_types=1);
22 $ass_id = $this->appointment[
'event']->getContextId() / 10;
24 $ass_files = $assignment->getFiles();
27 if (count($ass_files) && $state->areInstructionsVisible()) {
28 foreach ($ass_files as $ass_file) {
30 $file_property->setAbsolutePath($ass_file[
'fullpath']);
31 $file_property->setFileName($ass_file[
'name']);
33 $files[] = $file_property;
Exercise appointment file handler.
Appointment file handler interface.
static getInstanceByIds(int $a_ass_id, int $a_user_id=0)
Base file handler class for appointment classes.