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%');
41 $this->
addMultiCommand(
'confirmDeleteCategories', $this->lng->txt(
'delete'));
43 $this->
addMultiCommand(
'confirmImportGlobalCategories', $this->lng->txt(
'import'));
48 $this->
setFormAction($ilCtrl->getFormAction($this->getParentObject(), $cmd));
50 $this->
setRowTemplate(
'tpl.unit_category_row.html',
'Modules/TestQuestionPool');
71 $action->setId(
'asl_content_' .
$row[
'category_id']);
73 $action->setListTitle($this->lng->txt(
'actions'));
75 $action->addItem($this->lng->txt(
'un_show_units'),
'', $ilCtrl->getLinkTarget($this->
getParentObject(),
'showUnitsOfCategory'));
77 $action->addItem($this->lng->txt(
'edit'),
'', $ilCtrl->getLinkTarget($this->
getParentObject(),
'showUnitCategoryModificationForm'));
78 $action->addItem($this->lng->txt(
'delete'),
'', $ilCtrl->getLinkTarget($this->
getParentObject(),
'confirmDeleteCategory'));
80 $action->addItem($this->lng->txt(
'import'),
'', $ilCtrl->getLinkTarget($this->
getParentObject(),
'confirmImportGlobalCategory'));
82 $row[
'title_href'] = $ilCtrl->getLinkTarget($this->
getParentObject(),
'showUnitsOfCategory');
86 parent::fillRow(
$row);
__construct($a_parent_obj, $a_parent_cmd="", $a_template_context="")
ilTable2GUI 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 .
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.
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.
static formCheckbox($checked, $varname, $value, $disabled=false)
??? public