ILIAS  release_7 Revision v7.30-3-g800a261c036
All Data Structures Namespaces Files Functions Variables Modules Pages
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 
51  public function getStylingDisabled()
52  {
53  return false;
54  }
55 
59  public function setElementList(ilAssOrderingElementList $elementList)
60  {
62  }
63 
68  public function getElementList($questionId)
69  {
70  require_once 'Modules/TestQuestionPool/classes/questions/class.ilAssOrderingElementList.php';
72  }
73 
78  protected function isValidFilenameInput($filenameInput)
79  {
80  /* @var ilAssOrderingElement $filenameInput */
81  return (bool) strlen($filenameInput->getContent());
82  }
83 
84  public function setPending(string $a_val): void
85  {
86  $this->pending = $a_val;
87  }
88 
89  public function getPending(): string
90  {
91  return $this->pending;
92  }
93 }
__construct(ilAssOrderingFormValuesObjectsConverter $converter, $postVar)
ilAssOrderingImagesInputGUI constructor.
static buildInstance(int $question_id, array $elements=[])
setStylingDisabled($stylingDisabled)
FOR COMPATIBILITY ONLY.
setElementList(ilAssOrderingElementList $elementList)
__construct(Container $dic, ilPlugin $plugin)
addFormValuesManipulator(ilFormValuesManipulator $manipulator)