4 require_once
'Modules/TestQuestionPool/classes/class.ilUnitConfigurationGUI.php';
18 return 'showGlobalUnitCategories';
26 return 'showGlobalUnitCategories';
42 return $this->
repository->getConsumerId() .
'_global';
48 protected function showGlobalUnitCategories()
54 $ilToolbar = $DIC[
'ilToolbar'];
55 $rbacsystem = $DIC->rbac()->system();
57 if ($rbacsystem->checkAccess(
'write',
$_GET[
'ref_id'])) {
58 $ilToolbar->addButton($this->lng->txt(
'un_add_category'), $this->ctrl->getLinkTarget($this,
'showUnitCategoryCreationForm'));
61 parent::showGlobalUnitCategories();
69 require_once
'Modules/TestQuestionPool/classes/tables/class.ilGlobalUnitCategoryTableGUI.php';
71 $table->setData($categories);
73 $this->tpl->setContent($table->getHTML());
showUnitCategories(array $categories)
getUnitCategoryOverviewCommand()
Class ilGlobalUnitConfigurationGUI.
Class ilUnitConfigurationGUI .
const REQUEST_PARAM_SUB_CONTEXT
Class ilGlobalUnitCategoryTableGUI.