ILIAS  release_5-2 Revision v5.2.25-18-g3f80b828510
class.ilAssOrderingImagesInputGUI.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/classes/class.ilMultipleImagesInputGUI.php';
5 
13 {
14  const POST_VARIABLE_NAME = 'ordering';
15 
22  public function __construct(ilAssOrderingFormValuesObjectsConverter $converter, $postVar)
23  {
24  require_once 'Modules/TestQuestionPool/classes/forms/class.ilAssOrderingDefaultElementFallback.php';
25  $manipulator = new ilAssOrderingDefaultElementFallback();
26  $this->addFormValuesManipulator($manipulator);
27 
28  parent::__construct('', $postVar);
29 
30  $this->addFormValuesManipulator($converter);
31 
32  self::$instanceCounter++;
33  }
34 
35  public static $instanceCounter = 0;
36 
42  public function setStylingDisabled($stylingDisabled)
43  {
44 
45  }
46 
52  public function getStylingDisabled()
53  {
54  return false;
55  }
56 
60  public function setElementList(ilAssOrderingElementList $elementList)
61  {
63  }
64 
69  public function getElementList($questionId)
70  {
71  require_once 'Modules/TestQuestionPool/classes/questions/class.ilAssOrderingElementList.php';
73  }
74 
79  protected function isValidFilenameInput($filenameInput)
80  {
81  /* @var ilAssOrderingElement $filenameInput */
82  return (bool)strlen($filenameInput->getContent());
83  }
84 }
__construct(ilAssOrderingFormValuesObjectsConverter $converter, $postVar)
ilAssOrderingImagesInputGUI constructor.
static buildInstance($questionId, $orderingElements=array())
setStylingDisabled($stylingDisabled)
FOR COMPATIBILITY ONLY.
setElementList(ilAssOrderingElementList $elementList)
addFormValuesManipulator(ilFormValuesManipulator $manipulator)