ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
◀ ilDoc Overview
class.ilMultipleImagesFileSubmissionDataCompletion.php
Go to the documentation of this file.
1
<?
php
2
/* Copyright (c) 1998-2013 ILIAS open source, Extended GPL, see docs/LICENSE */
3
4
require_once
'Services/Form/interfaces/interface.ilFormValuesManipulator.php'
;
5
12
class
ilMultipleImagesFileSubmissionDataCompletion
implements
ilFormValuesManipulator
13
{
14
protected
$postVar
;
15
16
public
function
getPostVar
()
17
{
18
return
$this->postVar
;
19
}
20
21
public
function
setPostVar
(
$postVar
)
22
{
23
$this->postVar =
$postVar
;
24
}
25
26
public
function
manipulateFormInputValues
($inputValues)
27
{
28
return
$inputValues;
29
}
30
31
public
function
manipulateFormSubmitValues
($submitValues)
32
{
33
$_REQUEST[$this->
getPostVar
()] = $this->
populateStoredFileCustomUploadProperty
(
34
$_REQUEST[$this->
getPostVar
()],
35
$submitValues
36
);
37
38
return
$submitValues;
39
}
40
41
protected
function
populateStoredFileCustomUploadProperty
($submitFiles, $submitValues)
42
{
43
$submitFiles[
'dodging_file'
] = array();
44
45
foreach
($submitValues as $identifier => $storedFilename) {
46
$submitFiles[
'dodging_file'
][$identifier] = $storedFilename;
47
}
48
49
return
$submitFiles;
50
}
51
}
ilMultipleImagesFileSubmissionDataCompletion
Definition:
class.ilMultipleImagesFileSubmissionDataCompletion.php:12
ilFormValuesManipulator
Definition:
interface.ilFormValuesManipulator.php:10
ilMultipleImagesFileSubmissionDataCompletion\manipulateFormSubmitValues
manipulateFormSubmitValues($submitValues)
Definition:
class.ilMultipleImagesFileSubmissionDataCompletion.php:31
ilMultipleImagesFileSubmissionDataCompletion\getPostVar
getPostVar()
Definition:
class.ilMultipleImagesFileSubmissionDataCompletion.php:16
ilMultipleImagesFileSubmissionDataCompletion\setPostVar
setPostVar($postVar)
Definition:
class.ilMultipleImagesFileSubmissionDataCompletion.php:21
ilMultipleImagesFileSubmissionDataCompletion\manipulateFormInputValues
manipulateFormInputValues($inputValues)
Definition:
class.ilMultipleImagesFileSubmissionDataCompletion.php:26
ilMultipleImagesFileSubmissionDataCompletion\$postVar
$postVar
Definition:
class.ilMultipleImagesFileSubmissionDataCompletion.php:14
ilMultipleImagesFileSubmissionDataCompletion\populateStoredFileCustomUploadProperty
populateStoredFileCustomUploadProperty($submitFiles, $submitValues)
Definition:
class.ilMultipleImagesFileSubmissionDataCompletion.php:41
php
Services
Form
classes
class.ilMultipleImagesFileSubmissionDataCompletion.php
Generated on Thu Jan 16 2025 19:02:22 for ILIAS by
1.8.13 (using
Doxyfile
)