ILIAS  release_5-3 Revision v5.3.23-19-g915713cf615
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...
 

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

107 {
108 parent::__construct($a_title, $a_postvar);
109 $this->setType("line_select");
110 $this->setMulti(true);
111 }
setMulti($a_multi, $a_sortable=false, $a_addremove=true)
setType($a_type)
Set Type.

References 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 306 of file class.ilDclGenericMultiInputGUI.php.

307 {
308 if (isset($this->cust_attr[$key]) && !$override) {
309 $this->cust_attr[$key] .= ' ' . $value;
310 } else {
311 $this->cust_attr[$key] = $value;
312 }
313 }
$key
Definition: croninfo.php:18

References $key, and $value.

Referenced by render().

+ Here is the caller graph for this function:

◆ addHook()

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

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

131 {
132 $this->hooks[$key] = $options;
133 }
if(!isset( $_REQUEST[ 'ReturnTo'])) if(!isset($_REQUEST['AuthId'])) $options
Definition: as_login.php:20

References $key, and $options.

◆ addInput()

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

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

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

References $options, 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 260 of file class.ilDclGenericMultiInputGUI.php.

261 {
262 global $lng;
263
264 $valid = true;
265
266 // escape data
267 $out_array = array();
268 foreach ($_POST[$this->getPostVar()] as $item_num => $item) {
269 foreach ($this->inputs as $input_key => $input) {
270 if (isset($item[$input_key])) {
271 $out_array[$item_num][$input_key] = (is_string($item[$input_key])) ? ilUtil::stripSlashes($item[$input_key]) : $item[$input_key];
272 }
273 }
274 }
275 $_POST[$this->getPostVar()] = $out_array;
276
277 if ($this->getRequired() && !trim(implode("", $_POST[$this->getPostVar()]))) {
278 $valid = false;
279 }
280
281 // validate
282 foreach ($this->inputs as $input_key => $inputs) {
283 foreach ($out_array as $subitem) {
284 $_POST[$inputs->getPostVar()] = $subitem[$inputs->getPostVar()];
285 if (!$inputs->checkInput()) {
286 $valid = false;
287 }
288 }
289 }
290
291 if (!$valid) {
292 $this->setAlert($lng->txt("msg_input_is_required"));
293
294 return false;
295 }
296
297 return $valid;
298 }
$_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 331 of file class.ilDclGenericMultiInputGUI.php.

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

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 319 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 117 of file class.ilDclGenericMultiInputGUI.php.

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

References $key.

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

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

References $inputs.

◆ getLimit()

ilDclGenericMultiInputGUI::getLimit ( )
Returns
mixed

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

References $limit.

◆ getSubItems()

ilDclGenericMultiInputGUI::getSubItems ( )

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

530 {
531 return array();
532 }

◆ getTableFilterHTML()

ilDclGenericMultiInputGUI::getTableFilterHTML ( )

Get HTML for table filter.

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

480 {
481 $html = $this->render();
482
483 return $html;
484 }
render($iterator_id=0, $clean_render=false)
Render item.
$html
Definition: example_001.php:87

References $html, and render().

+ Here is the call graph for this function:

◆ getToolbarHTML()

ilDclGenericMultiInputGUI::getToolbarHTML ( )

Get HTML for toolbar.

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

491 {
492 $html = $this->render("toolbar");
493
494 return $html;
495 }

References $html, and render().

+ Here is the call graph for this function:

◆ getValue()

ilDclGenericMultiInputGUI::getValue ( )

Get Value.

Returns
string Value

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

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

References $key, and $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 439 of file class.ilDclGenericMultiInputGUI.php.

440 {
441 global $DIC;
442 $tpl = $DIC['tpl'];
443
444 $output = "";
445 // $tpl->addCss($this->getTemplateDir() . '/templates/css/multi_line_input.css');
446
447 $output .= $this->render(0, true);
448
449 if ($this->getMulti() && is_array($this->line_values) && count($this->line_values) > 0) {
450 $counter = 0;
451 foreach ($this->line_values as $i => $data) {
452 $object = $this;
453 $object->setValue($data);
454 $output .= $object->render($i);
455 $counter++;
456 }
457 } else {
458 $output .= $this->render(1, true);
459 }
460
461 if ($this->getMulti()) {
462 $output = '<div id="' . $this->getFieldId() . '" class="multi_line_input">' . $output . '</div>';
463 $tpl->addJavascript('Modules/DataCollection/js/generic_multi_line_input.js');
464 $output .= '<script type="text/javascript">$("#' . $this->getFieldId() . '").multi_line_input('
465 . json_encode($this->input_options) . ', '
466 . json_encode(array('limit' => $this->limit, 'sortable' => $this->multi_sortable, 'locale' => $DIC->language()->getLangKey()))
467 . ')</script>';
468 }
469
470 $a_tpl->setCurrentBlock("prop_generic");
471 $a_tpl->setVariable("PROP_GENERIC", $output);
472 $a_tpl->parseCurrentBlock();
473 }
$tpl
Definition: ilias.php:10
getFieldId()
Get Post Variable.
$counter
$i
Definition: disco.tpl.php:19
if(!is_dir( $entity_dir)) exit("Fatal Error ([A-Za-z0-9]+)\s+" &#(? foreach( $entity_files as $file) $output
global $DIC
Definition: saml.php:7

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

+ Here is the call graph for this function:

◆ isAllowEmptyFields()

ilDclGenericMultiInputGUI::isAllowEmptyFields ( )
Returns
boolean

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

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

References $key.

◆ render()

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

Render item.

Parameters
int$iterator_id
Returns
string
Exceptions
ilException

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

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

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

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

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

References $allow_empty_fields.

◆ setLimit()

ilDclGenericMultiInputGUI::setLimit (   $limit)

set a limit of possible lines, 0 = no limit

Parameters
mixed$limit

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

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

References $limit.

◆ setMulti()

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

Reimplemented from ilFormPropertyGUI.

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

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

Referenced by __construct().

+ 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.

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

References $show_label.

◆ setValue()

ilDclGenericMultiInputGUI::setValue (   $a_value)

Set Value.

Parameters
string$a_valueValue

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

209 {
210 foreach ($this->inputs as $key => $item) {
211 if ($item instanceof ilCheckboxInputGUI) {
212 $item->setChecked((bool) $a_value[$key]);
213 } elseif ($item instanceof ilDateTimeInputGUI) {
214 $item->setDate(new ilDate($a_value[$key], IL_CAL_DATE));
215 } elseif (method_exists($item, 'setValue')) {
216 $item->setValue($a_value[$key]);
217 }
218 }
219 $this->value = $a_value;
220 }
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 $key, and 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 244 of file class.ilDclGenericMultiInputGUI.php.

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

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

Referenced by isAllowEmptyFields(), and setAllowEmptyFields().

◆ $cust_attr

ilDclGenericMultiInputGUI::$cust_attr = array()
protected

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

Referenced by getCustomAttributes().

◆ $hooks

ilDclGenericMultiInputGUI::$hooks = array()
protected

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

◆ $input_options

ilDclGenericMultiInputGUI::$input_options = array()
protected

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

◆ $inputs

ilDclGenericMultiInputGUI::$inputs = array()
protected

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

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

◆ $limit

ilDclGenericMultiInputGUI::$limit = 0
protected

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

Referenced by getLimit(), and setLimit().

◆ $line_values

ilDclGenericMultiInputGUI::$line_values = array()
protected

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

◆ $post_var_cache

ilDclGenericMultiInputGUI::$post_var_cache = array()
protected

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

◆ $show_label

ilDclGenericMultiInputGUI::$show_label = false
protected

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

Referenced by isShowLabel(), and setShowLabel().

◆ $template_dir

ilDclGenericMultiInputGUI::$template_dir = ''
protected

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

◆ $value

ilDclGenericMultiInputGUI::$value
protected

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

◆ HOOK_IS_INPUT_DISABLED

const ilDclGenericMultiInputGUI::HOOK_IS_INPUT_DISABLED = "hook_is_disabled"

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

◆ HOOK_IS_LINE_REMOVABLE

const ilDclGenericMultiInputGUI::HOOK_IS_LINE_REMOVABLE = "hook_is_line_removable"

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


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