ILIAS  release_8 Revision v8.24
class.ilQuestionBrowserTableGUI.php
Go to the documentation of this file.
1<?php
2
29{
30 private \ILIAS\TestQuestionPool\InternalRequestService $request;
31 protected \ILIAS\Notes\Service $notes;
32 protected \ILIAS\UI\Factory $ui_factory;
33 protected \ILIAS\UI\Renderer $renderer;
34 protected $editable = true;
35 protected $writeAccess = false;
36 protected $totalPoints = 0;
37 protected $confirmdelete;
38
39 protected $taxIds = array();
40
44 protected $questionCommentingEnabled = false;
45
46 public function __construct($a_parent_obj, $a_parent_cmd, $a_write_access = false, $confirmdelete = false, $taxIds = array(), $enableCommenting = false)
47 {
48 $this->setQuestionCommentingEnabled($enableCommenting);
49
50 // Bugfix: #0019539
51 if ($confirmdelete) {
52 $this->setId("qpl_confirm_del_" . $a_parent_obj->object->getRefId());
53 } else {
54 $this->setId("qpl_qst_brows_" . $a_parent_obj->object->getRefId());
55 }
56
57 parent::__construct($a_parent_obj, $a_parent_cmd);
58
59 global $DIC;
60 $lng = $DIC['lng'];
61 $ilCtrl = $DIC['ilCtrl'];
62 $this->request = $DIC->testQuestionPool()->internal()->request();
63 $this->lng = $lng;
64 $this->ctrl = $ilCtrl;
65
66 $this->renderer = $DIC->ui()->renderer();
67 $this->ui_factory = $DIC->ui()->factory();
68
69 $this->confirmdelete = $confirmdelete;
70 $this->setWriteAccess($a_write_access);
71 $this->taxIds = $taxIds;
72
73 $qplSetting = new ilSetting("qpl");
74
75 $this->setFormName('questionbrowser');
76 $this->setStyle('table', 'fullwidth');
77 if (!$confirmdelete) {
78 $this->addColumn('', '', '1%');
79 $this->addColumn($this->lng->txt("title"), 'title', '');
80 foreach ($this->getSelectedColumns() as $c) {
81 if (strcmp($c, 'description') == 0) {
82 $this->addColumn($this->lng->txt("description"), 'description', '');
83 }
84 if (strcmp($c, 'type') == 0) {
85 $this->addColumn($this->lng->txt("question_type"), 'ttype', '');
86 }
87 // According to mantis #12713
88 if (strcmp($c, 'points') == 0) {
89 $this->addColumn($this->lng->txt("points"), 'points', '', false, 'ilCenterForced');
90 }
91 if (strcmp($c, 'statistics') == 0) {
92 $this->addColumn($this->lng->txt('statistics'), '', '');
93 }
94 if (strcmp($c, 'author') == 0) {
95 $this->addColumn($this->lng->txt("author"), 'author', '');
96 }
97 if ($c == 'lifecycle') {
98 $this->addColumn($this->lng->txt('qst_lifecycle'), 'lifecycle', '');
99 }
100 if ($this->isQuestionCommentingEnabled() && $c == 'comments') {
101 $this->addColumn($this->lng->txt("ass_comments"), 'comments', '');
102 }
103 if (strcmp($c, 'created') == 0) {
104 $this->addColumn($this->lng->txt("create_date"), 'created', '');
105 }
106 if (strcmp($c, 'tstamp') == 0) {
107 $this->addColumn($this->lng->txt("last_update"), 'tstamp', '');
108 }
109 }
110 $this->addColumn($this->lng->txt('actions'), '');
111 $this->setSelectAllCheckbox('q_id');
112 } else {
113 $this->addColumn($this->lng->txt("title"), 'title', '');
114 foreach ($this->getSelectedColumns() as $c) {
115 if (strcmp($c, 'description') == 0) {
116 $this->addColumn($this->lng->txt("description"), 'description', '');
117 }
118 if (strcmp($c, 'type') == 0) {
119 $this->addColumn($this->lng->txt("question_type"), 'ttype', '');
120 }
121 }
122 }
123
124 if ($this->getWriteAccess()) {
125 if ($confirmdelete) {
126 $this->addCommandButton('confirmDeleteQuestions', $this->lng->txt('confirm'));
127 $this->addCommandButton('cancelDeleteQuestions', $this->lng->txt('cancel'));
128 } else {
129 $this->addMultiCommand('copy', $this->lng->txt('copy'));
130 $this->addMultiCommand('move', $this->lng->txt('move'));
131 $this->addMultiCommand('exportQuestion', $this->lng->txt('export'));
132 $this->addMultiCommand('deleteQuestions', $this->lng->txt('delete'));
133 }
134 }
135
136 $this->setRowTemplate("tpl.il_as_qpl_questionbrowser_row.html", "Modules/TestQuestionPool");
137
138 $this->setFormAction($this->ctrl->getFormAction($a_parent_obj, $a_parent_cmd));
139 $this->setDefaultOrderField("title");
140 $this->setDefaultOrderDirection("asc");
141
142 $this->setShowRowsSelector(true);
143
144 if ($confirmdelete) {
145 $this->disable('sort');
146 $this->disable('select_all');
147 } else {
148 $this->enable('sort');
149 $this->enable('header');
150 $this->enable('select_all');
151 $this->setFilterCommand('filterQuestionBrowser');
152 $this->setResetCommand('resetQuestionBrowser');
153 $this->initFilter();
154 }
155 $this->notes = $DIC->notes();
156 if ($this->isQuestionCommentingEnabled()) {
157 $this->notes->gui()->initJavascript();
158 }
159 }
160
164 public function isQuestionCommentingEnabled(): bool
165 {
167 }
168
173 {
174 $this->questionCommentingEnabled = $questionCommentingEnabled;
175 }
176
177 protected function isCommentsColumnSelected(): bool
178 {
179 return in_array('comments', $this->getSelectedColumns());
180 }
181
182 public function setQuestionData($questionData): void
183 {
184 if ($this->isQuestionCommentingEnabled() && ($this->isCommentsColumnSelected() || $this->filter['commented'])) {
185 foreach ($questionData as $key => $data) {
186 $notes_context = $this->notes
187 ->data()
188 ->context(
189 $this->parent_obj->object->getId(),
190 $data['question_id'],
191 'quest'
192 );
193 $numComments = $this->notes
194 ->domain()
195 ->getNrOfCommentsForContext($notes_context);
196
197 if ($this->filter['commented'] && !$numComments) {
198 unset($questionData[$key]);
199 continue;
200 }
201
202 $questionData[$key]['comments'] = $numComments;
203 }
204 }
205
206 $this->setData($questionData);
207 }
208
209 public function getSelectableColumns(): array
210 {
211 global $DIC;
212 $lng = $DIC['lng'];
213 $cols["description"] = array(
214 "txt" => $lng->txt("description"),
215 "default" => true
216 );
217 $cols["type"] = array(
218 "txt" => $lng->txt("question_type"),
219 "default" => true
220 );
221 if (!$this->confirmdelete) {
222 $cols["points"] = array(
223 "txt" => $lng->txt("points"),
224 "default" => true
225 );
226 $cols["statistics"] = array(
227 "txt" => $lng->txt("statistics"),
228 "default" => true
229 );
230 $cols["author"] = array(
231 "txt" => $lng->txt("author"),
232 "default" => true
233 );
234 $cols['lifecycle'] = array(
235 'txt' => $lng->txt('qst_lifecycle'),
236 'default' => true
237 );
238 if ($this->isQuestionCommentingEnabled()) {
239 $cols["comments"] = array(
240 "txt" => $lng->txt("comments"),
241 "default" => true
242 );
243 }
244 $cols["created"] = array(
245 "txt" => $lng->txt("create_date"),
246 "default" => true
247 );
248 $cols["tstamp"] = array(
249 "txt" => $lng->txt("last_update"),
250 "default" => true
251 );
252 }
253 return $cols;
254 }
255
259 public function initFilter(): void
260 {
261 global $DIC;
262 $lng = $DIC['lng'];
263
264 $ti = new ilTextInputGUI($lng->txt("title"), "title");
265 $ti->setMaxLength(64);
266 $ti->setValidationRegexp('/^[^%]+$/is');
267 $ti->setSize(20);
268 $this->addFilterItem($ti);
269 $ti->readFromSession();
270 $this->filter["title"] = $ti->getValue();
271
272 // description
273 $ti = new ilTextInputGUI($lng->txt("description"), "description");
274 $ti->setMaxLength(64);
275 $ti->setSize(20);
276 $ti->setValidationRegexp('/^[^%]+$/is');
277 $this->addFilterItem($ti);
278 $ti->readFromSession();
279 $this->filter["description"] = $ti->getValue();
280
281 if (!$this->confirmdelete) {
282 // author
283 $ti = new ilTextInputGUI($lng->txt("author"), "author");
284 $ti->setMaxLength(64);
285 $ti->setSize(20);
286 $ti->setValidationRegexp('/^[^%]+$/is');
287 $this->addFilterItem($ti);
288 $ti->readFromSession();
289 $this->filter["author"] = $ti->getValue();
290 }
291
292 // lifecycle
293 $lifecycleOptions = array_merge(
294 array('' => $this->lng->txt('qst_lifecycle_filter_all')),
295 ilAssQuestionLifecycle::getDraftInstance()->getSelectOptions($this->lng)
296 );
297 $lifecycleInp = new ilSelectInputGUI($this->lng->txt('qst_lifecycle'), 'lifecycle');
298 $lifecycleInp->setOptions($lifecycleOptions);
299 $this->addFilterItem($lifecycleInp);
300 $lifecycleInp->readFromSession();
301 $this->filter['lifecycle'] = $lifecycleInp->getValue();
302
304 $options = array();
305 $options[""] = $lng->txt('filter_all_question_types');
306 foreach ($types as $translation => $row) {
307 $options[$row['type_tag']] = $translation;
308 }
309
310 $si = new ilSelectInputGUI($this->lng->txt("question_type"), "type");
311 $si->setOptions($options);
312 $this->addFilterItem($si);
313 $si->readFromSession();
314 $this->filter["type"] = $si->getValue();
315
316 if ($this->parent_obj->object->getShowTaxonomies()) {
317 foreach ($this->taxIds as $taxId) {
318 if ($taxId == $this->parent_obj->object->getNavTaxonomyId()) {
319 continue;
320 }
321
322 $postvar = "tax_$taxId";
323
324 $inp = new ilTaxSelectInputGUI($taxId, $postvar, true);
325 $this->addFilterItem($inp);
326 $inp->readFromSession();
327 $this->filter[$postvar] = $inp->getValue();
328 }
329 }
330
331 // comments
332 if ($this->isQuestionCommentingEnabled()) {
333 $comments = new ilCheckboxInputGUI($lng->txt('ass_commented_questions_only'), 'commented');
334 $this->addFilterItem($comments);
335 $comments->readFromSession();
336 $this->filter['commented'] = $comments->getChecked();
337 }
338 }
339
340 public function fillHeader(): void
341 {
342 foreach ($this->column as $key => $column) {
343 if (strcmp($column['text'], $this->lng->txt("points")) == 0) {
344 $this->column[$key]['text'] = $this->lng->txt("points") . "&nbsp;(" . $this->totalPoints . ")";
345 }
346 }
347 parent::fillHeader();
348 }
349
356 public function fillRow(array $a_set): void
357 {
358 $class = strtolower(assQuestionGUI::_getGUIClassNameForId($a_set["question_id"]));
359 $this->ctrl->setParameterByClass("ilAssQuestionPageGUI", "q_id", $a_set["question_id"]);
360 $this->ctrl->setParameterByClass("ilAssQuestionPreviewGUI", "q_id", $a_set["question_id"]);
361 $this->ctrl->setParameterByClass($class, "q_id", $a_set["question_id"]);
362 $points = 0;
363
364 $actions = new ilAdvancedSelectionListGUI();
365 $actions->setId('qst' . $a_set["question_id"]);
366 $actions->setListTitle($this->lng->txt('actions'));
367
368 if (!$this->confirmdelete) {
369 $this->tpl->setCurrentBlock('checkbox');
370 $this->tpl->setVariable('CB_QUESTION_ID', $a_set["question_id"]);
371 $this->tpl->parseCurrentBlock();
372
373 if ($a_set["complete"] == 0) {
374 $icon = $this->ui_factory->symbol()->icon()->custom(ilUtil::getImagePath("icon_alert.svg"), $this->lng->txt("warning_question_not_complete"));
375 $this->tpl->setCurrentBlock("qpl_warning");
376 $this->tpl->setVariable("ICON_WARNING", $this->renderer->render($icon));
377 $this->tpl->parseCurrentBlock();
378 } else {
379 $points = $a_set["points"];
380 }
381 $this->totalPoints += $points;
382
383 foreach ($this->getSelectedColumns() as $c) {
384 if (strcmp($c, 'points') == 0) {
385 $this->tpl->setCurrentBlock('points');
386 $this->tpl->setVariable("QUESTION_POINTS", $points);
387 $this->tpl->parseCurrentBlock();
388 }
389 if (strcmp($c, 'statistics') == 0) {
390 $this->tpl->setCurrentBlock('statistics');
391 $this->tpl->setVariable("LINK_ASSESSMENT", $this->ctrl->getLinkTargetByClass('ilAssQuestionPreviewGUI', ilAssQuestionPreviewGUI::CMD_STATISTICS));
392 $this->tpl->setVariable("TXT_ASSESSMENT", $this->lng->txt("statistics"));
393 $this->tpl->setVariable("IMG_ASSESSMENT", ilUtil::getImagePath("assessment.gif", "Modules/TestQuestionPool"));
394 $this->tpl->parseCurrentBlock();
395 }
396 if (strcmp($c, 'author') == 0) {
397 $this->tpl->setCurrentBlock('author');
398 $this->tpl->setVariable("QUESTION_AUTHOR", $a_set["author"]);
399 $this->tpl->parseCurrentBlock();
400 }
401 if ($c == 'lifecycle') {
402 $lifecycle = ilAssQuestionLifecycle::getInstance($a_set['lifecycle']);
403
404 $this->tpl->setCurrentBlock('lifecycle');
405 $this->tpl->setVariable("QUESTION_LIFECYCLE", $lifecycle->getTranslation($this->lng));
406 $this->tpl->parseCurrentBlock();
407 }
408 if ($c == 'comments' && $this->isQuestionCommentingEnabled()) {
409 $this->tpl->setCurrentBlock('comments');
410 $this->tpl->setVariable("COMMENTS", $this->getCommentsHtml($a_set));
411 $this->tpl->parseCurrentBlock();
412 }
413 if (strcmp($c, 'created') == 0) {
414 $this->tpl->setCurrentBlock('created');
415 $this->tpl->setVariable('QUESTION_CREATED', ilDatePresentation::formatDate(new ilDateTime($a_set['created'], IL_CAL_UNIX)));
416 $this->tpl->parseCurrentBlock();
417 }
418 if (strcmp($c, 'tstamp') == 0) {
419 $this->tpl->setCurrentBlock('updated');
420 $this->tpl->setVariable('QUESTION_UPDATED', ilDatePresentation::formatDate(new ilDateTime($a_set['tstamp'], IL_CAL_UNIX)));
421 $this->tpl->parseCurrentBlock();
422 }
423 }
424
425 $actions->addItem(
426 $this->lng->txt('preview'),
427 '',
428 $this->ctrl->getLinkTargetByClass('ilAssQuestionPreviewGUI', ilAssQuestionPreviewGUI::CMD_SHOW)
429 );
430 $actions->addItem(
431 $this->lng->txt('statistics'),
432 '',
433 $this->ctrl->getLinkTargetByClass('ilAssQuestionPreviewGUI', ilAssQuestionPreviewGUI::CMD_STATISTICS)
434 );
435 if ($this->getEditable()) {
436 $editHref = $this->ctrl->getLinkTargetByClass($a_set['type_tag'] . 'GUI', 'editQuestion');
437 $actions->addItem($this->lng->txt('edit_question'), '', $editHref);
438
439 $editPageHref = $this->ctrl->getLinkTargetByClass('ilAssQuestionPageGUI', 'edit');
440 $actions->addItem($this->lng->txt('edit_page'), '', $editPageHref);
441 }
442
443 if ($this->getWriteAccess()) {
444 $this->ctrl->setParameter($this->parent_obj, 'q_id', $a_set['question_id']);
445 $moveHref = $this->ctrl->getLinkTarget($this->parent_obj, 'move');
446 $this->ctrl->setParameter($this->parent_obj, 'q_id', null);
447 $actions->addItem($this->lng->txt('move'), '', $moveHref);
448
449 $this->ctrl->setParameter($this->parent_obj, 'q_id', $a_set['question_id']);
450 $copyHref = $this->ctrl->getLinkTarget($this->parent_obj, 'copy');
451 $this->ctrl->setParameter($this->parent_obj, 'q_id', null);
452 $actions->addItem($this->lng->txt('copy'), '', $copyHref);
453
454 $this->ctrl->setParameter($this->parent_obj, 'q_id', $a_set['question_id']);
455 $deleteHref = $this->ctrl->getLinkTarget($this->parent_obj, 'deleteQuestions');
456 $this->ctrl->setParameter($this->parent_obj, 'q_id', null);
457 $actions->addItem($this->lng->txt('delete'), '', $deleteHref);
458 }
459
460 if ($this->getEditable()) {
461 $this->ctrl->setParameterByClass('ilAssQuestionFeedbackEditingGUI', 'q_id', $a_set['question_id']);
462 $feedbackHref = $this->ctrl->getLinkTargetByClass('ilAssQuestionFeedbackEditingGUI', ilAssQuestionFeedbackEditingGUI::CMD_SHOW);
463 $this->ctrl->setParameterByClass('ilAssQuestionFeedbackEditingGUI', 'q_id', null);
464 $actions->addItem($this->lng->txt('tst_feedback'), '', $feedbackHref);
465
466 $this->ctrl->setParameterByClass('ilAssQuestionHintsGUI', 'q_id', $a_set['question_id']);
467 $hintsHref = $this->ctrl->getLinkTargetByClass('ilAssQuestionHintsGUI', ilAssQuestionHintsGUI::CMD_SHOW_LIST);
468 $this->ctrl->setParameterByClass('ilAssQuestionHintsGUI', 'q_id', null);
469 $actions->addItem($this->lng->txt('tst_question_hints_tab'), '', $hintsHref);
470 }
471
472 if ($this->isQuestionCommentingEnabled()) {
473 $actions->addItem(
474 $this->lng->txt('ass_comments'),
475 'comments',
476 '',
477 '',
478 '',
479 '',
480 '',
481 '',
482 $this->getCommentsAjaxLink($a_set['question_id'])
483 );
484 }
485 } else {
486 $this->tpl->setCurrentBlock('hidden');
487 $this->tpl->setVariable('HIDDEN_QUESTION_ID', $a_set["question_id"]);
488 $this->tpl->parseCurrentBlock();
489 }
490
491 foreach ($this->getSelectedColumns() as $c) {
492 if (strcmp($c, 'description') == 0) {
493 $this->tpl->setCurrentBlock('description');
494 $this->tpl->setVariable("QUESTION_COMMENT", $a_set['description']);
495 $this->tpl->parseCurrentBlock();
496 }
497 if (strcmp($c, 'type') == 0) {
498 $this->tpl->setCurrentBlock('type');
499 $this->tpl->setVariable("QUESTION_TYPE", assQuestion::_getQuestionTypeName($a_set["type_tag"]));
500 $this->tpl->parseCurrentBlock();
501 }
502 }
503 $this->tpl->setVariable('QUESTION_ID', $a_set["question_id"]);
504 if (!$this->confirmdelete) {
505 $this->tpl->setVariable('QUESTION_HREF_LINKED', $this->ctrl->getLinkTargetByClass('ilAssQuestionPreviewGUI', ilAssQuestionPreviewGUI::CMD_SHOW));
506 $this->tpl->setVariable('QUESTION_TITLE_LINKED', $a_set['title']);
507 $this->tpl->setVariable('ACTIONS', $actions->getHTML());
508 } else {
509 $this->tpl->setVariable('QUESTION_ID_UNLINKED', $a_set['question_id']);
510 $this->tpl->setVariable('QUESTION_TITLE_UNLINKED', $a_set['title']);
511 }
512 }
513
514 public function setEditable($value): void
515 {
516 $this->editable = $value;
517 }
518
519 public function getEditable(): bool
520 {
521 return $this->editable;
522 }
523
524 public function setWriteAccess($value): void
525 {
526 $this->writeAccess = $value;
527 }
528
529 public function getWriteAccess(): bool
530 {
531 return $this->writeAccess;
532 }
533
538 public function numericOrdering(string $a_field): bool
539 {
540 if (in_array($a_field, array('points', 'created', 'tstamp', 'comments'))) {
541 return true;
542 }
543
544 return false;
545 }
546
547 protected function getCommentsHtml($qData): string
548 {
549 if (!$qData['comments']) {
550 return '';
551 }
552
553 $ajax_link = $this->getCommentsAjaxLink($qData['question_id']);
554
555 $comment_glyph = $this->ui_factory->symbol()->glyph()->comment()->withCounter(
556 $this->ui_factory->counter()->status($qData['comments'])
557 )->withAdditionalOnLoadCode(function ($id) use ($ajax_link): string {
558 return "document.getElementById('$id').onclick = function (event) { $ajax_link; };";
559 });
560 return $this->renderer->render($comment_glyph);
561 }
562
563 protected function getCommentsAjaxLink($questionId): string
564 {
565 $ajax_hash = ilCommonActionDispatcherGUI::buildAjaxHash(1, $this->request->getRefId(), 'quest', $this->parent_obj->object->getId(), 'quest', $questionId);
566 $update_code = "il.UI.counter.getCounterObject($(\".ilTableOuter\")).incrementStatusCount(1);";
567 return ilNoteGUI::getListCommentsJSCall($ajax_hash, $update_code);
568 }
569}
const IL_CAL_UNIX
static _getGUIClassNameForId($a_q_id)
static _getQuestionTypeName($type_tag)
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
const CMD_SHOW_LIST
command constants
This class represents a checkbox property in a property form.
static buildAjaxHash(int $node_type, ?int $node_id, string $obj_type, int $obj_id, string $sub_type=null, int $sub_id=null, int $news_id=0)
Build ajax hash.
static formatDate(ilDateTime $date, bool $a_skip_day=false, bool $a_include_wd=false, bool $include_seconds=false)
@classDescription Date and time handling
txt(string $a_topic, string $a_default_lang_fallback_mod="")
gets the text for a given topic if the topic is not in the list, the topic itself with "-" will be re...
static getListCommentsJSCall(string $a_hash, string $a_update_code=null)
Get list comments js call.
static _getQuestionTypes($all_tags=false, $fixOrder=false, $withDeprecatedTypes=true)
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
setQuestionCommentingEnabled(bool $questionCommentingEnabled)
ILIAS TestQuestionPool InternalRequestService $request
__construct($a_parent_obj, $a_parent_cmd, $a_write_access=false, $confirmdelete=false, $taxIds=array(), $enableCommenting=false)
getSelectableColumns()
Get selectable columns.
fillRow(array $a_set)
fill row @access public
This class represents a selection list property in a property form.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
setShowRowsSelector(bool $a_value)
Toggle rows-per-page selector.
setFilterCommand(string $a_val, string $a_caption="")
addCommandButton(string $a_cmd, string $a_text, string $a_onclick='', string $a_id="", string $a_class="")
addFilterItem(ilTableFilterItem $a_input_item, bool $a_optional=false)
setFormName(string $a_name="")
addMultiCommand(string $a_cmd, string $a_text)
setFormAction(string $a_form_action, bool $a_multipart=false)
addColumn(string $a_text, string $a_sort_field="", string $a_width="", bool $a_is_checkbox_action_column=false, string $a_class="", string $a_tooltip="", bool $a_tooltip_with_html=false)
setDefaultOrderField(string $a_defaultorderfield)
setSelectAllCheckbox(string $a_select_all_checkbox, bool $a_select_all_on_top=false)
setRowTemplate(string $a_template, string $a_template_dir="")
Set row template.
setId(string $a_val)
setDefaultOrderDirection(string $a_defaultorderdirection)
setResetCommand(string $a_val, string $a_caption="")
setData(array $a_data)
Set table data.
ilLanguage $lng
enable(string $a_module_name)
setStyle(string $a_element, string $a_style)
disable(string $a_module_name)
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
This class represents a text property in a property form.
static getImagePath(string $img, string $module_path="", string $mode="output", bool $offline=false)
get image path (for images located in a template directory)
$c
Definition: cli.php:38
global $DIC
Definition: feed.php:28
__construct(Container $dic, ilPlugin $plugin)
@inheritDoc
string $key
Consumer key/client ID value.
Definition: System.php:193
$comments
$cols
Definition: xhr_table.php:11