ILIAS  trunk Revision v11.0_alpha-1749-g1a06bdef097
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
ilDclGenericMultiInputGUI Class Reference
+ Inheritance diagram for ilDclGenericMultiInputGUI:
+ Collaboration diagram for ilDclGenericMultiInputGUI:

Public Member Functions

 __construct (string $a_title="", string $a_postvar="")
 
 getLimit ()
 
 setLimit (int $limit)
 
 isAllowEmptyFields ()
 
 setAllowEmptyFields (bool $allow_empty_fields)
 
 getHook (string $key)
 
 addHook (string $key, array $options)
 
 removeHook (string $key)
 
 addInput (ilFormPropertyGUI $input, array $options=[])
 
 isShowLabel ()
 
 setShowLabel (bool $show_label)
 
 getInputs ()
 Get Options. More...
 
 setMulti (bool $a_multi, bool $a_sortable=false, bool $a_addremove=true)
 
 setValue (array $value)
 Set Value. More...
 
 getValue ()
 Get Value. More...
 
 setValueByArray (array $a_values)
 Set value by array. More...
 
 checkInput ()
 Check input, strip slashes etc. More...
 
 addCustomAttribute (string $key, string $value, bool $override=false)
 
 getCustomAttributes ()
 
 render (string $iterator_id="0", bool $clean_render=false)
 Render item. More...
 
 insert (ilTemplate $a_tpl)
 Insert property html. More...
 
 getTableFilterHTML ()
 Get HTML for table filter. More...
 
 getToolbarHTML ()
 Get HTML for toolbar. More...
 
 getSubItems ()
 
- Public Member Functions inherited from ilFormPropertyGUI
 __construct (string $a_title="", string $a_postvar="")
 
 executeCommand ()
 
 getType ()
 
 setTitle (string $a_title)
 
 getTitle ()
 
 setPostVar (string $a_postvar)
 
 getPostVar ()
 
 getFieldId ()
 
 setInfo (string $a_info)
 
 getInfo ()
 
 setAlert (string $a_alert)
 
 getAlert ()
 
 setRequired (bool $a_required)
 
 getRequired ()
 
 setDisabled (bool $a_disabled)
 
 getDisabled ()
 
 checkInput ()
 Check input, strip slashes etc. More...
 
 setParentForm (ilPropertyFormGUI $a_parentform)
 
 getParentForm ()
 
 setParent (ilFormPropertyGUI $a_val)
 
 getParent ()
 
 getSubForm ()
 
 hideSubForm ()
 
 setHiddenTitle (string $a_val)
 
 getHiddenTitle ()
 
 getItemByPostVar (string $a_post_var)
 Get item by post var. More...
 
 serializeData ()
 
 unserializeData (string $a_data)
 
 setParentTable ($a_val)
 Set parent table. More...
 
 getParentTable ()
 Get parent table. More...
 
 writeToSession ()
 
 clearFromSession ()
 
 readFromSession ()
 
 getHiddenTag (string $a_post_var, string $a_value)
 
 setMulti (bool $a_multi, bool $a_sortable=false, bool $a_addremove=true)
 
 getMulti ()
 
 setMultiValues (array $a_values)
 
 getMultiValues ()
 
 getContentOutsideFormTag ()
 Get content that has to reside outside of the parent form tag, e.g. More...
 
 stripSlashesAddSpaceFallback (string $a_str)
 Strip slashes with add space fallback, see https://www.ilias.de/mantis/view.php?id=19727. More...
 
 getTableFilterLabelFor ()
 Get label "for" attribute value for filter. More...
 
 getFormLabelFor ()
 Get label "for" attribute value for form. More...
 
 setRequestParam (string $key, $val)
 This writes the request (aka post) values. More...
 

Data Fields

const HOOK_IS_LINE_REMOVABLE = "hook_is_line_removable"
 
const HOOK_IS_INPUT_DISABLED = "hook_is_disabled"
 
const HOOK_BEFORE_INPUT_RENDER = "hook_before_render"
 

Protected Member Functions

 createInputPostVar (string $iterator_id, ilFormPropertyGUI $input)
 
- Protected Member Functions inherited from ilFormPropertyGUI
 symbol ()
 
 setType (string $a_type)
 
 checkParentFormTable ()
 
 getSessionKey ()
 
 getMultiIconsHTML ()
 
 int ($key)
 
 intArray ($key)
 
 str ($key)
 
 raw ($key)
 
 strArray ($key)
 
 arrayArray ($key)
 
 isRequestParamArray (string $key)
 
 getRequestParam (string $key, Refinery\Transformation $t)
 

Protected Attributes

ILIAS UI Factory $ui_factory
 
ILIAS UI Renderer $renderer
 
array $cust_attr = []
 
array $value = []
 
array $inputs = []
 
array $input_options = []
 
array $hooks = []
 
array $line_values = []
 
string $template_dir = ''
 
array $post_var_cache = []
 
bool $show_label = false
 
int $limit = 999999
 
bool $allow_empty_fields = false
 
- Protected Attributes inherited from ilFormPropertyGUI
array $set_params = []
 
ilTable2GUI $parent_table = null
 
ilFormPropertyGUI $parent_gui = null
 
ilCtrl $ctrl
 
ilLanguage $lng
 
string $type = ""
 
string $title = ""
 
string $postvar = ""
 
string $info = ""
 
string $alert = ""
 
bool $required = false
 
ilPropertyFormGUI $parentform = null
 
string $hidden_title = ""
 
bool $multi = false
 
bool $multi_sortable = false
 
bool $multi_addremove = true
 
array $multi_values = []
 
RequestInterface $request
 
HTTP Services $http
 
Refinery Factory $refinery = null
 
bool $disabled = false
 
ilGlobalTemplateInterface $global_tpl = null
 

Additional Inherited Members

- Static Public Member Functions inherited from ilFormPropertyGUI
static removeProhibitedCharacters (string $a_text)
 Remove prohibited characters see #19159. More...
 

Detailed Description

Definition at line 21 of file class.ilDclGenericMultiInputGUI.php.

Constructor & Destructor Documentation

◆ __construct()

ilDclGenericMultiInputGUI::__construct ( string  $a_title = "",
string  $a_postvar = "" 
)

Definition at line 41 of file class.ilDclGenericMultiInputGUI.php.

References $DIC, ILIAS\GlobalScreen\Provider\__construct(), renderer(), setMulti(), and ilFormPropertyGUI\setType().

42  {
43  global $DIC;
44 
45  $this->ui_factory = $DIC->ui()->factory();
46  $this->renderer = $DIC->ui()->renderer();
47 
48  parent::__construct($a_title, $a_postvar);
49 
50  $this->setType("line_select");
51  $this->setMulti(true);
52  }
renderer()
global $DIC
Definition: shib_login.php:22
setMulti(bool $a_multi, bool $a_sortable=false, bool $a_addremove=true)
__construct(Container $dic, ilPlugin $plugin)
+ Here is the call graph for this function:

Member Function Documentation

◆ addCustomAttribute()

ilDclGenericMultiInputGUI::addCustomAttribute ( string  $key,
string  $value,
bool  $override = false 
)

Definition at line 228 of file class.ilDclGenericMultiInputGUI.php.

References $value.

Referenced by render().

228  : void
229  {
230  if (isset($this->cust_attr[$key]) && !$override) {
231  $this->cust_attr[$key] .= ' ' . $value;
232  } else {
233  $this->cust_attr[$key] = $value;
234  }
235  }
+ Here is the caller graph for this function:

◆ addHook()

ilDclGenericMultiInputGUI::addHook ( string  $key,
array  $options 
)

Definition at line 86 of file class.ilDclGenericMultiInputGUI.php.

87  {
88  $this->hooks[$key] = $options;
89  }

◆ addInput()

ilDclGenericMultiInputGUI::addInput ( ilFormPropertyGUI  $input,
array  $options = [] 
)

Definition at line 102 of file class.ilDclGenericMultiInputGUI.php.

References ilFormPropertyGUI\getPostVar(), and ilFormPropertyGUI\setRequired().

103  {
104  $input->setRequired(!$this->allow_empty_fields);
105  $this->inputs[$input->getPostVar()] = $input;
106  $this->input_options[$input->getPostVar()] = $options;
107  }
setRequired(bool $a_required)
+ Here is the call graph for this function:

◆ checkInput()

ilDclGenericMultiInputGUI::checkInput ( )

Check input, strip slashes etc.

set alert, if input is not ok.

Definition at line 192 of file class.ilDclGenericMultiInputGUI.php.

References ilFormPropertyGUI\$lng, $out, $valid, ilFormPropertyGUI\arrayArray(), ilFormPropertyGUI\getPostVar(), ilFormPropertyGUI\getRequired(), getValue(), ILIAS\Repository\lng(), null, ilCalendarUtil\parseIncomingDate(), ilFormPropertyGUI\setAlert(), setValue(), and ilUtil\stripSlashes().

192  : bool
193  {
194  global $lng;
195 
196  $valid = true;
197 
198  $value = $this->arrayArray($this->getPostVar());
199  // escape data
200  $out_array = [];
201  foreach ($value as $item_num => $item) {
202  foreach ($this->inputs as $input_key => $input) {
203  if (isset($item[$input_key])) {
204  if ($input instanceof ilDateTimeInputGUI) {
205  $out = (is_string($item[$input_key])) ? ilUtil::stripSlashes($item[$input_key]) : $item[$input_key];
207  $out_array[$item_num][$input_key] = $out;
208  } else {
209  $valid = false;
210  $this->setAlert($this->lng->txt("form_msg_wrong_date"));
211  $out_array[$item_num][$input_key] = null;
212  }
213  }
214  }
215  }
216  }
217 
218  $this->setValue($out_array);
219 
220  if ($this->getRequired() && !trim(implode("", $this->getValue()))) {
221  $this->setAlert($lng->txt("msg_input_is_required"));
222  $valid = false;
223  }
224 
225  return $valid;
226  }
static parseIncomingDate($value, bool $add_time=false)
Try to parse incoming value to date object.
static stripSlashes(string $a_str, bool $a_strip_html=true, string $a_allow="")
$valid
This class represents a date/time property in a property form.
while($session_entry=$r->fetchRow(ilDBConstants::FETCHMODE_ASSOC)) return null
$out
Definition: buildRTE.php:24
+ Here is the call graph for this function:

◆ createInputPostVar()

ilDclGenericMultiInputGUI::createInputPostVar ( string  $iterator_id,
ilFormPropertyGUI  $input 
)
protected

Definition at line 242 of file class.ilDclGenericMultiInputGUI.php.

References ilFormPropertyGUI\getMulti(), and ilFormPropertyGUI\getPostVar().

Referenced by render().

242  : string
243  {
244  if ($this->getMulti()) {
245  return $this->getPostVar() . '[' . $iterator_id . '][' . $input->getPostVar() . ']';
246  } else {
247  return $this->getPostVar() . '[' . $input->getPostVar() . ']';
248  }
249  }
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ getCustomAttributes()

ilDclGenericMultiInputGUI::getCustomAttributes ( )

Definition at line 237 of file class.ilDclGenericMultiInputGUI.php.

References $cust_attr.

Referenced by render().

237  : array
238  {
239  return $this->cust_attr;
240  }
+ Here is the caller graph for this function:

◆ getHook()

ilDclGenericMultiInputGUI::getHook ( string  $key)
Returns
string|bool

Definition at line 77 of file class.ilDclGenericMultiInputGUI.php.

Referenced by render().

78  {
79  if (isset($this->hooks[$key])) {
80  return $this->hooks[$key];
81  }
82 
83  return false;
84  }
+ Here is the caller graph for this function:

◆ getInputs()

ilDclGenericMultiInputGUI::getInputs ( )

Get Options.

Returns
array Options. Array ("value" => "option_text")

Definition at line 123 of file class.ilDclGenericMultiInputGUI.php.

References $inputs.

123  : array
124  {
125  return $this->inputs;
126  }

◆ getLimit()

ilDclGenericMultiInputGUI::getLimit ( )

Definition at line 54 of file class.ilDclGenericMultiInputGUI.php.

References $limit.

54  : int
55  {
56  return $this->limit;
57  }

◆ getSubItems()

ilDclGenericMultiInputGUI::getSubItems ( )

Definition at line 390 of file class.ilDclGenericMultiInputGUI.php.

390  : array
391  {
392  return [];
393  }

◆ getTableFilterHTML()

ilDclGenericMultiInputGUI::getTableFilterHTML ( )

Get HTML for table filter.

Definition at line 377 of file class.ilDclGenericMultiInputGUI.php.

References render().

377  : string
378  {
379  return $this->render();
380  }
render(string $iterator_id="0", bool $clean_render=false)
Render item.
+ Here is the call graph for this function:

◆ getToolbarHTML()

ilDclGenericMultiInputGUI::getToolbarHTML ( )

Get HTML for toolbar.

Definition at line 385 of file class.ilDclGenericMultiInputGUI.php.

References render().

385  : string
386  {
387  return $this->render("toolbar");
388  }
render(string $iterator_id="0", bool $clean_render=false)
Render item.
+ Here is the call graph for this function:

◆ getValue()

ilDclGenericMultiInputGUI::getValue ( )

Get Value.

Definition at line 166 of file class.ilDclGenericMultiInputGUI.php.

References $out.

Referenced by checkInput(), and render().

166  : array
167  {
168  $out = [];
169  foreach ($this->inputs as $key => $item) {
170  $out[$key] = $item->getValue();
171  }
172 
173  return $out;
174  }
$out
Definition: buildRTE.php:24
+ Here is the caller graph for this function:

◆ insert()

ilDclGenericMultiInputGUI::insert ( ilTemplate  $a_tpl)

Insert property html.

Definition at line 342 of file class.ilDclGenericMultiInputGUI.php.

References $data, $id, ilFormPropertyGUI\getFieldId(), ilFormPropertyGUI\getMulti(), ILIAS\Repository\lng(), ilTemplate\parseCurrentBlock(), render(), ilTemplate\setCurrentBlock(), and HTML_Template_IT\setVariable().

342  : void
343  {
344  $output = $this->render("0", true);
345 
346  if ($this->getMulti() && is_array($this->line_values) && count($this->line_values) > 0) {
347  $counter = 0;
348  foreach ($this->line_values as $i => $data) {
349  $object = $this;
350  $object->setValue($data);
351  $output .= $object->render((string) $i);
352  $counter++;
353  }
354  } else {
355  $output .= $this->render("1", true);
356  }
357 
358  if ($this->getMulti()) {
359  $output = '<div id="' . $this->getFieldId() . '" class="multi_line_input">' . $output . '</div>';
360  $this->global_tpl->addJavaScript('assets/js/generic_multi_line_input.js');
361  $id = $this->getFieldId();
362  $element_config = json_encode($this->input_options);
363  $options = json_encode(['limit' => $this->limit,
364  'sortable' => $this->multi_sortable,
365  'locale' => $this->lng->getLangKey()]);
366  $this->global_tpl->addOnLoadCode("il.DataCollection.genericMultiLineInit('$id',$element_config,$options);");
367  }
368 
369  $a_tpl->setCurrentBlock("prop_generic");
370  $a_tpl->setVariable("PROP_GENERIC", $output);
371  $a_tpl->parseCurrentBlock();
372  }
parseCurrentBlock(string $part=ilGlobalTemplateInterface::DEFAULT_BLOCK)
render(string $iterator_id="0", bool $clean_render=false)
Render item.
setVariable($variable, $value='')
Sets a variable value.
Definition: IT.php:544
setCurrentBlock(string $part=ilGlobalTemplateInterface::DEFAULT_BLOCK)
$id
plugin.php for ilComponentBuildPluginInfoObjectiveTest::testAddPlugins
Definition: plugin.php:23
+ Here is the call graph for this function:

◆ isAllowEmptyFields()

ilDclGenericMultiInputGUI::isAllowEmptyFields ( )

Definition at line 64 of file class.ilDclGenericMultiInputGUI.php.

References $allow_empty_fields.

64  : bool
65  {
67  }

◆ isShowLabel()

ilDclGenericMultiInputGUI::isShowLabel ( )

Definition at line 109 of file class.ilDclGenericMultiInputGUI.php.

References $show_label.

Referenced by render().

109  : bool
110  {
111  return $this->show_label;
112  }
+ Here is the caller graph for this function:

◆ removeHook()

ilDclGenericMultiInputGUI::removeHook ( string  $key)

Definition at line 91 of file class.ilDclGenericMultiInputGUI.php.

91  : bool
92  {
93  if (isset($this->hooks[$key])) {
94  unset($this->hooks[$key]);
95 
96  return true;
97  }
98 
99  return false;
100  }

◆ render()

ilDclGenericMultiInputGUI::render ( string  $iterator_id = "0",
bool  $clean_render = false 
)

Render item.

Exceptions
ilTemplateException

Definition at line 255 of file class.ilDclGenericMultiInputGUI.php.

References $inputs, addCustomAttribute(), createInputPostVar(), getCustomAttributes(), ilFormPropertyGUI\getDisabled(), getHook(), ilFormPropertyGUI\getMulti(), getValue(), isShowLabel(), and renderer().

Referenced by getTableFilterHTML(), getToolbarHTML(), and insert().

255  : string
256  {
257  $tpl = new ilTemplate("tpl.prop_generic_multi_line.html", true, true, 'components/ILIAS/DataCollection');
258 
259  $class = 'multi_input_line';
260 
261  $this->addCustomAttribute('class', $class, true);
262  foreach ($this->getCustomAttributes() as $key => $value) {
263  $tpl->setCurrentBlock('cust_attr');
264  $tpl->setVariable('CUSTOM_ATTR_KEY', $key);
265  $tpl->setVariable('CUSTOM_ATTR_VALUE', $value);
266  $tpl->parseCurrentBlock();
267  }
268 
270 
271  foreach ($inputs as $key => $input) {
272  $input = clone $input;
273  if (!method_exists($input, 'render')) {
274  throw new ilException(
275  "Method " . get_class($input)
276  . "::render() does not exists! You cannot use this input-type in ilMultiLineInputGUI"
277  );
278  }
279 
280  $is_disabled_hook = $this->getHook(self::HOOK_IS_INPUT_DISABLED);
281  if ($is_disabled_hook !== false && !$clean_render) {
282  $input->setDisabled($is_disabled_hook($this->getValue()));
283  }
284 
285  if ($this->getDisabled()) {
286  $input->setDisabled(true);
287  }
288 
289  if ($iterator_id == 0 && !isset($this->post_var_cache[$key])) {
290  $this->post_var_cache[$key] = $input->getPostVar();
291  } else {
292  // Reset post var
293  $input->setPostVar($this->post_var_cache[$key]);
294  }
295 
296  $post_var = $this->createInputPostVar($iterator_id, $input);
297  $input->setPostVar($post_var);
298 
299  $before_render_hook = $this->getHook(self::HOOK_BEFORE_INPUT_RENDER);
300  if ($before_render_hook !== false && !$clean_render) {
301  $input = $before_render_hook($this->getValue(), $key, $input);
302  }
303 
304  //var_dump($input);
305 
306  if ($this->isShowLabel()) {
307  $tpl->setCurrentBlock('input_label');
308  $tpl->setVariable('LABEL', $input->getTitle());
309  } else {
310  $tpl->setCurrentBlock('input');
311  }
312  $tpl->setVariable('CONTENT', $input->render());
313  $tpl->parseCurrentBlock();
314  }
315 
316  if ($this->getMulti() && !$this->getDisabled()) {
317  $show_remove = true;
318  $is_removeable_hook = $this->getHook(self::HOOK_IS_LINE_REMOVABLE);
319  if ($is_removeable_hook !== false && !$clean_render) {
320  $show_remove = $is_removeable_hook($this->getValue());
321  }
322  $tpl->setCurrentBlock('multi_icons');
323  $tpl->setVariable('IMAGE_PLUS', $this->renderer->render($this->ui_factory->symbol()->glyph()->add()));
324  if ($show_remove) {
325  $tpl->setVariable('IMAGE_MINUS', $this->renderer->render($this->ui_factory->symbol()->glyph()->remove()));
326  } else {
327  $tpl->setVariable('IMAGE_MINUS', '<span class="glyphicon glyphicon-minus hide"></span>');
328  }
329  if ($this->multi_sortable) {
330  $tpl->setVariable('IMAGE_UP', $this->renderer->render($this->ui_factory->symbol()->glyph()->up()));
331  $tpl->setVariable('IMAGE_DOWN', $this->renderer->render($this->ui_factory->symbol()->glyph()->down()));
332  }
333  $tpl->parseCurrentBlock();
334  }
335 
336  return $tpl->get();
337  }
renderer()
addCustomAttribute(string $key, string $value, bool $override=false)
createInputPostVar(string $iterator_id, ilFormPropertyGUI $input)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ setAllowEmptyFields()

ilDclGenericMultiInputGUI::setAllowEmptyFields ( bool  $allow_empty_fields)

Definition at line 69 of file class.ilDclGenericMultiInputGUI.php.

References $allow_empty_fields.

69  : void
70  {
71  $this->allow_empty_fields = $allow_empty_fields;
72  }

◆ setLimit()

ilDclGenericMultiInputGUI::setLimit ( int  $limit)

Definition at line 59 of file class.ilDclGenericMultiInputGUI.php.

References $limit.

59  : void
60  {
61  $this->limit = $limit;
62  }

◆ setMulti()

ilDclGenericMultiInputGUI::setMulti ( bool  $a_multi,
bool  $a_sortable = false,
bool  $a_addremove = true 
)

Definition at line 128 of file class.ilDclGenericMultiInputGUI.php.

Referenced by __construct(), ilDclDateSelectionFieldRepresentation\buildOptionsInput(), and ilDclTextSelectionFieldRepresentation\buildOptionsInput().

132  : void {
133  $this->multi = $a_multi;
134  $this->multi_sortable = $a_sortable;
135  }
+ Here is the caller graph for this function:

◆ setShowLabel()

ilDclGenericMultiInputGUI::setShowLabel ( bool  $show_label)

Definition at line 114 of file class.ilDclGenericMultiInputGUI.php.

References $show_label.

114  : void
115  {
116  $this->show_label = $show_label;
117  }

◆ setValue()

ilDclGenericMultiInputGUI::setValue ( array  $value)

Set Value.

Definition at line 140 of file class.ilDclGenericMultiInputGUI.php.

References $value, IL_CAL_DATE, and ilCalendarUtil\parseIncomingDate().

Referenced by checkInput(), and setValueByArray().

140  : void
141  {
142  $this->value = $value;
143 
144  foreach ($this->inputs as $key => $item) {
145  if (array_key_exists($key, $value)) {
146  if ($item instanceof ilCheckboxInputGUI) {
147  $item->setChecked((bool) $value[$key]);
148  } else {
149  if ($item instanceof ilDateTimeInputGUI) {
151  $item->setDate(new ilDate($value[$key], IL_CAL_DATE));
152  } else {
153  $item->setDate();
154  }
155  } else {
156  $item->setValue($value[$key]);
157  }
158  }
159  }
160  }
161  }
static parseIncomingDate($value, bool $add_time=false)
Try to parse incoming value to date object.
This class represents a date/time property in a property form.
const IL_CAL_DATE
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ setValueByArray()

ilDclGenericMultiInputGUI::setValueByArray ( array  $a_values)

Set value by array.

Definition at line 179 of file class.ilDclGenericMultiInputGUI.php.

References $data, ilFormPropertyGUI\getMulti(), ilFormPropertyGUI\getPostVar(), and setValue().

179  : void
180  {
181  $data = $a_values[$this->getPostVar()] ?? [];
182  if ($this->getMulti()) {
183  $this->line_values = $data;
184  } else {
185  $this->setValue($data);
186  }
187  }
+ Here is the call graph for this function:

Field Documentation

◆ $allow_empty_fields

bool ilDclGenericMultiInputGUI::$allow_empty_fields = false
protected

Definition at line 39 of file class.ilDclGenericMultiInputGUI.php.

Referenced by isAllowEmptyFields(), and setAllowEmptyFields().

◆ $cust_attr

array ilDclGenericMultiInputGUI::$cust_attr = []
protected

Definition at line 29 of file class.ilDclGenericMultiInputGUI.php.

Referenced by getCustomAttributes().

◆ $hooks

array ilDclGenericMultiInputGUI::$hooks = []
protected

Definition at line 33 of file class.ilDclGenericMultiInputGUI.php.

◆ $input_options

array ilDclGenericMultiInputGUI::$input_options = []
protected

Definition at line 32 of file class.ilDclGenericMultiInputGUI.php.

◆ $inputs

array ilDclGenericMultiInputGUI::$inputs = []
protected

Definition at line 31 of file class.ilDclGenericMultiInputGUI.php.

Referenced by getInputs(), and render().

◆ $limit

int ilDclGenericMultiInputGUI::$limit = 999999
protected

Definition at line 38 of file class.ilDclGenericMultiInputGUI.php.

Referenced by getLimit(), and setLimit().

◆ $line_values

array ilDclGenericMultiInputGUI::$line_values = []
protected

Definition at line 34 of file class.ilDclGenericMultiInputGUI.php.

◆ $post_var_cache

array ilDclGenericMultiInputGUI::$post_var_cache = []
protected

Definition at line 36 of file class.ilDclGenericMultiInputGUI.php.

◆ $renderer

ILIAS UI Renderer ilDclGenericMultiInputGUI::$renderer
protected

Definition at line 27 of file class.ilDclGenericMultiInputGUI.php.

◆ $show_label

bool ilDclGenericMultiInputGUI::$show_label = false
protected

Definition at line 37 of file class.ilDclGenericMultiInputGUI.php.

Referenced by isShowLabel(), and setShowLabel().

◆ $template_dir

string ilDclGenericMultiInputGUI::$template_dir = ''
protected

Definition at line 35 of file class.ilDclGenericMultiInputGUI.php.

◆ $ui_factory

ILIAS UI Factory ilDclGenericMultiInputGUI::$ui_factory
protected

Definition at line 26 of file class.ilDclGenericMultiInputGUI.php.

◆ $value

array ilDclGenericMultiInputGUI::$value = []
protected

Definition at line 30 of file class.ilDclGenericMultiInputGUI.php.

Referenced by addCustomAttribute(), and setValue().

◆ HOOK_BEFORE_INPUT_RENDER

const ilDclGenericMultiInputGUI::HOOK_BEFORE_INPUT_RENDER = "hook_before_render"

Definition at line 25 of file class.ilDclGenericMultiInputGUI.php.

◆ HOOK_IS_INPUT_DISABLED

const ilDclGenericMultiInputGUI::HOOK_IS_INPUT_DISABLED = "hook_is_disabled"

Definition at line 24 of file class.ilDclGenericMultiInputGUI.php.

◆ HOOK_IS_LINE_REMOVABLE

const ilDclGenericMultiInputGUI::HOOK_IS_LINE_REMOVABLE = "hook_is_line_removable"

Definition at line 23 of file class.ilDclGenericMultiInputGUI.php.


The documentation for this class was generated from the following file: