ILIAS  release_7 Revision v7.30-3-g800a261c036
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

Reimplemented from ilFormPropertyGUI.

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

105 {
106 parent::__construct($a_title, $a_postvar);
107 $this->setType("line_select");
108 $this->setMulti(true);
109 }
setMulti($a_multi, $a_sortable=false, $a_addremove=true)
setType($a_type)
Set Type.
__construct(Container $dic, ilPlugin $plugin)
@inheritDoc

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

+ 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 309 of file class.ilDclGenericMultiInputGUI.php.

310 {
311 if (isset($this->cust_attr[$key]) && !$override) {
312 $this->cust_attr[$key] .= ' ' . $value;
313 } else {
314 $this->cust_attr[$key] = $value;
315 }
316 }

References $value.

Referenced by render().

+ Here is the caller graph for this function:

◆ addHook()

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

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

129 {
130 $this->hooks[$key] = $options;
131 }

◆ addInput()

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

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

156 {
157 $input->setRequired(!$this->allow_empty_fields);
158 $this->inputs[$input->getPostVar()] = $input;
159 $this->input_options[$input->getPostVar()] = $options;
160 }
getPostVar()
Get Post Variable.
setRequired($a_required)
Set Required.

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

+ 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

Reimplemented from ilFormPropertyGUI.

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

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

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

+ 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 334 of file class.ilDclGenericMultiInputGUI.php.

335 {
336 if ($this->getMulti()) {
337 return $this->getPostVar() . '[' . $iterator_id . '][' . $input->getPostVar() . ']';
338 } else {
339 return $this->getPostVar() . '[' . $input->getPostVar() . ']';
340 }
341 }

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

Referenced by render().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ getCustomAttributes()

ilDclGenericMultiInputGUI::getCustomAttributes ( )
Returns
array

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

References $cust_attr.

Referenced by render().

+ Here is the caller graph for this function:

◆ getHook()

ilDclGenericMultiInputGUI::getHook (   $key)
Returns
string

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

116 {
117 if (isset($this->hooks[$key])) {
118 return $this->hooks[$key];
119 }
120
121 return false;
122 }

Referenced by render().

+ Here is the caller graph for this function:

◆ getInputs()

ilDclGenericMultiInputGUI::getInputs ( )

Get Options.

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

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

187 {
188 return $this->inputs;
189 }

References $inputs.

◆ getLimit()

ilDclGenericMultiInputGUI::getLimit ( )
Returns
mixed

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

References $limit.

◆ getSubItems()

ilDclGenericMultiInputGUI::getSubItems ( )

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

535 {
536 return array();
537 }

◆ getTableFilterHTML()

ilDclGenericMultiInputGUI::getTableFilterHTML ( )

Get HTML for table filter.

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

485 {
486 $html = $this->render();
487
488 return $html;
489 }
render($iterator_id=0, $clean_render=false)
Render item.

References render().

+ Here is the call graph for this function:

◆ getToolbarHTML()

ilDclGenericMultiInputGUI::getToolbarHTML ( )

Get HTML for toolbar.

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

496 {
497 $html = $this->render("toolbar");
498
499 return $html;
500 }

References render().

+ Here is the call graph for this function:

◆ getValue()

ilDclGenericMultiInputGUI::getValue ( )

Get Value.

Returns
string Value

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

232 {
233 $out = array();
234 foreach ($this->inputs as $key => $item) {
235 $out[$key] = $item->getValue();
236 }
237
238 return $out;
239 }

References $out.

Referenced by render().

+ Here is the caller graph for this function:

◆ insert()

ilDclGenericMultiInputGUI::insert ( $a_tpl)

Insert property html.

Returns
int Size

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

445 {
446 global $DIC;
447 $tpl = $DIC['tpl'];
448
449 $output = "";
450 // $tpl->addCss($this->getTemplateDir() . '/templates/css/multi_line_input.css');
451
452 $output .= $this->render(0, true);
453
454 if ($this->getMulti() && is_array($this->line_values) && count($this->line_values) > 0) {
455 $counter = 0;
456 foreach ($this->line_values as $i => $data) {
457 $object = $this;
458 $object->setValue($data);
459 $output .= $object->render($i);
460 $counter++;
461 }
462 } else {
463 $output .= $this->render(1, true);
464 }
465
466 if ($this->getMulti()) {
467 $output = '<div id="' . $this->getFieldId() . '" class="multi_line_input">' . $output . '</div>';
468 $tpl->addJavascript('Modules/DataCollection/js/generic_multi_line_input.js');
469 $output .= '<script type="text/javascript">$("#' . $this->getFieldId() . '").multi_line_input('
470 . json_encode($this->input_options) . ', '
471 . json_encode(array('limit' => $this->limit, 'sortable' => $this->multi_sortable, 'locale' => $DIC->language()->getLangKey()))
472 . ')</script>';
473 }
474
475 $a_tpl->setCurrentBlock("prop_generic");
476 $a_tpl->setVariable("PROP_GENERIC", $output);
477 $a_tpl->parseCurrentBlock();
478 }
getFieldId()
Get Post Variable.
global $DIC
Definition: goto.php:24
if($DIC->http() ->request() ->getMethod()=="GET" &&isset($DIC->http() ->request() ->getQueryParams()['tex'])) $tpl
Definition: latex.php:41
$i
Definition: metadata.php:24
$data
Definition: storeScorm.php:23

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

+ Here is the call graph for this function:

◆ isAllowEmptyFields()

ilDclGenericMultiInputGUI::isAllowEmptyFields ( )
Returns
boolean

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

References $allow_empty_fields.

◆ isShowLabel()

ilDclGenericMultiInputGUI::isShowLabel ( )
Returns
boolean

Definition at line 166 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 139 of file class.ilDclGenericMultiInputGUI.php.

140 {
141 if (isset($this->hooks[$key])) {
142 unset($this->hooks[$key]);
143
144 return true;
145 }
146
147 return false;
148 }

◆ render()

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

Render item.

Parameters
int$iterator_id
Returns
string
Exceptions
ilException

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

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

References $inputs, $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().

+ 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 92 of file class.ilDclGenericMultiInputGUI.php.

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

References $allow_empty_fields.

◆ setLimit()

ilDclGenericMultiInputGUI::setLimit (   $limit)

set a limit of possible lines, 0 = no limit

Parameters
mixed$limit

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

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

References $limit.

◆ setMulti()

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

Reimplemented from ilFormPropertyGUI.

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

196 {
197 $this->multi = $a_multi;
198 $this->multi_sortable = $a_sortable;
199 }

Referenced by __construct().

+ Here is the caller graph for this function:

◆ setShowLabel()

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

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

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

References $show_label.

◆ setValue()

ilDclGenericMultiInputGUI::setValue (   $a_value)

Set Value.

Parameters
string$a_valueValue

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

208 {
209 foreach ($this->inputs as $key => $item) {
210 if ($item instanceof ilCheckboxInputGUI) {
211 $item->setChecked((bool) $a_value[$key]);
212 } else {
213 if ($item instanceof ilDateTimeInputGUI) {
214 $item->setDate(new ilDate($a_value[$key], IL_CAL_DATE));
215 } else {
216 if (method_exists($item, 'setValue')) {
217 $item->setValue($a_value[$key]);
218 }
219 }
220 }
221 }
222 $this->value = $a_value;
223 }
const IL_CAL_DATE
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.

References IL_CAL_DATE.

Referenced by setValueByArray().

+ 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 247 of file class.ilDclGenericMultiInputGUI.php.

248 {
249 $data = $a_values[$this->getPostVar()];
250 if ($this->getMulti()) {
251 $this->line_values = $data;
252 } else {
253 $this->setValue($data);
254 }
255 }

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

+ Here is the call graph for this function:

Field Documentation

◆ $allow_empty_fields

ilDclGenericMultiInputGUI::$allow_empty_fields = false
protected

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

Referenced by isAllowEmptyFields(), and setAllowEmptyFields().

◆ $cust_attr

ilDclGenericMultiInputGUI::$cust_attr = array()
protected

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

Referenced by getCustomAttributes().

◆ $hooks

ilDclGenericMultiInputGUI::$hooks = array()
protected

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

◆ $input_options

ilDclGenericMultiInputGUI::$input_options = array()
protected

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

◆ $inputs

ilDclGenericMultiInputGUI::$inputs = array()
protected

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

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

◆ $limit

ilDclGenericMultiInputGUI::$limit = 0
protected

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

Referenced by getLimit(), and setLimit().

◆ $line_values

ilDclGenericMultiInputGUI::$line_values = array()
protected

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

◆ $post_var_cache

ilDclGenericMultiInputGUI::$post_var_cache = array()
protected

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

◆ $show_label

ilDclGenericMultiInputGUI::$show_label = false
protected

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

Referenced by isShowLabel(), and setShowLabel().

◆ $template_dir

ilDclGenericMultiInputGUI::$template_dir = ''
protected

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

◆ $value

ilDclGenericMultiInputGUI::$value
protected

Definition at line 21 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 13 of file class.ilDclGenericMultiInputGUI.php.

◆ HOOK_IS_INPUT_DISABLED

const ilDclGenericMultiInputGUI::HOOK_IS_INPUT_DISABLED = "hook_is_disabled"

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

◆ HOOK_IS_LINE_REMOVABLE

const ilDclGenericMultiInputGUI::HOOK_IS_LINE_REMOVABLE = "hook_is_line_removable"

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


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