ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
◀ ilDoc Overview
class.ilAssOrderingDefaultElementFallback.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
ilAssOrderingDefaultElementFallback
implements
ilFormValuesManipulator
13
{
14
public
function
manipulateFormInputValues
($inputValues)
15
{
16
if
(!count($inputValues)) {
17
require_once
'Modules/TestQuestionPool/classes/questions/class.ilAssOrderingElementList.php'
;
18
$defaultElement =
ilAssOrderingElementList::getFallbackDefaultElement
();
19
20
$inputValues[$defaultElement->getRandomIdentifier()] = $defaultElement;
21
}
22
23
return
$inputValues;
24
}
25
26
public
function
manipulateFormSubmitValues
($submitValues)
27
{
28
return
$submitValues;
29
}
30
}
ilAssOrderingDefaultElementFallback
Definition:
class.ilAssOrderingDefaultElementFallback.php:12
ilFormValuesManipulator
Definition:
interface.ilFormValuesManipulator.php:10
ilAssOrderingDefaultElementFallback\manipulateFormInputValues
manipulateFormInputValues($inputValues)
Definition:
class.ilAssOrderingDefaultElementFallback.php:14
ilAssOrderingElementList\getFallbackDefaultElement
static getFallbackDefaultElement()
Definition:
class.ilAssOrderingElementList.php:946
ilAssOrderingDefaultElementFallback\manipulateFormSubmitValues
manipulateFormSubmitValues($submitValues)
Definition:
class.ilAssOrderingDefaultElementFallback.php:26
Modules
TestQuestionPool
classes
forms
class.ilAssOrderingDefaultElementFallback.php
Generated on Sat Jan 18 2025 19:01:24 for ILIAS by
1.8.13 (using
Doxyfile
)