41 $ilCtrl = $DIC[
'ilCtrl'];
68 $this->
setFormAction($ilCtrl->getFormAction($this->getParentObject(),
'showUnitsOfCategory'));
73 $this->
setRowTemplate(
'tpl.unit_row_html',
'Modules/TestQuestionPool');
79 public function fillRow(array $a_set):
void 85 $ilCtrl = $DIC[
'ilCtrl'];
91 $sequence->setValue($this->position++ * 10);
92 $sequence->setMinValue(0);
93 $sequence->setSize(3);
94 $a_set[
'sequence'] = $sequence->render();
97 $action->setId(
'asl_content_' . $a_set[
'unit_id']);
98 $action->setAsynch(
false);
99 $action->setListTitle($this->
lng->txt(
'actions'));
100 $ilCtrl->setParameter($this->
getParentObject(),
'unit_id', $a_set[
'unit_id']);
101 $action->addItem($this->
lng->txt(
'edit'),
'', $ilCtrl->getLinkTarget($this->
getParentObject(),
'showUnitModificationForm'));
102 $action->addItem($this->
lng->txt(
'delete'),
'', $ilCtrl->getLinkTarget($this->
getParentObject(),
'confirmDeleteUnit'));
104 $a_set[
'actions'] = $action->getHtml();
106 if ($a_set[
'unit_id'] == $a_set[
'baseunit_id']) {
107 $a_set[
'baseunit'] =
'';
109 parent::fillRow($a_set);
setFormAction(string $a_form_action, bool $a_multipart=false)
addCommandButton(string $a_cmd, string $a_text, string $a_onclick='', string $a_id="", string $a_class="")
setSelectAllCheckbox(string $a_select_all_checkbox, bool $a_select_all_on_top=false)
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.
setRowTemplate(string $a_template, string $a_template_dir="")
Set row template.
setDefaultOrderDirection(string $a_defaultorderdirection)
setTitle(string $a_title, string $a_icon="", string $a_icon_alt="")
__construct(Container $dic, ilPlugin $plugin)
setLimit(int $a_limit=0, int $a_default_limit=0)
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)
__construct(?object $a_parent_obj, string $a_parent_cmd="", string $a_template_context="")
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
addMultiCommand(string $a_cmd, string $a_text)