ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
class.ilMultipleImagesFileSubmissionDataCompletion.php
Go to the documentation of this file.
1<?php
2
23{
24 protected stdClass $dodging_files;
25
26 public function __construct(stdClass $dodging_files)
27 {
28 $this->dodging_files = $dodging_files;
29 }
30
31 public function manipulateFormInputValues(array $inputValues): array
32 {
33 return $inputValues;
34 }
35
36 public function manipulateFormSubmitValues(array $submitValues): array
37 {
38 $this->populateStoredFileCustomUploadProperty($submitValues);
39
40 return $submitValues;
41 }
42
43 protected function populateStoredFileCustomUploadProperty(array $submitValues): void
44 {
45 foreach ($submitValues as $identifier => $storedFilename) {
46 $this->dodging_files->{$identifier} = $storedFilename;
47 }
48 }
49}
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...