32 $this->
ctrl = $DIC->ctrl();
33 $this->
lng = $DIC->language();
34 $ilCtrl =
$DIC->ctrl();
41 $this->
setTitle($this->
lng->txt(
'select_object_to_link'));
46 $this->
setRowTemplate(
"tpl.il_svy_qpl_material_source_row.html",
"Modules/SurveyQuestionPool");
48 $this->
setFormAction($ilCtrl->getFormAction($this->getParentObject(), $this->getParentCmd()));
55 protected function fillRow(array $a_set): void
60 $url_cmd =
"add" . strtoupper($a_set[
"item_type"]);
61 $url_type = strtolower($a_set[
"item_type"]);
63 $ilCtrl->setParameter($this->
getParentObject(), $url_type, $a_set[
"item_id"]);
67 $this->tpl->setVariable(
"TITLE", $a_set[
'title']);
68 $this->tpl->setVariable(
"URL_ADD",
$url);
69 $this->tpl->setVariable(
"TXT_ADD",
$lng->
txt(
"add"));
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
fillRow(array $a_set)
Standard Version of Fill Row.
__construct(object $a_parent_obj, string $a_parent_cmd, string $a_cancel_cmd)
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...
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
setLimit(int $a_limit=0, int $a_default_limit=0)
set max.
setTitle(string $a_title, string $a_icon="", string $a_icon_alt="")
addCommandButton(string $a_cmd, string $a_text, string $a_onclick='', string $a_id="", string $a_class="")
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)
setRowTemplate(string $a_template, string $a_template_dir="")
Set row template.
setDefaultOrderDirection(string $a_defaultorderdirection)
disable(string $a_module_name)
__construct(Container $dic, ilPlugin $plugin)
@inheritDoc