3 declare(strict_types=1);
51 bool $a_call_by_reference =
true,
52 bool $a_prepare_output =
true 56 $this->rbacsystem = $DIC->rbac()->system();
57 $this->nav_history = $DIC[
"ilNavigationHistory"];
58 $this->
access = $DIC->access();
59 $this->
ctrl = $DIC->ctrl();
60 $this->
tabs = $DIC->tabs();
61 $this->
help = $DIC[
"ilHelp"];
62 $this->
lng = $DIC->language();
63 $this->
user = $DIC->user();
64 $this->tree = $DIC->repositoryTree();
65 $this->error = $DIC[
"ilErr"];
67 $this->tpl = $DIC[
"tpl"];
68 $this->
toolbar = $DIC->toolbar();
69 $this->rbacreview = $DIC->rbac()->review();
70 $this->rbacadmin = $DIC->rbac()->admin();
72 $this->
lng->loadLanguageModule(
'cat');
73 $this->
lng->loadLanguageModule(
'obj');
78 if (is_object($this->
object)) {
85 $this->cat_request = $DIC
99 $next_class = $this->
ctrl->getNextClass($this);
100 $cmd = $this->
ctrl->getCmd();
102 $header_action =
true;
103 switch ($next_class) {
105 case strtolower(ilRepositoryTrashGUI::class):
107 $this->
ctrl->setReturn($this,
'trash');
108 $this->
ctrl->forwardCommand($ru);
112 $this->tabs_gui->setTabActive(
'administrate_users');
113 if ($this->cat_request->getObjId() === 0) {
116 $this->cat_request->getRefId(),
123 $this->cat_request->getObjId(),
129 $this->
ctrl->forwardCommand($this->gui_obj);
131 $ilTabs->clearTargets();
132 $ilTabs->setBackTarget($this->
lng->txt(
'backto_lua'), $this->
ctrl->getLinkTarget($this,
'listUsers'));
135 $ilHelp->setScreenId(
"administrate_user");
136 $ilHelp->setSubScreenId($ilCtrl->getCmd());
139 case "ilobjuserfoldergui":
142 $this->cat_request->getRefId(),
145 $this->gui_obj->setUserOwnerId($this->cat_request->getRefId());
146 $this->gui_obj->setCreationMode($this->creation_mode);
147 $this->
ctrl->forwardCommand($this->gui_obj);
149 $ilTabs->clearTargets();
150 $ilTabs->setBackTarget($this->
lng->txt(
'backto_lua'), $this->
ctrl->getLinkTarget($this,
'listUsers'));
153 $ilHelp->setScreenId(
"administrate_user");
154 $ilHelp->setSubScreenId($ilCtrl->getCmd());
160 $this->content_style_gui->addCss(
167 case 'ilpermissiongui':
169 $this->tabs_gui->setTabActive(
'perm_settings');
171 $this->
ctrl->forwardCommand($perm_gui);
174 case 'ilinfoscreengui':
175 if ($this->info_screen_enabled) {
182 case "ilcontainerpagegui":
186 $this->tpl->setContent($ret);
188 $header_action =
false;
191 case 'ilobjectcopygui':
196 $this->
ctrl->forwardCommand($cp);
199 case "ilobjectcontentstylesettingsgui":
203 $settings_gui = $this->content_style_gui
204 ->objectSettingsGUIForRefId(
208 $this->
ctrl->forwardCommand($settings_gui);
211 case 'ilusertablegui':
213 $u_table->initFilter();
214 $this->
ctrl->setReturn($this,
'listUsers');
215 $this->
ctrl->forwardCommand($u_table);
218 case "ilcommonactiondispatchergui":
221 $this->
ctrl->forwardCommand($gui);
224 case 'ildidactictemplategui':
225 $this->
ctrl->setReturn($this,
'edit');
227 $this->
ctrl->forwardCommand($did);
232 $this->tabs_gui->setTabActive(
'export');
234 $exp->addFormat(
'xml');
235 $this->
ctrl->forwardCommand($exp);
238 case 'ilobjecttranslationgui':
244 $this->
ctrl->forwardCommand($transgui);
247 case 'ilobjtaxonomygui':
252 $tax->setAssignedObject($this->
object->getId());
253 $tax->setMultiple(
true);
254 $tax->setListInfo($this->
lng->txt(
"cntr_tax_list_info"));
255 $this->
ctrl->forwardCommand($tax);
258 case 'ilobjectmetadatagui':
261 $this->tabs_gui->activateTab(
'meta_data');
265 case "ilcontainernewssettingsgui":
267 $this->tabs_gui->setTabActive(
'settings');
269 $this->tabs_gui->activateSubTab(
'obj_news_settings');
271 $news_set_gui->setHideByDate(
true);
272 $this->
ctrl->forwardCommand($news_set_gui);
275 case 'ilcontainerfilteradmingui':
278 $this->
setEditTabs($active_tab =
"settings_filter");
279 $this->tabs_gui->activateTab(
'settings');
284 if ($cmd ===
"infoScreen") {
292 $ilAccess->checkAccess(
"read",
"", $this->cat_request->getRefId())) {
293 $ilNavigationHistory->addItem(
294 $this->cat_request->getRefId(),
301 if (is_object($this->
object)) {
302 $this->content_style_gui->addCss(
312 $this->tabs_gui->activateTab(
"view_content");
318 if ($header_action) {
327 parent::addHeaderAction();
338 $md_gui->enableTaxonomyDefinition(
true);
339 $tax = $md_gui->getTaxonomyObjGUI();
340 $tax->setMultiple(
true);
341 $tax->setListInfo($this->
lng->txt(
"cntr_tax_list_info"));
343 if (count($taxonomies)) {
344 $md_gui->setTaxonomySettings(
function (
$form) {
352 foreach ($tax as $tax_id => $tax_item) {
359 if ((
int) $tax_item[
"source"] !== $this->
object->getRefId()) {
361 $loc->setTextOnly(
true);
362 $loc->addRepositoryItems((
int) $tax_item[
"source"]);
363 $option->setInfo($loc->getHTML());
366 $block->addOption($option);
368 if (in_array($tax_id, $current)) {
373 $block->setValue($value);
374 },
function (
$form) {
376 if (count($taxonomies)) {
379 $prefix = self::CONTAINER_SETTING_TAXBLOCK;
387 if (is_array($sblock)) {
388 foreach ($sblock as $tax_id) {
410 if ($this->
ctrl->getCmd() ===
"editPageContent") {
414 $ilHelp->setScreenIdComponent(
"cat");
417 $this->tabs_gui->addTab(
420 $this->
ctrl->getLinkTarget($this,
"")
424 if ($this->info_screen_enabled) {
425 $force_active = $this->
ctrl->getNextClass() ===
"ilinfoscreengui" 426 || strtolower($this->cat_request->getCmdClass()) ===
"ilnotegui";
427 $this->tabs_gui->addTarget(
429 $this->
ctrl->getLinkTargetByClass(
430 [
"ilobjcategorygui",
"ilinfoscreengui"],
433 [
"showSummary",
"",
"infoScreen"],
443 $force_active = ($this->
ctrl->getCmd() ===
"edit");
444 $this->tabs_gui->addTarget(
446 $this->
ctrl->getLinkTarget($this,
"edit"),
462 $mdgui->enableTaxonomyDefinition(
true);
464 $mdtab = $mdgui->getTab();
466 $this->tabs_gui->addTab(
468 $this->
lng->txt(
"meta_data"),
476 $this->tabs_gui->addTarget(
477 "administrate_users",
478 $this->
ctrl->getLinkTarget($this,
"listUsers"),
484 if ($ilAccess->checkAccess(
'write',
'', $this->object->getRefId())) {
485 $this->tabs_gui->addTarget(
487 $this->
ctrl->getLinkTargetByClass(
'ilexportgui',
''),
505 parent::renderObject();
509 $this->
object->getRefId(),
510 $this->
object->getId(),
517 if (strtolower($this->cat_request->getBaseClass()) ===
"iladministrationgui") {
518 parent::viewObject();
526 $forms = parent::initCreationForms($new_type);
541 $this->content_style_domain
542 ->styleForRefId($new_object->
getRefId())
543 ->inheritFromParent();
546 $this->tpl->setOnScreenMessage(
'success', $this->
lng->txt(
"cat_added"),
true);
547 $this->
ctrl->setParameter($this,
"ref_id", $new_object->
getRefId());
558 $this->
ctrl->setCmd(
"showSummary");
559 $this->
ctrl->setCmdClass(
"ilinfoscreengui");
572 if (!$ilAccess->checkAccess(
"visible",
"", $this->ref_id)) {
573 $ilErr->raiseError($this->
lng->txt(
"msg_no_perm_read"),
$ilErr->MESSAGE);
576 if (!$this->info_screen_enabled) {
581 $this->tabs_gui->setTabActive(
'info_short');
585 $info->enablePrivateNotes();
587 if ($ilAccess->checkAccess(
"read",
"", $this->cat_request->getRefId())) {
592 $info->enableNewsEditing(
false);
593 if ($ilAccess->checkAccess(
"write",
"", $this->cat_request->getRefId())) {
595 $enable_internal_rss = $news_set->get(
"enable_rss_for_internal");
597 if ($enable_internal_rss) {
598 $info->setBlockProperty(
"news",
"settings",
'1');
599 $info->setBlockProperty(
"news",
"public_notifications_option",
'1');
605 $record_gui->
parse();
609 $info->addMetaDataSections($this->
object->getId(), 0, $this->
object->getType());
612 if ($ilCtrl->getNextClass() ===
"ilinfoscreengui") {
613 $ilCtrl->forwardCommand($info);
615 return $ilCtrl->getHTML($info);
624 $this->tabs_gui->activateTab(
'settings');
625 $this->tabs_gui->setSubTabActive(
'edit_cat_settings');
628 $this->tpl->setContent($this->
form->getHTML());
640 $this->
form->checkInput();
642 if ($this->record_gui->importEditFormPostValues()) {
643 $this->record_gui->writeEditForm();
645 $this->tpl->setOnScreenMessage(
'success', $this->
lng->txt(
"settings_saved"),
true);
646 $this->
ctrl->redirect($this,
"editInfo");
656 if (is_object($this->
form)) {
661 $this->
form->setFormAction($this->
ctrl->getFormAction($this));
662 $this->
form->setTitle($this->
lng->txt(
'ext_cat_settings'));
663 $this->
form->addCommandButton(
'updateInfo', $this->
lng->txt(
'save'));
664 $this->
form->addCommandButton(
'editInfo', $this->
lng->txt(
'cancel'));
668 $this->record_gui->parse();
673 protected function setEditTabs($active_tab =
"settings_misc"): void
675 $this->tabs_gui->addSubTab(
677 $this->
lng->txt(
"settings"),
678 $this->
ctrl->getLinkTarget($this,
"edit")
681 $this->tabs_gui->addSubTab(
683 $this->
lng->txt(
"obj_multilinguality"),
684 $this->
ctrl->getLinkTargetByClass(
"ilobjecttranslationgui",
"")
695 $this->tabs_gui->addSubTab(
697 $this->
lng->txt(
"cont_news_settings"),
698 $this->
ctrl->getLinkTargetByClass(
'ilcontainernewssettingsgui')
702 $this->tabs_gui->addSubTab(
704 $this->
lng->txt(
"cont_filter"),
705 $this->
ctrl->getLinkTargetByClass(
"ilcontainerfilteradmingui",
"")
708 $this->tabs_gui->activateTab(
"settings");
709 $this->tabs_gui->activateSubTab($active_tab);
716 $this->
lng->loadLanguageModule($this->
object->getType());
724 $this->initFormTitleDescription(
$form);
731 $pres->setTitle($this->
lng->txt(
'obj_presentation'));
735 $form = $obj_service->commonSettings()->legacyForm(
$form, $this->
object)->addTitleIconVisibility();
738 $form = $obj_service->commonSettings()->legacyForm(
$form, $this->
object)->addTopActionsVisibility();
741 $form = $obj_service->commonSettings()->legacyForm(
$form, $this->
object)->addIcon();
744 $form = $obj_service->commonSettings()->legacyForm(
$form, $this->
object)->addTileImage();
761 $bl->
setInfo($this->
lng->txt(
"cont_block_limit_info"));
769 $ecs->addSettingsToForm(
$form,
'cat');
773 $sh->setTitle($this->
lng->txt(
'obj_features'));
806 $ilErr->raiseError($this->
lng->txt(
"msg_no_perm_write"),
$ilErr->MESSAGE);
813 $this->
object->setTitle($title);
814 $this->
object->setDescription($desc);
815 $this->
object->update();
820 $obj_service->commonSettings()->legacyForm(
$form, $this->
object)->saveTitleIconVisibility();
823 $obj_service->commonSettings()->legacyForm(
$form, $this->
object)->saveTopActionsVisibility();
826 $obj_service->commonSettings()->legacyForm(
$form, $this->
object)->saveIcon();
829 $obj_service->commonSettings()->legacyForm(
$form, $this->
object)->saveTileImage();
865 if ($ecs->handleSettingsUpdate()) {
895 $utab->resetOffset();
896 $utab->resetFilter();
911 $utab->resetOffset();
912 $utab->writeFilterToSession();
927 $ilErr->raiseError($this->
lng->txt(
"msg_no_perm_admin_users"),
$ilErr->MESSAGE);
929 $this->tabs_gui->setTabActive(
'administrate_users');
933 $this->tpl->addBlockfile(
936 'tpl.cat_admin_users.html',
942 $ilToolbar->addButton(
943 $this->
lng->txt(
'add_user'),
944 $this->
ctrl->getLinkTargetByClass(
'ilobjusergui',
'create')
947 $ilToolbar->addButton(
948 $this->
lng->txt(
'import_users'),
949 $this->
ctrl->getLinkTargetByClass(
'ilobjuserfoldergui',
'importUserForm')
952 $this->tpl->setOnScreenMessage(
'info', $this->
lng->txt(
'no_roles_user_can_be_assigned_to'));
956 $this->tpl->setCurrentBlock(
"confirm_delete");
957 $this->tpl->setVariable(
"CONFIRM_FORMACTION", $this->
ctrl->getFormAction($this));
958 $this->tpl->setVariable(
"TXT_CANCEL", $this->
lng->txt(
'cancel'));
959 $this->tpl->setVariable(
"CONFIRM_CMD",
'performDeleteUsers');
960 $this->tpl->setVariable(
"TXT_CONFIRM", $this->
lng->txt(
'delete'));
961 $this->tpl->parseCurrentBlock();
964 $this->
lng->loadLanguageModule(
'user');
967 $this->tpl->setVariable(
'USERS_TABLE', $utab->getHTML());
976 $auto->setSearchFields([
'login',
'firstname',
'lastname',
'email']);
977 $auto->enableFieldSearchableCheck(
true);
980 if (($this->cat_request->getFetchAll())) {
984 echo $auto->getList($this->cat_request->getTerm());
992 foreach ($this->cat_request->getUserIds() as $user_id) {
1001 $this->tpl->setOnScreenMessage(
'success', $this->
lng->txt(
'deleted_users'));
1008 if ($this->cat_request->getIds() === []) {
1009 $this->tpl->setOnScreenMessage(
'failure', $this->
lng->txt(
'no_users_selected'));
1015 $confirm->setFormAction($this->
ctrl->getFormAction($this));
1016 $confirm->setHeaderText($this->
lng->txt(
'sure_delete_selected_users'));
1017 $confirm->setConfirm($this->
lng->txt(
'delete'),
'performDeleteUsers');
1018 $confirm->setCancel($this->
lng->txt(
'cancel'),
'listUsers');
1020 foreach ($this->cat_request->getIds() as
$user) {
1026 $name[
'lastname'] .
', ' .
$name[
'firstname'] .
' [' .
$name[
'login'] .
']' 1029 $this->tpl->setContent($confirm->getHTML());
1039 if ($this->cat_request->getObjId() === 0) {
1040 $this->tpl->setOnScreenMessage(
'failure',
'no_user_selected');
1045 $ilTabs->clearTargets();
1046 $ilTabs->setBackTarget($this->
lng->txt(
'backto_lua'), $this->
ctrl->getLinkTarget($this,
'listUsers'));
1049 $ilHelp->setScreenId(
"administrate_user");
1050 $ilHelp->setSubScreenId(
"assign_roles");
1060 foreach ($roles as $role) {
1065 in_array((
int) $role[
'obj_id'], $ass_roles,
true),
1067 (
string) $role[
'obj_id'],
1070 $f_result[$counter][
'title'] = $role_obj->getTitle() ?:
"";
1071 $f_result[$counter][
'desc'] = $role_obj->getDescription() ?:
"";
1072 $f_result[$counter][
'type'] = ($role[
'role_type'] ??
'') ===
'global' ?
1073 $this->
lng->txt(
'global') :
1074 $this->
lng->txt(
'local');
1082 $title = $this->
lng->txt(
'role_assignment') .
' (' . $tmp_obj->getFullname() .
')';
1083 $table->setTitle($title,
"icon_role.svg", $this->
lng->txt(
"role_assignment"));
1084 $table->setData($f_result);
1085 $this->tpl->setContent($table->getHTML());
1095 if ($this->cat_request->getObjId() === 0 ||
1097 $this->tpl->setOnScreenMessage(
'failure',
'no_user_selected');
1105 $this->tpl->setOnScreenMessage(
'failure', $this->
lng->txt(
'no_global_role_left'));
1110 $new_role_ids = $this->cat_request->getRoleIds();
1112 foreach ($roles as $role) {
1113 if (in_array((
int) $role[
'obj_id'], $new_role_ids,
true) && !in_array((
int) $role[
'obj_id'], $assigned_roles,
true)) {
1116 if (in_array((
int) $role[
'obj_id'], $assigned_roles,
true) && !in_array((
int) $role[
'obj_id'], $new_role_ids,
true)) {
1120 $this->tpl->setOnScreenMessage(
'success', $this->
lng->txt(
'role_assignment_updated'));
1135 } elseif ($tmp_obj->getTimeLimitOwner() === $this->
object->getRefId()) {
1155 if ($tmp_obj->getTimeLimitOwner() !== $this->
object->getRefId() &&
1161 $new_assigned = $new_assigned ?: [];
1170 $global_assignable = [];
1171 foreach ($ga as $role) {
1172 $global_assignable[] = $role[
'obj_id'];
1175 $new_visible_assigned_roles = array_intersect($new_assigned, $global_assignable);
1177 $main_assigned_roles = array_diff($all_assigned_roles, $global_assignable);
1179 if (!count($new_visible_assigned_roles) && !count($main_assigned_roles)) {
1185 public static function _goto(
string $a_target): void
1188 $main_tpl = $DIC->ui()->mainTemplate();
1190 $ilAccess = $DIC->access();
1192 $lng = $DIC->language();
1193 if ($ilAccess->checkAccess(
"read",
"", (
int) $a_target)) {
1195 } elseif ($ilAccess->checkAccess(
"visible",
"", (
int) $a_target)) {
1198 $main_tpl->setOnScreenMessage(
'failure', sprintf(
1199 $lng->
txt(
"msg_no_perm_read_item"),
1214 $this->tabs_gui->setTabActive(
"obj_tool_setting_taxonomies");
1215 $this->tabs_gui->addSubTab(
1217 $this->
lng->txt(
"cntr_taxonomy_sideblock_settings"),
1218 $this->
ctrl->getLinkTarget($this,
"editTaxonomySettings")
1220 $this->tabs_gui->addSubTab(
1222 $this->
lng->txt(
"cntr_taxonomy_definitions"),
1223 $this->
ctrl->getLinkTargetByClass(
"ilobjtaxonomygui",
"")
1225 $this->tabs_gui->activateSubTab($a_active);
1240 if (count($node_taxes)) {
1241 foreach ($node_taxes as $node_tax) {
1242 $res[$node_tax[
"tax_id"]] = [
1243 "title" => $node_tax[
"title"]
1244 ,
"source" => $node[
"child"]
1259 $prefix = self::CONTAINER_SETTING_TAXBLOCK;
1262 if ($value && strpos($keyword, $prefix) === 0) {
1263 $res[] = substr($keyword, strlen($prefix));
static _getAllUserIds(int $a_filter=0)
prepareOutput(bool $show_subobjects=true)
StandardGUIRequest $cat_request
ilAdvancedMDRecordGUI $record_gui
setPropertyForm(ilPropertyFormGUI $form)
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
infoScreen()
show information screen
saveSortingSettings(ilPropertyFormGUI $form)
txt(string $a_topic, string $a_default_lang_fallback_mod="")
gets the text for a given topic if the topic is not in the list, the topic itself with "-" will be re...
GUI class for the workflow of copying objects.
checkGlobalRoles($new_assigned)
redirectToRefId(int $ref_id, string $cmd="")
redirects to (repository) view per ref id usually to a container and usually used at the end of a sav...
assignUser(int $a_rol_id, int $a_usr_id)
Assigns an user to a role.
static _gotoRepositoryNode(int $ref_id, string $cmd="")
const CONTAINER_SETTING_TAXBLOCK
static _lookupName(int $a_user_id)
lookup user name
static getUsageOfObject(int $a_obj_id, bool $a_include_titles=false)
__construct( $a_data, int $a_id, bool $a_call_by_reference=true, bool $a_prepare_output=true)
static updateServiceSettingsForm(int $obj_id, ilPropertyFormGUI $form, array $services)
listUsersObject(bool $show_delete=false)
initCreationForms(string $new_type)
getPathFull(int $a_endnode_id, int $a_startnode_id=0)
get path from a given startnode to a given endnode if startnode is not given the rootnode is startnod...
static _lookupContainerSetting(int $a_id, string $a_keyword, string $a_default_value=null)
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
static _lookupObjId(int $ref_id)
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
setCreationMode(bool $mode=true)
if true, a creation screen is displayed the current [ref_id] don't belong to the current class! The m...
bool $info_screen_enabled
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
checkAccess(string $a_operations, int $a_ref_id, string $a_type="")
checkAccess represents the main method of the RBAC-system in ILIAS3 developers want to use With this ...
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
getGlobalRolesArray()
get only 'global' roles
getAssignableChildRoles(int $a_ref_id)
Get all assignable roles directly under a specific node.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
ilNavigationHistory $nav_history
static _lookupTitle(int $obj_id)
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
setScreenIdComponent(string $a_comp)
applyFilterObject()
Apply filter.
performDeleteUsersObject()
initDidacticTemplate(ilPropertyFormGUI $form)
Class ilObjectGUI Basic methods of all Output classes.
initTaxSubTabs($a_active="tax_list")
static _recordReadEvent(string $a_type, int $a_ref_id, int $obj_id, int $usr_id, bool $isCatchupWriteEvents=true, $a_ext_rc=null, $a_ext_time=null)
static initPreview()
Initializes the preview and loads the needed javascripts and styles.
Repository GUI Utilities.
static _recordWriteEvent(int $obj_id, int $usr_id, string $action, ?int $parent_obj_id=null)
Records a write event.
resetFilterObject()
import categories (static, also called by RootFolderGUI)
afterSave(ilObject $new_object)
getGlobalRoles()
get only 'global' roles
static _getLink(?int $a_ref_id, string $a_type='', array $a_params=array(), string $append="")
static getDataDir()
get data directory (outside webspace)
static initServiceSettingsForm(int $obj_id, ilPropertyFormGUI $form, array $services)
form( $class_path, string $cmd)
static _lookupDescription(int $obj_id)
Navigation History of Repository Items.
static _goto(string $a_target)
saveListPresentation(ilPropertyFormGUI $form)
checkPermissionBool(string $perm, string $cmd="", string $type="", ?int $ref_id=null)
static _writeContainerSetting(int $a_id, string $a_keyword, string $a_value)
Filter administration for containers.
infoScreenObject()
this one is called from the info button in the repository not very nice to set cmdClass/Cmd manually...
renderObject()
Render category.
static getInstanceByObjId(?int $obj_id, bool $stop_on_error=true)
get an instance of an Ilias object by object id
setEditTabs($active_tab="settings_misc")
activateTab(string $a_id)
getGlobalAssignableRoles()
get only 'global' roles (with flag 'assign_users')
initListPresentationForm(ilPropertyFormGUI $form)
Add list presentation settings to form.
initSortingForm(ilPropertyFormGUI $form, array $a_sorting_settings)
Append sorting settings to property form.
__construct(Container $dic, ilPlugin $plugin)
setInfoObject(ilInfoScreenGUI $info)
get info sections
const INFO_TAB_VISIBILITY
Class ilContainerGUI This is a base GUI class for all container objects in ILIAS: root folder...
New PermissionGUI (extends from old ilPermission2GUI) RBAC related output.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
static _catchupWriteEvents(int $obj_id, int $usr_id, ?string $timestamp=null)
Catches up with all write events which occured before the specified timestamp.
checkPermission(string $perm, string $cmd="", string $type="", ?int $ref_id=null)
static _getContainerSettings(int $a_id)
addUserAutoCompleteObject()
Show auto complete results.
assignedRoles(int $a_usr_id)
get all assigned roles to a given user
static getInstanceFromAjaxCall()
(Re-)Build instance from ajax call
static _deleteContainerSettings(int $a_id, string $a_keyword="", bool $a_keyword_like=false)
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
static _gotoRepositoryRoot(bool $raise_error=false)
Goto repository root.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
deassignUser(int $a_rol_id, int $a_usr_id)
Deassigns a user from a role.