4 require_once
'Services/UIComponent/AdvancedSelectionList/classes/class.ilAdvancedSelectionListGUI.php';
5 require_once
'Services/Table/classes/class.ilTable2GUI.php';
31 parent::__construct($controller,
$cmd);
34 $this->
addColumn($this->lng->txt(
'title'),
'category',
'99%');
42 $this->
addMultiCommand(
'confirmDeleteCategories', $this->lng->txt(
'delete'));
46 $this->
addMultiCommand(
'confirmImportGlobalCategories', $this->lng->txt(
'import'));
53 $this->
setRowTemplate(
'tpl.unit_category_row.html',
'Modules/TestQuestionPool');
74 $action->setId(
'asl_content_' .
$row[
'category_id']);
75 $action->setAsynch(
false);
76 $action->setListTitle($this->lng->txt(
'actions'));
78 $action->addItem($this->lng->txt(
'un_show_units'),
'', $ilCtrl->getLinkTarget($this->
getParentObject(),
'showUnitsOfCategory'));
81 $action->addItem($this->lng->txt(
'edit'),
'', $ilCtrl->getLinkTarget($this->
getParentObject(),
'showUnitCategoryModificationForm'));
82 $action->addItem($this->lng->txt(
'delete'),
'', $ilCtrl->getLinkTarget($this->
getParentObject(),
'confirmDeleteCategory'));
86 $action->addItem($this->lng->txt(
'import'),
'', $ilCtrl->getLinkTarget($this->
getParentObject(),
'confirmImportGlobalCategory'));
88 $row[
'title_href'] = $ilCtrl->getLinkTarget($this->
getParentObject(),
'showUnitsOfCategory');
90 $row[
'actions'] = $action->getHtml();
92 parent::fillRow(
$row);
__construct($a_parent_obj, $a_parent_cmd="", $a_template_context="")
Constructor.
Class ilUnitConfigurationGUI .
getParentObject()
Get parent object.
setDefaultOrderDirection($a_defaultorderdirection)
Set Default order direction.
addMultiCommand($a_cmd, $a_text)
Add Command button.
setRowTemplate($a_template, $a_template_dir="")
Set row template.
User interface class for advanced drop-down selection lists.
setFormAction($a_form_action, $a_multipart=false)
Set Form action parameter.
Class ilUnitCategoryTableGUI .
fillRow($a_set)
Standard Version of Fill Row.
setSelectAllCheckbox($a_select_all_checkbox)
Set the name of the checkbox that should be toggled with a select all button.
addColumn($a_text, $a_sort_field="", $a_width="", $a_is_checkbox_action_column=false, $a_class="", $a_tooltip="", $a_tooltip_with_html=false)
Add a column to the header.
static formCheckbox($checked, $varname, $value, $disabled=false)
??? public