ILIAS  trunk Revision v11.0_alpha-2638-g80c1d007f79
class.ilAssOrderingImagesInputGUI.php
Go to the documentation of this file.
1 <?php
19 {
20  public const POST_VARIABLE_NAME = 'ordering';
21  private string $pending;
22 
29  public function __construct(ilAssOrderingFormValuesObjectsConverter $converter, $postVar)
30  {
31  $manipulator = new ilAssOrderingDefaultElementFallback();
32  $this->addFormValuesManipulator($manipulator);
33 
34  parent::__construct('', $postVar);
35 
36  $this->addFormValuesManipulator($converter);
37 
38  self::$instanceCounter++;
39  }
40 
41  public static $instanceCounter = 0;
42 
48  public function setStylingDisabled($stylingDisabled): void
49  {
50  }
51 
57  public function getStylingDisabled(): bool
58  {
59  return false;
60  }
61 
65  public function setElementList(ilAssOrderingElementList $elementList): void
66  {
68  }
69 
74  public function getElementList($questionId): ilAssOrderingElementList
75  {
77  }
78 
83  protected function isValidFilenameInput($filenameInput): bool
84  {
85  /* @var ilAssOrderingElement $filenameInput */
86  return (bool) strlen($filenameInput->getContent());
87  }
88 
89  public function setPending(string $a_val): void
90  {
91  $this->pending = $a_val;
92  }
93 
94  public function getPending(): string
95  {
96  return $this->pending;
97  }
98 }
__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)
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...