ILIAS  trunk Revision v11.0_alpha-1689-g66c127b4ae8
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
class.ilMultipleImagesFileSubmissionDataCompletion.php
Go to the documentation of this file.
1 <?php
2 
23 {
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...