ILIAS  release_5-2 Revision v5.2.25-18-g3f80b828510
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
4require_once 'Services/Form/interfaces/interface.ilFormValuesManipulator.php';
5
13{
14 public function manipulateFormInputValues($inputValues)
15 {
16 if( !count($inputValues) )
17 {
18 require_once 'Modules/TestQuestionPool/classes/questions/class.ilAssOrderingElementList.php';
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}
An exception for terminatinating execution or to throw for unit testing.