30 parent::__construct($a_parent_obj, $a_parent_cmd);
35 $this->
dic()->language()->loadLanguageModule(
'orgu');
37 $this->
setId(
'objpositionperm_' . $this->type);
42 ->addJavaScript(
'./Services/AccessControl/js/ilPermSelect.js');
44 $this->
setTitle($this->
dic()->language()->txt(
'orgu_permission_settings_' 45 . $this->context_string));
50 $this->
setRowTemplate(
"tpl.obj_role_template_perm_row.html",
"Modules/OrgUnit");
83 $this->tpl->setVariable(
'OBJ_TYPE', $this->context_string);
84 $this->tpl->setVariable(
'PERM_PERM_ID',
$row->getOperationId());
86 $this->tpl->setVariable(
'PERM_CHECKED',
"checked=checked");
89 $this->tpl->setVariable(
'DESC_TYPE', $this->context_string);
90 $this->tpl->setVariable(
'DESC_PERM_ID',
$row->getOperationId());
91 $this->tpl->setVariable(
'TXT_PERMISSION', $this->
dic()->language()->txt(
'orgu_op_' 92 .
$row->getOperationString()));
addCommandButton($a_cmd, $a_text, $a_onclick='', $a_id="", $a_class=null)
Add Command button.
$GLOBALS['loaded']
Global hash that tracks already loaded includes.
setNoEntriesText($a_text)
Set text for an empty table.
Class ilOrgUnitPermissionGUI.
setTitle($a_title, $a_icon=0, $a_icon_alt=0)
Set title and title icon.
setDisableFilterHiding($a_val=true)
Set disable filter hiding.
addMultiCommand($a_cmd, $a_text)
Add Command button.
isOperationIdSelected($operation_id)
getFormAction()
Get Form action parameter.
Class ilOrgUnitPermissionTableGUI.
setRowTemplate($a_template, $a_template_dir="")
Set row template.
Create styles array
The data for the language used.
setFormAction($a_form_action, $a_multipart=false)
Set Form action parameter.
disable($a_module_name)
diesables particular modules of table
setShowRowsSelector($a_value)
Toggle rows-per-page selector.
setOpenFormTag($a_val)
Set open form tag.
setEnableHeader($a_enableheader)
Set Enable Header.
__construct($a_parent_obj, $a_parent_cmd, ilOrgUnitPermission $ilOrgUnitPermission)
ilOrgUnitDefaultPermissionTableGUI constructor.
setCloseFormTag($a_val)
Set close form tag.