ILIAS  release_5-3 Revision v5.3.23-19-g915713cf615
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 
13 {
14  public function manipulateFormInputValues($inputValues)
15  {
16  if (!count($inputValues)) {
17  require_once 'Modules/TestQuestionPool/classes/questions/class.ilAssOrderingElementList.php';
19 
20  $inputValues[$defaultElement->getRandomIdentifier()] = $defaultElement;
21  }
22 
23  return $inputValues;
24  }
25 
26  public function manipulateFormSubmitValues($submitValues)
27  {
28  return $submitValues;
29  }
30 }