ILIAS  release_8 Revision v8.24
ilDclGenericMultiInputGUI Class Reference

This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V. More...

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

Public Member Functions

 getLimit ()
 
 setLimit (int $limit)
 
 isAllowEmptyFields ()
 
 setAllowEmptyFields (bool $allow_empty_fields)
 
 __construct (string $a_title="", string $a_postvar="")
 Constructor. More...
 
 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 (int $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 (int $iterator_id, ilFormPropertyGUI $input)
 
- Protected Member Functions inherited from ilFormPropertyGUI
 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

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

This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V.

ILIAS is licensed with the GPL-3.0, see https://www.gnu.org/licenses/gpl-3.0.en.html You should have received a copy of said license along with the source code, too.

If this is not the case or you just want to try ILIAS, you'll find us at: https://www.ilias.de https://github.com/ILIAS-eLearning

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

Constructor & Destructor Documentation

◆ __construct()

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

Constructor.

Reimplemented from ilFormPropertyGUI.

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

61 {
62 parent::__construct($a_title, $a_postvar);
63 $this->setType("line_select");
64 $this->setMulti(true);
65 }
setMulti(bool $a_multi, bool $a_sortable=false, bool $a_addremove=true)
__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 ( string  $key,
string  $value,
bool  $override = false 
)

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

222 : void
223 {
224 if (isset($this->cust_attr[$key]) && !$override) {
225 $this->cust_attr[$key] .= ' ' . $value;
226 } else {
227 $this->cust_attr[$key] = $value;
228 }
229 }
string $key
Consumer key/client ID value.
Definition: System.php:193

References ILIAS\LTI\ToolProvider\$key.

◆ addHook()

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

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

80 {
81 $this->hooks[$key] = $options;
82 }

References ILIAS\LTI\ToolProvider\$key.

◆ addInput()

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

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

96 {
97 $input->setRequired(!$this->allow_empty_fields);
98 $this->inputs[$input->getPostVar()] = $input;
99 $this->input_options[$input->getPostVar()] = $options;
100 }
setRequired(bool $a_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 186 of file class.ilDclGenericMultiInputGUI.php.

186 : bool
187 {
188 global $lng;
189
190 $valid = true;
191
192 $value = $this->arrayArray($this->getPostVar());
193 // escape data
194 $out_array = [];
195 foreach ($value as $item_num => $item) {
196 foreach ($this->inputs as $input_key => $input) {
197 if (isset($item[$input_key])) {
198 if ($input instanceof ilDateTimeInputGUI) {
199 $out = (is_string($item[$input_key])) ? ilUtil::stripSlashes($item[$input_key]) : $item[$input_key];
201 $out_array[$item_num][$input_key] = $out;
202 } else {
203 $valid = false;
204 $this->setAlert($this->lng->txt("form_msg_wrong_date"));
205 $out_array[$item_num][$input_key] = null;
206 }
207 }
208 }
209 }
210 }
211
212 $this->setValue($out_array);
213
214 if ($this->getRequired() && !trim(implode("", $this->getValue()))) {
215 $this->setAlert($lng->txt("msg_input_is_required"));
216 $valid = false;
217 }
218
219 return $valid;
220 }
$out
Definition: buildRTE.php:24
static parseIncomingDate($a_value, bool $a_add_time=false)
Try to parse incoming value to date object.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
static stripSlashes(string $a_str, bool $a_strip_html=true, string $a_allow="")
$valid

References $lng, $out, $valid, ILIAS\Repository\arrayArray(), ILIAS\UI\Implementation\Component\Input\getValue(), ILIAS\Repository\lng(), ilCalendarUtil\parseIncomingDate(), and ilUtil\stripSlashes().

+ Here is the call graph for this function:

◆ createInputPostVar()

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

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

236 : string
237 {
238 if ($this->getMulti()) {
239 return $this->getPostVar() . '[' . $iterator_id . '][' . $input->getPostVar() . ']';
240 } else {
241 return $this->getPostVar() . '[' . $input->getPostVar() . ']';
242 }
243 }

References ilFormPropertyGUI\getPostVar().

+ Here is the call graph for this function:

◆ getCustomAttributes()

ilDclGenericMultiInputGUI::getCustomAttributes ( )

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

231 : array
232 {
233 return $this->cust_attr;
234 }

◆ getHook()

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

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

71 {
72 if (isset($this->hooks[$key])) {
73 return $this->hooks[$key];
74 }
75
76 return false;
77 }

References ILIAS\LTI\ToolProvider\$key.

◆ getInputs()

ilDclGenericMultiInputGUI::getInputs ( )

Get Options.

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

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

116 : array
117 {
118 return $this->inputs;
119 }

References $inputs.

◆ getLimit()

ilDclGenericMultiInputGUI::getLimit ( )

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

37 : int
38 {
39 return $this->limit;
40 }

References $limit.

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

373 : string
374 {
375 $html = $this->render();
376
377 return $html;
378 }
render(int $iterator_id=0, bool $clean_render=false)
Render item.

◆ getToolbarHTML()

ilDclGenericMultiInputGUI::getToolbarHTML ( )

Get HTML for toolbar.

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

383 : string
384 {
385 $html = $this->render("toolbar");
386
387 return $html;
388 }

◆ getValue()

ilDclGenericMultiInputGUI::getValue ( )

Get Value.

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

159 : array
160 {
161 $out = [];
162 foreach ($this->inputs as $key => $item) {
163 $out[$key] = $item->getValue();
164 }
165
166 return $out;
167 }

References ILIAS\LTI\ToolProvider\$key, and $out.

◆ insert()

ilDclGenericMultiInputGUI::insert ( ilTemplate  $a_tpl)

Insert property html.

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

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

References $data, $i, $id, ILIAS\Repository\lng(), ilTemplate\parseCurrentBlock(), ilTemplate\setCurrentBlock(), and HTML_Template_IT\setVariable().

+ Here is the call graph for this function:

◆ isAllowEmptyFields()

ilDclGenericMultiInputGUI::isAllowEmptyFields ( )

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

References $allow_empty_fields.

◆ isShowLabel()

ilDclGenericMultiInputGUI::isShowLabel ( )

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

102 : bool
103 {
104 return $this->show_label;
105 }

References $show_label.

◆ removeHook()

ilDclGenericMultiInputGUI::removeHook ( string  $key)

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

84 : bool
85 {
86 if (isset($this->hooks[$key])) {
87 unset($this->hooks[$key]);
88
89 return true;
90 }
91
92 return false;
93 }

References ILIAS\LTI\ToolProvider\$key.

◆ render()

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

Render item.

Exceptions
ilTemplateException

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

249 : string
250 {
251 $tpl = new ilTemplate("tpl.prop_generic_multi_line.html", true, true, 'Modules/DataCollection');
252
253 $class = 'multi_input_line';
254
255 $this->addCustomAttribute('class', $class, true);
256 foreach ($this->getCustomAttributes() as $key => $value) {
257 $tpl->setCurrentBlock('cust_attr');
258 $tpl->setVariable('CUSTOM_ATTR_KEY', $key);
259 $tpl->setVariable('CUSTOM_ATTR_VALUE', $value);
260 $tpl->parseCurrentBlock();
261 }
262
264
265 foreach ($inputs as $key => $input) {
266 $input = clone $input;
267 if (!method_exists($input, 'render')) {
268 throw new ilException(
269 "Method " . get_class($input)
270 . "::render() does not exists! You cannot use this input-type in ilMultiLineInputGUI"
271 );
272 }
273
274 $is_disabled_hook = $this->getHook(self::HOOK_IS_INPUT_DISABLED);
275 if ($is_disabled_hook !== false && !$clean_render) {
276 $input->setDisabled($is_disabled_hook($this->getValue()));
277 }
278
279 if ($this->getDisabled()) {
280 $input->setDisabled(true);
281 }
282
283 if ($iterator_id == 0 && !isset($this->post_var_cache[$key])) {
284 $this->post_var_cache[$key] = $input->getPostVar();
285 } else {
286 // Reset post var
287 $input->setPostVar($this->post_var_cache[$key]);
288 }
289
290 $post_var = $this->createInputPostVar($iterator_id, $input);
291 $input->setPostVar($post_var);
292
293 $before_render_hook = $this->getHook(self::HOOK_BEFORE_INPUT_RENDER);
294 if ($before_render_hook !== false && !$clean_render) {
295 $input = $before_render_hook($this->getValue(), $key, $input);
296 }
297
298 //var_dump($input);
299
300 if ($this->isShowLabel()) {
301 $tpl->setCurrentBlock('input_label');
302 $tpl->setVariable('LABEL', $input->getTitle());
303 } else {
304 $tpl->setCurrentBlock('input');
305 }
306 $tpl->setVariable('CONTENT', $input->render());
307 $tpl->parseCurrentBlock();
308 }
309
310 if ($this->getMulti() && !$this->getDisabled()) {
311 $tpl->setVariable('IMAGE_MINUS', ilGlyphGUI::get(ilGlyphGUI::REMOVE));
312
313 $show_remove = true;
314 $is_removeable_hook = $this->getHook(self::HOOK_IS_LINE_REMOVABLE);
315 if ($is_removeable_hook !== false && !$clean_render) {
316 $show_remove = $is_removeable_hook($this->getValue());
317 }
318
319 $image_minus = ($show_remove) ? ilGlyphGUI::get(ilGlyphGUI::REMOVE) : '<span class="glyphicon glyphicon-minus hide"></span>';
320 $tpl->setCurrentBlock('multi_icons');
321 $tpl->setVariable('IMAGE_PLUS', ilGlyphGUI::get(ilGlyphGUI::ADD));
322 $tpl->setVariable('IMAGE_MINUS', $image_minus);
323 if ($this->multi_sortable) {
324 $tpl->setVariable('IMAGE_UP', ilGlyphGUI::get(ilGlyphGUI::UP));
325 $tpl->setVariable('IMAGE_DOWN', ilGlyphGUI::get(ilGlyphGUI::DOWN));
326 }
327 $tpl->parseCurrentBlock();
328 }
329
330 return $tpl->get();
331 }
addCustomAttribute(string $key, string $value, bool $override=false)
createInputPostVar(int $iterator_id, ilFormPropertyGUI $input)
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
static get(string $a_glyph, string $a_text="")
special template class to simplify handling of ITX/PEAR
if($DIC->http() ->request() ->getMethod()=="GET" &&isset($DIC->http() ->request() ->getQueryParams()['tex'])) $tpl
Definition: latex.php:41

References ILIAS\UI\Implementation\Component\Input\$inputs, ILIAS\LTI\ToolProvider\$key, $tpl, ilGlyphGUI\ADD, ilGlyphGUI\DOWN, ilGlyphGUI\get(), ILIAS\UI\Implementation\Component\Input\getValue(), ilGlyphGUI\REMOVE, and ilGlyphGUI\UP.

+ Here is the call graph for this function:

◆ setAllowEmptyFields()

ilDclGenericMultiInputGUI::setAllowEmptyFields ( bool  $allow_empty_fields)

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

52 : void
53 {
54 $this->allow_empty_fields = $allow_empty_fields;
55 }

References $allow_empty_fields.

◆ setLimit()

ilDclGenericMultiInputGUI::setLimit ( int  $limit)

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

42 : void
43 {
44 $this->limit = $limit;
45 }

References $limit.

◆ setMulti()

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

Reimplemented from ilFormPropertyGUI.

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

125 : void {
126 $this->multi = $a_multi;
127 $this->multi_sortable = $a_sortable;
128 }

Referenced by __construct().

+ Here is the caller graph for this function:

◆ setShowLabel()

ilDclGenericMultiInputGUI::setShowLabel ( bool  $show_label)

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

107 : void
108 {
109 $this->show_label = $show_label;
110 }

References $show_label.

◆ setValue()

ilDclGenericMultiInputGUI::setValue ( array  $value)

Set Value.

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

133 : void
134 {
135 $this->value = $value;
136
137 foreach ($this->inputs as $key => $item) {
138 if (array_key_exists($key, $value)) {
139 if ($item instanceof ilCheckboxInputGUI) {
140 $item->setChecked((bool) $value[$key]);
141 } else {
142 if ($item instanceof ilDateTimeInputGUI) {
144 $item->setDate(new ilDate($value[$key], IL_CAL_DATE));
145 } else {
146 $item->setDate();
147 }
148 } else {
149 $item->setValue($value[$key]);
150 }
151 }
152 }
153 }
154 }
const IL_CAL_DATE
This class represents a checkbox property in a property form.
Class for single dates.

References ILIAS\LTI\ToolProvider\$key, IL_CAL_DATE, and ilCalendarUtil\parseIncomingDate().

+ Here is the call graph for this function:

◆ setValueByArray()

ilDclGenericMultiInputGUI::setValueByArray ( array  $a_values)

Set value by array.

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

172 : void
173 {
174 $data = $a_values[$this->getPostVar()] ?? [];
175 if ($this->getMulti()) {
176 $this->line_values = $data;
177 } else {
178 $this->setValue($data);
179 }
180 }

References $data.

Field Documentation

◆ $allow_empty_fields

bool ilDclGenericMultiInputGUI::$allow_empty_fields = false
protected

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

Referenced by isAllowEmptyFields(), and setAllowEmptyFields().

◆ $cust_attr

array ilDclGenericMultiInputGUI::$cust_attr = []
protected

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

◆ $hooks

array ilDclGenericMultiInputGUI::$hooks = []
protected

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

◆ $input_options

array ilDclGenericMultiInputGUI::$input_options = []
protected

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

◆ $inputs

array ilDclGenericMultiInputGUI::$inputs = []
protected

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

Referenced by getInputs().

◆ $limit

int ilDclGenericMultiInputGUI::$limit = 999999
protected

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

Referenced by getLimit(), and setLimit().

◆ $line_values

array ilDclGenericMultiInputGUI::$line_values = []
protected

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

◆ $post_var_cache

array ilDclGenericMultiInputGUI::$post_var_cache = []
protected

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

◆ $show_label

bool ilDclGenericMultiInputGUI::$show_label = false
protected

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

Referenced by isShowLabel(), and setShowLabel().

◆ $template_dir

string ilDclGenericMultiInputGUI::$template_dir = ''
protected

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

◆ $value

array ilDclGenericMultiInputGUI::$value = []
protected

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

◆ HOOK_BEFORE_INPUT_RENDER

const ilDclGenericMultiInputGUI::HOOK_BEFORE_INPUT_RENDER = "hook_before_render"

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

◆ HOOK_IS_INPUT_DISABLED

const ilDclGenericMultiInputGUI::HOOK_IS_INPUT_DISABLED = "hook_is_disabled"

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

◆ HOOK_IS_LINE_REMOVABLE

const ilDclGenericMultiInputGUI::HOOK_IS_LINE_REMOVABLE = "hook_is_line_removable"

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


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