ILIAS
release_5-2 Revision v5.2.25-18-g3f80b828510
◀ 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
{
18
require_once
'Modules/TestQuestionPool/classes/questions/class.ilAssOrderingElementList.php'
;
19
$defaultElement =
ilAssOrderingElementList::getFallbackDefaultElement
();
20
21
$inputValues[$defaultElement->getRandomIdentifier()] = $defaultElement;
22
}
23
24
return
$inputValues;
25
}
26
27
public
function
manipulateFormSubmitValues
($submitValues)
28
{
29
return
$submitValues;
30
}
31
32
}
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:984
php
ilAssOrderingDefaultElementFallback\manipulateFormSubmitValues
manipulateFormSubmitValues($submitValues)
Definition:
class.ilAssOrderingDefaultElementFallback.php:27
Modules
TestQuestionPool
classes
forms
class.ilAssOrderingDefaultElementFallback.php
Generated on Fri Jan 17 2025 19:01:05 for ILIAS by
1.8.13 (using
Doxyfile
)