ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
ilDclGenericMultiInputGUI Class Reference

Class ilDclGenericMultiInputGUI. More...

+ Inheritance diagram for ilDclGenericMultiInputGUI:
+ Collaboration diagram for ilDclGenericMultiInputGUI:

Public Member Functions

 getLimit ()
 
 setLimit ($limit)
 set a limit of possible lines, 0 = no limit More...
 
 isAllowEmptyFields ()
 
 setAllowEmptyFields ($allow_empty_fields)
 
 __construct ($a_title="", $a_postvar="")
 Constructor. More...
 
 getHook ($key)
 
 addHook ($key, $options)
 
 removeHook ($key)
 
 addInput (ilFormPropertyGUI $input, $options=array())
 
 isShowLabel ()
 
 setShowLabel ($show_label)
 
 getInputs ()
 Get Options. More...
 
 setMulti ($a_multi, $a_sortable=false, $a_addremove=true)
 
 setValue ($a_value)
 Set Value. More...
 
 getValue ()
 Get Value. More...
 
 setValueByArray ($a_values)
 Set value by array. More...
 
 checkInput ()
 Check input, strip slashes etc. More...
 
 addCustomAttribute ($key, $value, $override=false)
 
 getCustomAttributes ()
 
 render ($iterator_id=0, $clean_render=false)
 Render item. More...
 
 insert (&$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 ($a_title="", $a_postvar="")
 Constructor. More...
 
 executeCommand ()
 Execute command. More...
 
 getType ()
 Get Type. More...
 
 setTitle ($a_title)
 Set Title. More...
 
 getTitle ()
 Get Title. More...
 
 setPostVar ($a_postvar)
 Set Post Variable. More...
 
 getPostVar ()
 Get Post Variable. More...
 
 getFieldId ()
 Get Post Variable. More...
 
 setInfo ($a_info)
 Set Information Text. More...
 
 getInfo ()
 Get Information Text. More...
 
 setAlert ($a_alert)
 Set Alert Text. More...
 
 getAlert ()
 Get Alert Text. More...
 
 setRequired ($a_required)
 Set Required. More...
 
 getRequired ()
 Get Required. More...
 
 setDisabled ($a_disabled)
 Set Disabled. More...
 
 getDisabled ()
 Get Disabled. More...
 
 checkInput ()
 Check input, strip slashes etc. More...
 
 setParentForm ($a_parentform)
 Set Parent Form. More...
 
 getParentForm ()
 Get Parent Form. More...
 
 setParent ($a_val)
 Set Parent GUI object. More...
 
 getParent ()
 Get Parent GUI object. More...
 
 getSubForm ()
 Get sub form html. More...
 
 hideSubForm ()
 Sub form hidden on init? More...
 
 setHiddenTitle ($a_val)
 Set hidden title (for screenreaders) More...
 
 getHiddenTitle ()
 Get hidden title. More...
 
 getItemByPostVar ($a_post_var)
 Get item by post var. More...
 
 serializeData ()
 serialize data More...
 
 unserializeData ($a_data)
 unserialize data More...
 
 writeToSession ()
 Write to session. More...
 
 clearFromSession ()
 Clear session value. More...
 
 readFromSession ()
 Read from session. More...
 
 getHiddenTag ($a_post_var, $a_value)
 Get hidden tag (used for disabled properties) More...
 
 setMulti ($a_multi, $a_sortable=false, $a_addremove=true)
 Set Multi. More...
 
 getMulti ()
 Get Multi. More...
 
 setMultiValues (array $a_values)
 Set multi values. More...
 
 getMultiValues ()
 Get multi values. More...
 
 getContentOutsideFormTag ()
 Get content that has to reside outside of the parent form tag, e.g. More...
 
 stripSlashesAddSpaceFallback ($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...
 

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 ($iterator_id, ilFormPropertyGUI $input)
 
- Protected Member Functions inherited from ilFormPropertyGUI
 setType ($a_type)
 Set Type. More...
 
 getMultiIconsHTML ()
 Get HTML for multiple value icons. More...
 

Protected Attributes

 $cust_attr = array()
 
 $value
 
 $inputs = array()
 
 $input_options = array()
 
 $hooks = array()
 
 $line_values = array()
 
 $template_dir = ''
 
 $post_var_cache = array()
 
 $show_label = false
 
 $limit = 0
 
 $allow_empty_fields = false
 
- Protected Attributes inherited from ilFormPropertyGUI
 $ctrl
 
 $lng
 
 $type
 
 $title
 
 $postvar
 
 $info
 
 $alert
 
 $required = false
 
 $parentgui
 
 $parentform
 
 $hidden_title = ""
 
 $multi = false
 
 $multi_sortable = false
 
 $multi_addremove = true
 
 $multi_values
 

Additional Inherited Members

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

Detailed Description

Constructor & Destructor Documentation

◆ __construct()

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

Constructor.

Parameters
string$a_titleTitle
string$a_postvarPost Variable

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

References setMulti(), and ilFormPropertyGUI\setType().

106  {
107  parent::__construct($a_title, $a_postvar);
108  $this->setType("line_select");
109  $this->setMulti(true);
110  }
setType($a_type)
Set Type.
setMulti($a_multi, $a_sortable=false, $a_addremove=true)
+ Here is the call graph for this function:

Member Function Documentation

◆ addCustomAttribute()

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

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

References $key, and $value.

Referenced by render().

311  {
312  if (isset($this->cust_attr[$key]) && !$override) {
313  $this->cust_attr[$key] .= ' ' . $value;
314  } else {
315  $this->cust_attr[$key] = $value;
316  }
317  }
$key
Definition: croninfo.php:18
+ Here is the caller graph for this function:

◆ addHook()

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

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

References $key, and PHPMailer\PHPMailer\$options.

130  {
131  $this->hooks[$key] = $options;
132  }
$key
Definition: croninfo.php:18

◆ addInput()

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

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

References $input, PHPMailer\PHPMailer\$options, ilFormPropertyGUI\getPostVar(), and ilFormPropertyGUI\setRequired().

157  {
158  $input->setRequired(!$this->allow_empty_fields);
159  $this->inputs[$input->getPostVar()] = $input;
160  $this->input_options[$input->getPostVar()] = $options;
161  }
getPostVar()
Get Post Variable.
setRequired($a_required)
Set Required.
+ Here is the call graph for this function:

◆ checkInput()

ilDclGenericMultiInputGUI::checkInput ( )

Check input, strip slashes etc.

set alert, if input is not ok.

Returns
boolean Input ok, true/false

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

References $_POST, $inputs, ilFormPropertyGUI\$lng, $valid, ilFormPropertyGUI\getPostVar(), ilFormPropertyGUI\getRequired(), ilFormPropertyGUI\setAlert(), and ilUtil\stripSlashes().

265  {
266  global $lng;
267 
268  $valid = true;
269 
270  // escape data
271  $out_array = array();
272  foreach ($_POST[$this->getPostVar()] as $item_num => $item) {
273  foreach ($this->inputs as $input_key => $input) {
274  if (isset($item[$input_key])) {
275  $out_array[$item_num][$input_key] = (is_string($item[$input_key])) ? ilUtil::stripSlashes($item[$input_key]) : $item[$input_key];
276  }
277  }
278  }
279  $_POST[$this->getPostVar()] = $out_array;
280 
281  if ($this->getRequired() && !trim(implode("", $_POST[$this->getPostVar()]))) {
282  $valid = false;
283  }
284 
285  // validate
286  foreach ($this->inputs as $input_key => $inputs) {
287  foreach ($out_array as $subitem) {
288  $_POST[$inputs->getPostVar()] = $subitem[$inputs->getPostVar()];
289  if (!$inputs->checkInput()) {
290  $valid = false;
291  }
292  }
293  }
294 
295  if (!$valid) {
296  $this->setAlert($lng->txt("msg_input_is_required"));
297 
298  return false;
299  }
300 
301  return $valid;
302  }
getPostVar()
Get Post Variable.
$valid
setAlert($a_alert)
Set Alert Text.
static stripSlashes($a_str, $a_strip_html=true, $a_allow="")
strip slashes if magic qoutes is enabled
$_POST["username"]
+ Here is the call graph for this function:

◆ createInputPostVar()

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

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

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

Referenced by render().

336  {
337  if ($this->getMulti()) {
338  return $this->getPostVar() . '[' . $iterator_id . '][' . $input->getPostVar() . ']';
339  } else {
340  return $this->getPostVar() . '[' . $input->getPostVar() . ']';
341  }
342  }
getPostVar()
Get Post Variable.
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ getCustomAttributes()

ilDclGenericMultiInputGUI::getCustomAttributes ( )
Returns
array

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

References $cust_attr.

Referenced by render().

324  {
325  return (array) $this->cust_attr;
326  }
+ Here is the caller graph for this function:

◆ getHook()

ilDclGenericMultiInputGUI::getHook (   $key)
Returns
string

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

References $key.

Referenced by render().

117  {
118  if (isset($this->hooks[$key])) {
119  return $this->hooks[$key];
120  }
121 
122  return false;
123  }
$key
Definition: croninfo.php:18
+ Here is the caller graph for this function:

◆ getInputs()

ilDclGenericMultiInputGUI::getInputs ( )

Get Options.

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

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

References $inputs.

◆ getLimit()

ilDclGenericMultiInputGUI::getLimit ( )
Returns
mixed

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

References $limit.

◆ getSubItems()

ilDclGenericMultiInputGUI::getSubItems ( )
Parameters
bool | false$a_sortable
Returns
string

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

536  {
537  return array();
538  }

◆ getTableFilterHTML()

ilDclGenericMultiInputGUI::getTableFilterHTML ( )

Get HTML for table filter.

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

References $html, and render().

486  {
487  $html = $this->render();
488 
489  return $html;
490  }
render($iterator_id=0, $clean_render=false)
Render item.
$html
Definition: example_001.php:87
+ Here is the call graph for this function:

◆ getToolbarHTML()

ilDclGenericMultiInputGUI::getToolbarHTML ( )

Get HTML for toolbar.

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

References $html, and render().

497  {
498  $html = $this->render("toolbar");
499 
500  return $html;
501  }
render($iterator_id=0, $clean_render=false)
Render item.
$html
Definition: example_001.php:87
+ Here is the call graph for this function:

◆ getValue()

ilDclGenericMultiInputGUI::getValue ( )

Get Value.

Returns
string Value

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

References $key, and $out.

Referenced by render().

233  {
234  $out = array();
235  foreach ($this->inputs as $key => $item) {
236  $out[$key] = $item->getValue();
237  }
238 
239  return $out;
240  }
$key
Definition: croninfo.php:18
+ Here is the caller graph for this function:

◆ insert()

ilDclGenericMultiInputGUI::insert ( $a_tpl)

Insert property html.

Returns
int Size

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

References $data, $DIC, $i, Sabre\VObject\$output, $tpl, ilFormPropertyGUI\getFieldId(), ilFormPropertyGUI\getMulti(), and render().

446  {
447  global $DIC;
448  $tpl = $DIC['tpl'];
449 
450  $output = "";
451  // $tpl->addCss($this->getTemplateDir() . '/templates/css/multi_line_input.css');
452 
453  $output .= $this->render(0, true);
454 
455  if ($this->getMulti() && is_array($this->line_values) && count($this->line_values) > 0) {
456  $counter = 0;
457  foreach ($this->line_values as $i => $data) {
458  $object = $this;
459  $object->setValue($data);
460  $output .= $object->render($i);
461  $counter++;
462  }
463  } else {
464  $output .= $this->render(1, true);
465  }
466 
467  if ($this->getMulti()) {
468  $output = '<div id="' . $this->getFieldId() . '" class="multi_line_input">' . $output . '</div>';
469  $tpl->addJavascript('Modules/DataCollection/js/generic_multi_line_input.js');
470  $output .= '<script type="text/javascript">$("#' . $this->getFieldId() . '").multi_line_input('
471  . json_encode($this->input_options) . ', '
472  . json_encode(array('limit' => $this->limit, 'sortable' => $this->multi_sortable, 'locale' => $DIC->language()->getLangKey()))
473  . ')</script>';
474  }
475 
476  $a_tpl->setCurrentBlock("prop_generic");
477  $a_tpl->setVariable("PROP_GENERIC", $output);
478  $a_tpl->parseCurrentBlock();
479  }
global $DIC
Definition: saml.php:7
$tpl
Definition: ilias.php:10
getFieldId()
Get Post Variable.
render($iterator_id=0, $clean_render=false)
Render item.
$i
Definition: disco.tpl.php:19
$data
Definition: bench.php:6
+ Here is the call graph for this function:

◆ isAllowEmptyFields()

ilDclGenericMultiInputGUI::isAllowEmptyFields ( )
Returns
boolean

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

References $allow_empty_fields.

◆ isShowLabel()

ilDclGenericMultiInputGUI::isShowLabel ( )
Returns
boolean

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

References $show_label.

Referenced by render().

+ Here is the caller graph for this function:

◆ removeHook()

ilDclGenericMultiInputGUI::removeHook (   $key)
Parameters
$key
Returns
bool

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

References $key.

141  {
142  if (isset($this->hooks[$key])) {
143  unset($this->hooks[$key]);
144 
145  return true;
146  }
147 
148  return false;
149  }
$key
Definition: croninfo.php:18

◆ render()

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

Render item.

Parameters
int$iterator_id
Returns
string
Exceptions
ilException

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

References $input, $inputs, $key, $tpl, $value, ilGlyphGUI\ADD, addCustomAttribute(), createInputPostVar(), ilGlyphGUI\DOWN, ilGlyphGUI\get(), getCustomAttributes(), ilFormPropertyGUI\getDisabled(), getHook(), ilFormPropertyGUI\getMulti(), getValue(), isShowLabel(), ilGlyphGUI\REMOVE, and ilGlyphGUI\UP.

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

354  {
355  $tpl = new ilTemplate("tpl.prop_generic_multi_line.html", true, true, 'Modules/DataCollection');
356 
357  $class = 'multi_input_line';
358 
359  $this->addCustomAttribute('class', $class, true);
360  foreach ($this->getCustomAttributes() as $key => $value) {
361  $tpl->setCurrentBlock('cust_attr');
362  $tpl->setVariable('CUSTOM_ATTR_KEY', $key);
363  $tpl->setVariable('CUSTOM_ATTR_VALUE', $value);
364  $tpl->parseCurrentBlock();
365  }
366 
368 
369  foreach ($inputs as $key => $input) {
370  $input = clone $input;
371  if (!method_exists($input, 'render')) {
372  throw new ilException(
373  "Method " . get_class($input)
374  . "::render() does not exists! You cannot use this input-type in ilMultiLineInputGUI"
375  );
376  }
377 
378  $is_disabled_hook = $this->getHook(self::HOOK_IS_INPUT_DISABLED);
379  if ($is_disabled_hook !== false && !$clean_render) {
380  $input->setDisabled($is_disabled_hook($this->getValue()));
381  }
382 
383  if ($this->getDisabled()) {
384  $input->setDisabled(true);
385  }
386 
387  if ($iterator_id == 0 && !isset($this->post_var_cache[$key])) {
388  $this->post_var_cache[$key] = $input->getPostVar();
389  } else {
390  // Reset post var
391  $input->setPostVar($this->post_var_cache[$key]);
392  }
393 
394  $post_var = $this->createInputPostVar($iterator_id, $input);
395  $input->setPostVar($post_var);
396 
397  $before_render_hook = $this->getHook(self::HOOK_BEFORE_INPUT_RENDER);
398  if ($before_render_hook !== false && !$clean_render) {
399  $input = $before_render_hook($this->getValue(), $key, $input);
400  }
401 
402  //var_dump($input);
403 
404  if ($this->isShowLabel()) {
405  $tpl->setCurrentBlock('input_label');
406  $tpl->setVariable('LABEL', $input->getTitle());
407  $tpl->setVariable('CONTENT', $input->render());
408  $tpl->parseCurrentBlock();
409  } else {
410  $tpl->setCurrentBlock('input');
411  $tpl->setVariable('CONTENT', $input->render());
412  $tpl->parseCurrentBlock();
413  }
414  }
415 
416  if ($this->getMulti() && !$this->getDisabled()) {
417  $tpl->setVariable('IMAGE_MINUS', ilGlyphGUI::get(ilGlyphGUI::REMOVE));
418 
419  $show_remove = true;
420  $is_removeable_hook = $this->getHook(self::HOOK_IS_LINE_REMOVABLE);
421  if ($is_removeable_hook !== false && !$clean_render) {
422  $show_remove = $is_removeable_hook($this->getValue());
423  }
424 
425  $image_minus = ($show_remove) ? ilGlyphGUI::get(ilGlyphGUI::REMOVE) : '<span class="glyphicon glyphicon-minus hide"></span>';
426  $tpl->setCurrentBlock('multi_icons');
427  $tpl->setVariable('IMAGE_PLUS', ilGlyphGUI::get(ilGlyphGUI::ADD));
428  $tpl->setVariable('IMAGE_MINUS', $image_minus);
429  if ($this->multi_sortable) {
430  $tpl->setVariable('IMAGE_UP', ilGlyphGUI::get(ilGlyphGUI::UP));
431  $tpl->setVariable('IMAGE_DOWN', ilGlyphGUI::get(ilGlyphGUI::DOWN));
432  }
433  $tpl->parseCurrentBlock();
434  }
435 
436  return $tpl->get();
437  }
$tpl
Definition: ilias.php:10
static get($a_glyph, $a_text="")
Get glyph html.
special template class to simplify handling of ITX/PEAR
createInputPostVar($iterator_id, ilFormPropertyGUI $input)
addCustomAttribute($key, $value, $override=false)
$key
Definition: croninfo.php:18
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ setAllowEmptyFields()

ilDclGenericMultiInputGUI::setAllowEmptyFields (   $allow_empty_fields)
Parameters
boolean$allow_empty_fields

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

References $allow_empty_fields.

94  {
95  $this->allow_empty_fields = $allow_empty_fields;
96  }

◆ setLimit()

ilDclGenericMultiInputGUI::setLimit (   $limit)

set a limit of possible lines, 0 = no limit

Parameters
mixed$limit

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

References $limit.

76  {
77  $this->limit = $limit;
78  }

◆ setMulti()

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

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

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

197  {
198  $this->multi = $a_multi;
199  $this->multi_sortable = $a_sortable;
200  }
+ Here is the caller graph for this function:

◆ setShowLabel()

ilDclGenericMultiInputGUI::setShowLabel (   $show_label)
Parameters
boolean$show_label

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

References $show_label.

177  {
178  $this->show_label = $show_label;
179  }

◆ setValue()

ilDclGenericMultiInputGUI::setValue (   $a_value)

Set Value.

Parameters
string$a_valueValue

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

References $key, and IL_CAL_DATE.

Referenced by setValueByArray().

209  {
210  foreach ($this->inputs as $key => $item) {
211  if ($item instanceof ilCheckboxInputGUI) {
212  $item->setChecked((bool) $a_value[$key]);
213  } else {
214  if ($item instanceof ilDateTimeInputGUI) {
215  $item->setDate(new ilDate($a_value[$key], IL_CAL_DATE));
216  } else {
217  if (method_exists($item, 'setValue')) {
218  $item->setValue($a_value[$key]);
219  }
220  }
221  }
222  }
223  $this->value = $a_value;
224  }
This class represents a checkbox property in a property form.
This class represents a date/time property in a property form.
Class for single dates.
const IL_CAL_DATE
$key
Definition: croninfo.php:18
+ Here is the caller graph for this function:

◆ setValueByArray()

ilDclGenericMultiInputGUI::setValueByArray (   $a_values)

Set value by array.

Parameters
array$a_valuesvalue array

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

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

249  {
250  $data = $a_values[$this->getPostVar()];
251  if ($this->getMulti()) {
252  $this->line_values = $data;
253  } else {
254  $this->setValue($data);
255  }
256  }
getPostVar()
Get Post Variable.
$data
Definition: bench.php:6
+ Here is the call graph for this function:

Field Documentation

◆ $allow_empty_fields

ilDclGenericMultiInputGUI::$allow_empty_fields = false
protected

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

Referenced by isAllowEmptyFields(), and setAllowEmptyFields().

◆ $cust_attr

ilDclGenericMultiInputGUI::$cust_attr = array()
protected

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

Referenced by getCustomAttributes().

◆ $hooks

ilDclGenericMultiInputGUI::$hooks = array()
protected

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

◆ $input_options

ilDclGenericMultiInputGUI::$input_options = array()
protected

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

◆ $inputs

ilDclGenericMultiInputGUI::$inputs = array()
protected

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

Referenced by checkInput(), getInputs(), and render().

◆ $limit

ilDclGenericMultiInputGUI::$limit = 0
protected

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

Referenced by getLimit(), and setLimit().

◆ $line_values

ilDclGenericMultiInputGUI::$line_values = array()
protected

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

◆ $post_var_cache

ilDclGenericMultiInputGUI::$post_var_cache = array()
protected

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

◆ $show_label

ilDclGenericMultiInputGUI::$show_label = false
protected

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

Referenced by isShowLabel(), and setShowLabel().

◆ $template_dir

ilDclGenericMultiInputGUI::$template_dir = ''
protected

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

◆ $value

ilDclGenericMultiInputGUI::$value
protected

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

Referenced by addCustomAttribute(), and render().

◆ HOOK_BEFORE_INPUT_RENDER

const ilDclGenericMultiInputGUI::HOOK_BEFORE_INPUT_RENDER = "hook_before_render"

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

◆ HOOK_IS_INPUT_DISABLED

const ilDclGenericMultiInputGUI::HOOK_IS_INPUT_DISABLED = "hook_is_disabled"

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

◆ HOOK_IS_LINE_REMOVABLE

const ilDclGenericMultiInputGUI::HOOK_IS_LINE_REMOVABLE = "hook_is_line_removable"

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


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