ILIAS  trunk Revision v13.0_alpha-62-g3b72d83f2e5
ilObjCategoryGUI Class Reference

Class ilObjCategoryGUI. More...

+ Inheritance diagram for ilObjCategoryGUI:
+ Collaboration diagram for ilObjCategoryGUI:

Public Member Functions

 __construct ( $a_data, int $a_id, bool $a_call_by_reference=true, bool $a_prepare_output=true)
 
 executeCommand ()
 
 getObjectMetadataGUI ()
 
 getProperties (int $tax_id)
 
 getActions (int $tax_id)
 
 renderObject ()
 Render category. More...
 
 viewObject ()
 viewObject container presentation for "administration -> repository, trash, permissions" More...
 
 infoScreenObject ()
 this one is called from the info button in the repository not very nice to set cmdClass/Cmd manually, if everything works through ilCtrl in the future this may be changed More...
 
 infoScreen ()
 show information screen More...
 
 updateObject ()
 updates object entry in object_data More...
 
 listUsersObject (bool $show_delete=false)
 
 performDeleteUsersObject ()
 
 deleteUsersObject ()
 
 assignRolesObject ()
 
 assignSave (array $ids)
 
- Public Member Functions inherited from ilContainerGUI
 executeCommand ()
 
 forwardToPageObject ()
 
 addPageTabs ()
 
 getContainerPageHTML ()
 
 getContentGUI ()
 
 renderObject ()
 
 renderBlockAsynchObject ()
 render the object More...
 
 setContentSubTabs ()
 
 showAdministrationPanel ()
 
 showPermanentLink ()
 
 editPageFrameObject ()
 
 cancelPageContentObject ()
 
 showLinkListObject ()
 
 addHeaderRow (ilTemplate $a_tpl, string $a_type, bool $a_show_image=true)
 
 addMessageRow (ilTemplate $a_tpl, string $a_message, string $a_type)
 
 setPageEditorTabs ()
 
 addStandardContainerSubTabs (bool $a_include_view=true)
 Add standard container subtabs for view, manage, oderdering and text/media editor link. More...
 
 enableAdministrationPanelObject ()
 
 disableAdministrationPanelObject ()
 
 editOrderObject ()
 
 isActiveOrdering ()
 
 isActiveItemOrdering ()
 
 enableMultiDownloadObject ()
 
 isMultiDownloadEnabled ()
 
 cutObject ()
 cut object(s) out from a container and write the information to clipboard @access public More...
 
 copyObject ()
 Copy object(s) out from a container and write the information to clipboard It is not possible to copy multiple objects at once. More...
 
 downloadObject ()
 
 getBucketTitle ()
 
 linkObject ()
 create an new reference of an object in tree it's like a hard link of unix More...
 
 clearObject ()
 clear clipboard and go back to last object More...
 
 performPasteIntoMultipleObjectsObject ()
 
 initAndDisplayLinkIntoMultipleObjectsObject ()
 
 showPasteTreeObject ()
 
 cancelMoveLinkObject ()
 Cancel move|link empty clipboard and return to parent. More...
 
 keepObjectsInClipboardObject ()
 
 initAndDisplayCopyIntoMultipleObjectsObject ()
 
 initAndDisplayMoveIntoObjectObject ()
 
 pasteObject ()
 paste object from clipboard to current place Depending on the chosen command the object(s) are linked, copied or moved More...
 
 clipboardObject ()
 
 isActiveAdministrationPanel ()
 
 setColumnSettings (ilColumnGUI $column_gui)
 
 allowBlocksMoving ()
 Standard is to allow blocks moving. More...
 
 allowBlocksConfigure ()
 Standard is to allow blocks configuration. More...
 
 cloneAllObject ()
 Clone all object Overwritten method for copying container objects. More...
 
 saveSortingObject ()
 
 cloneNodes (int $srcRef, int $dstRef, array &$mapping, ?string $newName=null)
 Recursively clones all nodes of the RBAC tree. More...
 
 modifyItemGUI (ilObjectListGUI $a_item_list_gui, array $a_item_data)
 
 editStylePropertiesObject ()
 
 redrawListItemObject ()
 Redraw a list item (ajax) More...
 
 trashObject ()
 Show trash content of object. More...
 
 trashApplyFilterObject ()
 
 trashResetFilterObject ()
 
 undelete (array $trash_ids)
 
 restoreToNewLocation (array $trash_ids)
 
 confirmRemoveFromSystem (array $trash_ids)
 
 removeFromSystemObject (?int $trash_id=null)
 
 restoreToNewLocationObject (?int $trash_id=null)
 
 undeleteObject (?int $trash_id=null)
 Get objects back from trash. More...
 
 confirmRemoveFromSystemObject (?int $trash_id=null)
 
 setSideColumnReturn ()
 
 getAdminTabs ()
 administration tabs show only permissions and trash folder More...
 
 competencesObject ()
 
- Public Member Functions inherited from ilObjectGUI
 getRefId ()
 
 setAdminMode (string $mode)
 
 getAdminMode ()
 
 getObject ()
 
 executeCommand ()
 
 withReferences ()
 determines whether objects are referenced or not (got ref ids or not) More...
 
 setCreationMode (bool $mode=true)
 If true, a creation screen is displayed the current [ref_id] does belong to the parent class The mode is determined in ilRepositoryGUI. More...
 
 getCreationMode ()
 
 prepareOutput (bool $show_sub_objects=true)
 
 getAdminTabs ()
 administration tabs show only permissions and trash folder More...
 
 getHTML ()
 
 confirmedDeleteObject ()
 confirmed deletion of object -> objects are moved to trash or deleted immediately, if trash is disabled More...
 
 cancelObject ()
 cancel action and go back to previous page More...
 
 createObject ()
 create new object form More...
 
 editAvailabilityPeriodObject ()
 
 saveAvailabilityPeriodObject ()
 
 cancelCreation ()
 cancel create action and go back to repository parent More...
 
 saveObject ()
 
 getDidacticTemplateVar (string $type)
 Get didactic template setting from creation screen. More...
 
 putObjectInTree (ilObject $obj, ?int $parent_node_id=null)
 Add object to tree at given position. More...
 
 editObject ()
 
 addExternalEditFormCustom (ilPropertyFormGUI $form)
 
 updateObject ()
 updates object entry in object_data More...
 
 getFormAction (string $cmd, string $default_form_action="")
 Get form action for command (command is method name without "Object", e.g. More...
 
 isVisible (int $ref_id, string $type)
 
 viewObject ()
 viewObject container presentation for "administration -> repository, trash, permissions" More...
 
 deleteObject (bool $error=false)
 Display deletion confirmation screen. More...
 
 setColumnSettings (ilColumnGUI $column_gui)
 
 addToDeskObject ()
 
 removeFromDeskObject ()
 
- Public Member Functions inherited from ILIAS\Object\ImplementsCreationCallback
 callCreationCallback (\ilObject $object, \ilObjectDefinition $obj_definition, int $requested_crtcb)
 
- Public Member Functions inherited from ilDesktopItemHandling
 addToDeskObject ()
 
 removeFromDeskObject ()
 
 getProperties (int $tax_id)
 
 getActions (int $tax_id)
 

Static Public Member Functions

static _getImportDir ()
 
static _goto (string $a_target)
 
- Static Public Member Functions inherited from ilContainerGUI
static _buildPath (int $a_ref_id, int $a_course_ref_id)
 build path More...
 
- Static Public Member Functions inherited from ilObjectGUI
static _gotoRepositoryRoot (bool $raise_error=false)
 Goto repository root. More...
 
static _gotoRepositoryNode (int $ref_id, string $cmd="")
 
static _gotoSharedWorkspaceNode (int $wsp_id)
 

Data Fields

const CONTAINER_SETTING_TAXBLOCK = "tax_sblock_"
 
- Data Fields inherited from ilContainerGUI
int $bl_cnt = 1
 
bool $multi_download_enabled = false
 
- Data Fields inherited from ilObjectGUI
const ADMIN_MODE_NONE = ""
 
const ADMIN_MODE_SETTINGS = "settings"
 
const ADMIN_MODE_REPOSITORY = "repository"
 
const UPLOAD_TYPE_LOCAL = 1
 
const UPLOAD_TYPE_UPLOAD_DIRECTORY = 2
 
const CFORM_NEW = 1
 
const CFORM_IMPORT = 2
 
const CFORM_CLONE = 3
 
const SUPPORTED_IMPORT_MIME_TYPES = [MimeType::APPLICATION__ZIP, MimeType::APPLICATION__X_ZIP_COMPRESSED]
 

Protected Member Functions

 showTaxAsSideBlockObject ()
 
 hideTaxAsSideBlockObject ()
 
 getTabs ()
 @abstract overwrite in derived GUI class of your object type More...
 
 afterSave (ilObject $new_object)
 Post (successful) object creation hook. More...
 
 editInfoObject ()
 
 updateInfoObject ()
 
 initExtendedSettings ()
 
 setEditTabs ($active_tab="settings_misc")
 
 initEditForm ()
 
 getEditFormValues ()
 
 resetFilterObject ()
 import categories (static, also called by RootFolderGUI) More...
 
 applyFilterObject ()
 Apply filter. More...
 
 addUserAutoCompleteObject ()
 Show auto complete results. More...
 
 initTaxSubTabs ($a_active="tax_list")
 
 getTaxonomiesForRefId ()
 
 getActiveBlocks ()
 
- Protected Member Functions inherited from ilContainerGUI
 getModeManager ()
 
 getItemPresentation ( $include_empty_blocks=true, ?string $lang=null)
 
 checkTrashAccess ()
 
 getEditFormValues ()
 
 afterUpdate ()
 Post (successful) object update hook. More...
 
 getDidacticTemplateIdFromQuery ()
 
 setTitleAndDescription ()
 
 showPossibleSubObjects ()
 show possible sub objects (pull down menu) More...
 
 supportsPageEditor ()
 
 gotItems ()
 
 getTabs ()
 @abstract overwrite in derived GUI class of your object type More...
 
 showContainerPageTabs ()
 
 initFormPasswordInstruction ()
 Init password form. More...
 
 savePasswordObject ()
 
 getListPresentationForRedraw (int $parent_ref_id)
 
 initEditForm ()
 
 initSortingForm (ilPropertyFormGUI $form, array $a_sorting_settings)
 Append sorting settings to property form. More...
 
 buildLabelForSortMode (int $sort_mode)
 
 initListPresentationForm (ilPropertyFormGUI $form)
 Add list presentation settings to form. More...
 
 saveListPresentation (ilPropertyFormGUI $form)
 
 initSortingDirectionForm (ilContainerSortingSettings $sorting_settings, ilRadioOption $element, string $a_prefix)
 Add sorting direction. More...
 
 initManualSortingOptionForm (ilContainerSortingSettings $settings, ilRadioOption $element, string $a_prefix, array $a_sorting_settings)
 Add manual sorting options. More...
 
 saveSortingSettings (ilPropertyFormGUI $form)
 
 trashHandleFilter (bool $action_apply, bool $action_reset)
 
 getTreeSelectorGUI (string $cmd)
 
 initFilter ()
 
 showContainerFilter ()
 
- Protected Member Functions inherited from ilObjectGUI
 getObjectService ()
 
 assignObject ()
 
 setTitleAndDescription ()
 
 createActionDispatcherGUI ()
 
 initHeaderAction (?string $sub_type=null, ?int $sub_id=null)
 Add header action menu. More...
 
 insertHeaderAction (?ilObjectListGUI $list_gui=null)
 Insert header action into main template. More...
 
 addHeaderAction ()
 Add header action menu. More...
 
 redrawHeaderActionObject ()
 Ajax call: redraw action header only. More...
 
 setTabs ()
 set admin tabs More...
 
 setAdminTabs ()
 set admin tabs More...
 
 setLocator ()
 
 addLocatorItems ()
 should be overwritten to add object specific items (repository items are preloaded) More...
 
 omitLocator (bool $omit=true)
 
 addAdminLocatorItems (bool $do_not_add_object=false)
 should be overwritten to add object specific items (repository items are preloaded) More...
 
 getCreationFormsHTML (StandardForm|ilPropertyFormGUI|array $form)
 
 getTitleForCreationFormPage ()
 
 getCreationFormTitle ()
 
 initCreateForm (string $new_type)
 
 didacticTemplatesToForm ()
 
 initDidacticTemplate (ilPropertyFormGUI $form)
 
 retrieveAdditionalDidacticTemplateOptions ()
 
 addAdoptContentLinkToToolbar ()
 
 addImportButtonToToolbar ()
 
 addAvailabilityPeriodButtonToToolbar (ilToolbarGUI $toolbar)
 
 parseDidacticTemplateVar (string $var, string $type)
 
 afterSave (ilObject $new_object)
 Post (successful) object creation hook. More...
 
 initEditForm ()
 
 initEditCustomForm (ilPropertyFormGUI $a_form)
 Add custom fields to update form. More...
 
 getEditFormValues ()
 
 getEditFormCustomValues (array &$a_values)
 Add values to custom edit fields. More...
 
 validateCustom (ilPropertyFormGUI $form)
 Validate custom values (if not possible with checkInput()) More...
 
 updateCustom (ilPropertyFormGUI $form)
 Insert custom update form values into object. More...
 
 afterUpdate ()
 Post (successful) object update hook. More...
 
 routeImportCmdObject ()
 
 importFile (string $file_to_import, string $path_to_uploaded_file_in_temp_dir)
 
 deleteUploadedImportFile (string $path_to_uploaded_file_in_temp_dir)
 
 afterImport (ilObject $new_object)
 Post (successful) object import hook. More...
 
 setFormAction (string $cmd, string $form_action)
 
 getReturnLocation (string $cmd, string $default_location="")
 Get return location for command (command is method name without "Object", e.g. More...
 
 setReturnLocation (string $cmd, string $location)
 set specific return location for command More...
 
 getTargetFrame (string $cmd, string $default_target_frame="")
 get target frame for command (command is method name without "Object", e.g. More...
 
 setTargetFrame (string $cmd, string $target_frame)
 Set specific target frame for command. More...
 
 showPossibleSubObjects ()
 show possible sub objects (pull down menu) More...
 
 getTabs ()
 @abstract overwrite in derived GUI class of your object type More...
 
 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 save/import method where the object gui type (of the new object) doesn't match with the type of the current ["ref_id"] value of the request More...
 
 getCenterColumnHTML ()
 Get center column. More...
 
 getRightColumnHTML ()
 Display right column. More...
 
 checkPermission (string $perm, string $cmd="", string $type="", ?int $ref_id=null)
 
 checkPermissionBool (string $perm, string $cmd="", string $type="", ?int $ref_id=null)
 
 enableDragDropFileUpload ()
 Enables the file upload into this object by dropping files. More...
 
 getCreatableObjectTypes ()
 
 buildAddNewItemElements (array $subtypes, string $create_target_class=ilRepositoryGUI::class, ?int $redirect_target_ref_id=null,)
 
 buildGroup (string $create_target_class, array $obj_types_in_group, string $title, array $subtypes)
 

Protected Attributes

ILIAS Category InternalDomainService $cat_domain
 
ILIAS Category InternalGUIService $cat_gui
 
ILIAS Category Permission CategoryCmdPermission $cmd_perm
 
ILIAS Taxonomy Service $taxonomy
 
ilNavigationHistory $nav_history
 
ilHelpGUI $help
 
bool $info_screen_enabled = false
 
ilObjectGUI $gui_obj
 
bool $creation_mode
 
ilAdvancedMDRecordGUI $record_gui
 
StandardGUIRequest $cat_request
 
- Protected Attributes inherited from ilContainerGUI
ILIAS Container InternalGUIService $gui
 
ILIAS Style Content GUIService $content_style_gui
 
ilRbacSystem $rbacsystem
 
ilRbacReview $rbacreview
 
ILIAS Container Content ItemPresentationManager $item_presentation = null
 
ILIAS Container InternalDomainService $domain
 
ilTabsGUI $tabs
 
ilErrorHandling $error
 
ilObjectDefinition $obj_definition
 
ilRbacAdmin $rbacadmin
 
ilPropertyFormGUI $form
 
ilLogger $log
 
ilObjectDataCache $obj_data_cache
 
Services $global_screen
 
ilAppEventHandler $app_event_handler
 
UIServices $ui
 
ilContainerFilterService $container_filter_service
 
ilContainerUserFilter $container_user_filter = null
 
Standard $ui_filter = null
 
bool $edit_order = false
 
bool $adminCommands = false
 
string $requested_redirectSource = ""
 
int $current_position = 0
 
ClipboardManager $clipboard
 
StandardGUIRequest $std_request
 
ModeManager $mode_manager = null
 
ilComponentFactory $component_factory
 
ILIAS Style Content DomainService $content_style_domain
 
ILIAS Repository InternalGUIService $repository_gui
 
- Protected Attributes inherited from ilObjectGUI
ILIAS Notes Service $notes_service
 
GlobalHttpState $http
 
ServerRequestInterface $request
 
ilLocatorGUI $locator
 
ilObjUser $user
 
ilAccessHandler $access
 
ilSetting $settings
 
ilToolbarGUI $toolbar
 
ilRbacAdmin $rbac_admin
 
ilRbacSystem $rbac_system
 
ilRbacReview $rbac_review
 
ilObjectService $object_service
 
ilObjectDefinition $obj_definition
 
ilGlobalTemplateInterface $tpl
 
ilTree $tree
 
ilCtrl $ctrl
 
ilErrorHandling $error
 
ilLanguage $lng
 
ilTabsGUI $tabs_gui
 
ILIAS $ilias
 
ArrayBasedRequestWrapper $post_wrapper
 
RequestWrapper $request_wrapper
 
Refinery $refinery
 
ilFavouritesManager $favourites
 
CustomIconFactory $custom_icon_factory
 
UIFactory $ui_factory
 
UIRenderer $ui_renderer
 
Filesystem $temp_file_system
 
ilObject $object = null
 
bool $creation_mode = false
 
 $data
 
int $id
 
bool $call_by_reference = false
 
bool $prepare_output
 
int $ref_id
 
int $obj_id
 
int $maxcount
 
array $form_action = []
 
array $return_location = []
 
array $target_frame = []
 
string $tmp_import_dir
 
string $sub_objects = ""
 
bool $omit_locator = false
 
string $type = ""
 
string $admin_mode = self::ADMIN_MODE_NONE
 
int $requested_ref_id = 0
 
int $requested_crtptrefid = 0
 
int $requested_crtcb = 0
 
string $requested_new_type = ""
 
string $link_params
 
string $html = ""
 

Detailed Description

Constructor & Destructor Documentation

◆ __construct()

ilObjCategoryGUI::__construct (   $a_data,
int  $a_id,
bool  $a_call_by_reference = true,
bool  $a_prepare_output = true 
)

Definition at line 54 of file class.ilObjCategoryGUI.php.

59 {
60 global $DIC;
61
62 $this->rbacsystem = $DIC->rbac()->system();
63 $this->nav_history = $DIC["ilNavigationHistory"];
64 $this->access = $DIC->access();
65 $this->ctrl = $DIC->ctrl();
66 $this->tabs = $DIC->tabs();
67 $this->help = $DIC["ilHelp"];
68 $this->lng = $DIC->language();
69 $this->user = $DIC->user();
70 $this->tree = $DIC->repositoryTree();
71 $this->error = $DIC["ilErr"];
72 $this->settings = $DIC->settings();
73 $this->tpl = $DIC["tpl"];
74 $this->toolbar = $DIC->toolbar();
75 $this->rbacreview = $DIC->rbac()->review();
76 $this->rbacadmin = $DIC->rbac()->admin();
77
78 $this->lng->loadLanguageModule('cat');
79 $this->lng->loadLanguageModule('obj');
80
81 $this->type = "cat";
82 parent::__construct($a_data, $a_id, $a_call_by_reference, false);
83
84 if (is_object($this->object)) {
85 $this->info_screen_enabled = (bool) ilContainer::_lookupContainerSetting(
86 $this->object->getId(),
88 '1'
89 );
90
91 }
92 $this->cat_request = $DIC
93 ->category()
94 ->internal()
95 ->gui()
96 ->standardRequest();
97 $this->taxonomy = $DIC->taxonomy();
98 $this->cat_gui = $DIC->category()->internal()->gui();
99 $this->cat_domain = $DIC->category()->internal()->domain();
100 $this->cmd_perm = $DIC->category()->internal()->gui()->cmdPerm();
101 }
static _lookupContainerSetting(int $a_id, string $a_keyword, ?string $a_default_value=null)
__construct(Container $dic, ilPlugin $plugin)
@inheritDoc
global $DIC
Definition: shib_login.php:26

References $DIC, ILIAS\GlobalScreen\Provider\__construct(), ilContainer\_lookupContainerSetting(), ILIAS\Repository\access(), ILIAS\Repository\ctrl(), ILIAS\Repository\help(), ilObjectServiceSettingsGUI\INFO_TAB_VISIBILITY, ILIAS\Repository\lng(), ILIAS\Repository\object(), ILIAS\Repository\settings(), ILIAS\Repository\tabs(), ILIAS\Repository\toolbar(), and ILIAS\Repository\user().

+ Here is the call graph for this function:

Member Function Documentation

◆ _getImportDir()

static ilObjCategoryGUI::_getImportDir ( )
static

Definition at line 964 of file class.ilObjCategoryGUI.php.

964 : string
965 {
966 return ilFileUtils::getDataDir() . "/cat_import";
967 }
static getDataDir()
get data directory (outside webspace)

References ilFileUtils\getDataDir().

+ Here is the call graph for this function:

◆ _goto()

static ilObjCategoryGUI::_goto ( string  $a_target)
static

Definition at line 1178 of file class.ilObjCategoryGUI.php.

1178 : void
1179 {
1180 global $DIC;
1181 $main_tpl = $DIC->ui()->mainTemplate();
1182
1183 $ilAccess = $DIC->access();
1184 $ilErr = $DIC["ilErr"];
1185 $lng = $DIC->language();
1186 if ($ilAccess->checkAccess("read", "", (int) $a_target)) {
1187 ilObjectGUI::_gotoRepositoryNode((int) $a_target);
1188 } elseif ($ilAccess->checkAccess("visible", "", (int) $a_target)) {
1189 ilObjectGUI::_gotoRepositoryNode((int) $a_target, "infoScreen");
1190 } elseif ($ilAccess->checkAccess("read", "", ROOT_FOLDER_ID)) {
1191 $main_tpl->setOnScreenMessage('failure', sprintf(
1192 $lng->txt("msg_no_perm_read_item"),
1194 ), true);
1196 }
1197
1198 $ilErr->raiseError($lng->txt("msg_no_perm_read"), $ilErr->FATAL);
1199 }
txt(string|LanguageIdentifier $a_topic, ?int $n=null)
gets the text for a given topic if the topic is not in the list, the topic itself with "-" will be re...
static _gotoRepositoryRoot(bool $raise_error=false)
Goto repository root.
static _gotoRepositoryNode(int $ref_id, string $cmd="")
ilLanguage $lng
static _lookupObjId(int $ref_id)
static _lookupTitle(int $obj_id)
const ROOT_FOLDER_ID
Definition: constants.php:32

References $DIC, $lng, ilObjectGUI\_gotoRepositoryNode(), ilObjectGUI\_gotoRepositoryRoot(), ilObject\_lookupObjId(), ilObject\_lookupTitle(), and ROOT_FOLDER_ID.

Referenced by ilObjCategoryReferenceGUI\_goto().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ addUserAutoCompleteObject()

ilObjCategoryGUI::addUserAutoCompleteObject ( )
protected

Show auto complete results.

Definition at line 1059 of file class.ilObjCategoryGUI.php.

1059 : void
1060 {
1061 $auto = new ilUserAutoComplete();
1062 $auto->setSearchFields(['login', 'firstname', 'lastname', 'email']);
1063 $auto->enableFieldSearchableCheck(true);
1064 //$auto->isMoreLinkAvailable(true);
1065
1066 if (($this->cat_request->getFetchAll())) {
1067 $auto->setLimit(ilUserAutoComplete::MAX_ENTRIES);
1068 }
1069
1070 echo $auto->getList($this->cat_request->getTerm());
1071 exit();
1072 }
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
exit
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...

References exit, and ilUserAutoComplete\MAX_ENTRIES.

◆ afterSave()

ilObjCategoryGUI::afterSave ( ilObject  $new_object)
protected

Post (successful) object creation hook.

Reimplemented from ilObjectGUI.

Definition at line 615 of file class.ilObjCategoryGUI.php.

615 : void
616 {
618
619 // default: sort by title
620 $settings = new ilContainerSortingSettings($new_object->getId());
622 $settings->save();
623
624 // inherit parents content style, if not individual
625 $this->content_style_domain
626 ->styleForRefId($new_object->getRefId())
627 ->inheritFromParent();
628
629 // always send a message
630 $this->tpl->setOnScreenMessage('success', $this->lng->txt("cat_added"), true);
631 $this->ctrl->setParameter($this, "ref_id", $new_object->getRefId());
632 $this->redirectToRefId($new_object->getRefId(), "");
633 }
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
ilSetting $settings
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...

References $settings, ILIAS\Repository\ctrl(), ilObject\getId(), ilObject\getRefId(), ILIAS\Repository\lng(), and ilContainer\SORT_TITLE.

+ Here is the call graph for this function:

◆ applyFilterObject()

ilObjCategoryGUI::applyFilterObject ( )
protected

Apply filter.

Returns

Definition at line 991 of file class.ilObjCategoryGUI.php.

991 : void
992 {
993 $ilTabs = $this->tabs;
994
995 $utab = new ilUserTableGUI($this, "listUsers", ilUserTableGUI::MODE_LOCAL_USER);
996 $utab->resetOffset();
997 $utab->writeFilterToSession();
998 $this->listUsersObject();
999 }
listUsersObject(bool $show_delete=false)
TableGUI class for user administration.

References ilUserTableGUI\MODE_LOCAL_USER.

◆ assignRolesObject()

ilObjCategoryGUI::assignRolesObject ( )

Definition at line 1118 of file class.ilObjCategoryGUI.php.

1118 : void
1119 {
1120 $this->ctrl->saveParameterByClass(self::class, "obj_id");
1121 $ilTabs = $this->tabs;
1122
1123 $this->checkPermission("cat_administrate_users");
1124
1125 if ($this->cat_request->getObjId() === 0) {
1126 $this->tpl->setOnScreenMessage('failure', 'no_user_selected');
1127 $this->listUsersObject();
1128 return;
1129 }
1130
1131 $ilTabs->clearTargets();
1132 $ilTabs->setBackTarget($this->lng->txt('backto_lua'), $this->ctrl->getLinkTarget($this, 'listUsers'));
1133 $ilHelp = $this->help;
1134 $ilHelp->setScreenIdComponent("cat");
1135 $ilHelp->setScreenId("administrate_user");
1136 $ilHelp->setSubScreenId("assign_roles");
1137
1138 $table = $this->cat_gui->assignedRoleTableBuilder(
1139 $this->ref_id,
1140 $this->cat_request->getObjId(),
1141 $this->user->getId(),
1142 $this,
1143 "assignRoles"
1144 )->getTable();
1145 if ($table->handleCommand()) {
1146 return;
1147 }
1148 $this->tpl->setContent($table->render());
1149 }
setScreenIdComponent(string $a_comp)
checkPermission(string $perm, string $cmd="", string $type="", ?int $ref_id=null)

References ILIAS\Repository\ctrl(), and ILIAS\Repository\lng().

+ Here is the call graph for this function:

◆ assignSave()

ilObjCategoryGUI::assignSave ( array  $ids)

Definition at line 1151 of file class.ilObjCategoryGUI.php.

1151 : void
1152 {
1153 $this->ctrl->saveParameterByClass(self::class, "obj_id");
1154 $this->checkPermission("cat_administrate_users");
1155 $lng = $this->domain->lng();
1156
1157 // check hack
1158 if ($this->cat_request->getObjId() === 0 ||
1159 !in_array($this->cat_request->getObjId(), ilLocalUser::_getAllUserIds(), true)) {
1160 $this->tpl->setOnScreenMessage('failure', 'no_user_selected');
1161 $this->listUsersObject();
1162 return;
1163 }
1164 try {
1165 $this->cat_domain->assignedRolesManager(
1166 $this->ref_id,
1167 $this->cat_request->getObjId(),
1168 $this->user->getId()
1169 )->switchAssignment($ids);
1170 $this->tpl->setOnScreenMessage('success', $lng->txt("msg_obj_modified"), true);
1171 } catch (Exception $e) {
1172 $this->tpl->setOnScreenMessage('failure', $e->getMessage(), true);
1173 }
1174 $this->ctrl->redirectByClass(self::class, "assignRoles");
1175 }
static _getAllUserIds(int $a_filter=0)

References Vendor\Package\$e, $lng, ilLocalUser\_getAllUserIds(), and ILIAS\Repository\ctrl().

+ Here is the call graph for this function:

◆ deleteUsersObject()

ilObjCategoryGUI::deleteUsersObject ( )

Definition at line 1091 of file class.ilObjCategoryGUI.php.

1091 : void
1092 {
1093 $this->checkPermission("cat_administrate_users");
1094 if ($this->cat_request->getIds() === []) {
1095 $this->tpl->setOnScreenMessage('failure', $this->lng->txt('no_users_selected'));
1096 $this->listUsersObject();
1097 return;
1098 }
1099
1100 $confirm = new ilConfirmationGUI();
1101 $confirm->setFormAction($this->ctrl->getFormAction($this));
1102 $confirm->setHeaderText($this->lng->txt('sure_delete_selected_users'));
1103 $confirm->setConfirm($this->lng->txt('delete'), 'performDeleteUsers');
1104 $confirm->setCancel($this->lng->txt('cancel'), 'listUsers');
1105
1106 foreach ($this->cat_request->getIds() as $user) {
1108
1109 $confirm->addItem(
1110 'user_ids[]',
1111 (string) $user,
1112 $name['lastname'] . ', ' . $name['firstname'] . ' [' . $name['login'] . ']'
1113 );
1114 }
1115 $this->tpl->setContent($confirm->getHTML());
1116 }
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
static _lookupName(int $a_user_id)

References ilObjUser\_lookupName(), ILIAS\Repository\ctrl(), and ILIAS\Repository\lng().

+ Here is the call graph for this function:

◆ editInfoObject()

ilObjCategoryGUI::editInfoObject ( )
protected

Definition at line 702 of file class.ilObjCategoryGUI.php.

702 : void
703 {
704 $this->checkPermission("write");
705 $this->setEditTabs();
706 $this->tabs_gui->activateTab('settings');
707 $this->tabs_gui->setSubTabActive('edit_cat_settings');
708
709 $this->initExtendedSettings();
710 $this->tpl->setContent($this->form->getHTML());
711 }
setEditTabs($active_tab="settings_misc")
form(?array $class_path, string $cmd, string $submit_caption="")

References ILIAS\Repository\form().

+ Here is the call graph for this function:

◆ executeCommand()

ilObjCategoryGUI::executeCommand ( )

Reimplemented from ilContainerGUI.

Definition at line 103 of file class.ilObjCategoryGUI.php.

103 : void
104 {
105 $ilNavigationHistory = $this->nav_history;
106 $ilAccess = $this->access;
107 $ilCtrl = $this->ctrl;
108 $ilTabs = $this->tabs;
109
110 $next_class = $this->ctrl->getNextClass($this);
111 $cmd = $this->ctrl->getCmd();
112
113 $header_action = true;
114 switch ($next_class) {
115 case strtolower(ilRepositoryTrashGUI::class):
116 $ru = new ilRepositoryTrashGUI($this);
117 $this->ctrl->setReturn($this, 'trash');
118 $this->cmd_perm->forwardPermitted($this, $ru);
119 break;
120
121 case "ilobjusergui":
122 $this->tabs_gui->setTabActive('administrate_users');
123 if ($this->cat_request->getObjId() === 0) {
124 $this->gui_obj = new ilObjUserGUI(
125 "",
126 $this->cat_request->getRefId(),
127 true,
128 false
129 );
130 } else {
131 $this->gui_obj = new ilObjUserGUI(
132 "",
133 $this->cat_request->getObjId(),
134 false,
135 false
136 );
137 }
138 $this->gui_obj->setCreationMode($this->creation_mode);
139 $this->cmd_perm->forwardPermitted($this, $this->gui_obj);
140
141 $ilTabs->clearTargets();
142 $ilTabs->setBackTarget($this->lng->txt('backto_lua'), $this->ctrl->getLinkTarget($this, 'listUsers'));
143 $ilHelp = $this->help;
144 $ilHelp->setScreenIdComponent("cat");
145 $ilHelp->setScreenId("administrate_user");
146 $ilHelp->setSubScreenId($ilCtrl->getCmd());
147 break;
148
149 case "ilobjuserfoldergui":
150 $this->gui_obj = new ilObjUserFolderGUI(
151 "",
152 $this->cat_request->getRefId(),
153 true
154 );
155 $this->gui_obj->setUserOwnerId($this->cat_request->getRefId());
156 $this->gui_obj->setCreationMode($this->creation_mode);
157 $this->cmd_perm->forwardPermitted($this, $this->gui_obj);
158
159 $ilTabs->clearTargets();
160 $ilTabs->setBackTarget($this->lng->txt('backto_lua'), $this->ctrl->getLinkTarget($this, 'listUsers'));
161 $ilHelp = $this->help;
162 $ilHelp->setScreenIdComponent("cat");
163 $ilHelp->setScreenId("administrate_user");
164 $ilHelp->setSubScreenId($ilCtrl->getCmd());
165 break;
166
167 case "ilcolumngui":
168 $this->checkPermission("read");
169 $this->prepareOutput();
170 $this->content_style_gui->addCss(
171 $this->tpl,
172 $this->object->getRefId()
173 );
174 $this->renderObject();
175 break;
176
177 case 'ilpermissiongui':
178 $this->prepareOutput();
179 $this->tabs_gui->setTabActive('perm_settings');
180 $perm_gui = new ilPermissionGUI($this);
181 $this->cmd_perm->forwardPermitted($this, $perm_gui);
182 break;
183
184 case 'ilinfoscreengui':
185 $this->checkPermission("visible");
186 if ($this->info_screen_enabled) {
187 $this->prepareOutput();
188 $this->infoScreen();
189 }
190 break;
191
192 // container page editing
193 case "ilcontainerpagegui":
194 $this->prepareOutput(false);
195 $ret = $this->forwardToPageObject();
196 if ($ret !== "") {
197 $this->tpl->setContent($ret);
198 }
199 $header_action = false;
200 break;
201
202 case 'ilobjectcopygui':
203 $this->prepareOutput();
204
205 $cp = new ilObjectCopyGUI($this);
206 $cp->setType('cat');
207 $this->cmd_perm->forwardPermitted($this, $cp);
208 break;
209
210 case "ilobjectcontentstylesettingsgui":
211 $this->setTitleAndDescription();
212 $this->showContainerPageTabs();
213 $settings_gui = $this->content_style_gui
214 ->objectSettingsGUIForRefId(
215 null,
216 $this->object->getRefId()
217 );
218 $this->cmd_perm->forwardPermitted($this, $settings_gui);
219 break;
220
221 case 'ilusertablegui':
222 $u_table = new ilUserTableGUI($this, "listUsers");
223 $u_table->initFilter();
224 $this->ctrl->setReturn($this, 'listUsers');
225 $this->cmd_perm->forwardPermitted($this, $u_table);
226 break;
227
228 case "ilcommonactiondispatchergui":
229 $this->prepareOutput();
231 $this->cmd_perm->forwardPermitted($this, $gui);
232 break;
233
234 case 'ildidactictemplategui':
235 $this->ctrl->setReturn($this, 'edit');
236 $did = new ilDidacticTemplateGUI($this, $this->getDidacticTemplateIdFromQuery());
237 $this->cmd_perm->forwardPermitted($this, $did);
238 break;
239
240 case 'ilexportgui':
241 $this->prepareOutput();
242 $this->tabs_gui->setTabActive('export');
243 $exp = new ilExportGUI($this);
244 $exp->addFormat('xml');
245 $this->cmd_perm->forwardPermitted($this, $exp);
246 break;
247
248 case strtolower(TranslationGUI::class):
249 $this->checkPermissionBool("write");
250 $this->prepareOutput();
251 //$this->tabs_gui->setTabActive('export');
252 $this->setEditTabs("settings_trans");
253 $transgui = new TranslationGUI(
254 $this->getObject(),
255 $this->lng,
256 $this->access,
257 $this->user,
258 $this->ctrl,
259 $this->tpl,
260 $this->ui_factory,
261 $this->ui_renderer,
262 $this->http,
263 $this->refinery,
264 $this->toolbar
265 );
266 $this->cmd_perm->forwardPermitted($this, $transgui);
267 break;
268
269 case strtolower(ilTaxonomySettingsGUI::class):
270 $this->checkPermission("write");
271 $this->prepareOutput();
272 $this->setEditTabs("taxonomy");
273 $tax_gui = $this->taxonomy->gui()->getSettingsGUI(
274 $this->object->getId(),
275 $this->lng->txt("cntr_tax_settings_info"),
276 true,
277 $this
278 );
279 $this->cmd_perm->forwardPermitted($this, $tax_gui);
280 break;
281
282 case 'ilobjectmetadatagui':
283 $this->prepareOutput();
284 $this->tabs_gui->activateTab('meta_data');
285 $this->cmd_perm->forwardPermitted($this, $this->getObjectMetadataGUI());
286 break;
287
288 case "ilcontainernewssettingsgui":
289 $this->prepareOutput();
290 $this->tabs_gui->setTabActive('settings');
291 $this->setEditTabs();
292 $this->tabs_gui->activateSubTab('obj_news_settings');
293 $news_set_gui = new ilContainerNewsSettingsGUI($this);
294 $news_set_gui->setHideByDate(true);
295 $this->cmd_perm->forwardPermitted($this, $news_set_gui);
296 break;
297
298 case 'ilcontainerfilteradmingui':
299 $this->prepareOutput();
300 $this->setEditTabs($active_tab = "settings_filter");
301 $this->tabs_gui->activateTab('settings');
302 $this->cmd_perm->forwardPermitted($this, new ilContainerFilterAdminGUI($this));
303 break;
304
305 default:
306 if ($cmd === "infoScreen") {
307 $this->checkPermission("visible");
308 } else {
309 $this->checkPermission("read");
310 }
311
312 // add entry to navigation history
313 if (!$this->getCreationMode() &&
314 $ilAccess->checkAccess("read", "", $this->cat_request->getRefId())) {
315 $ilNavigationHistory->addItem(
316 $this->cat_request->getRefId(),
317 ilLink::_getLink($this->cat_request->getRefId(), "cat"),
318 "cat"
319 );
320 }
321
322 $this->prepareOutput();
323 if (is_object($this->object)) {
324 $this->content_style_gui->addCss(
325 $this->tpl,
326 $this->object->getRefId()
327 );
328 }
329
330 if (!$cmd) {
331 $cmd = "render";
332 }
333 $cmd .= "Object";
334 $this->tabs_gui->activateTab("view_content"); // see #19868
335
336 if ($this->cmd_perm->classImplementsMethodDirectly(get_class($this), $cmd)) {
337 $cmd = $this->cmd_perm->getPermittedCommand();
338 if ($cmd === "") {
339 $this->tpl->setOnScreenMessage('failure', $this->lng->txt('permission_denied'), true);
341 }
342 $cmd .= "Object";
343 }
344 $this->$cmd();
345
346 break;
347 }
348
349 if ($header_action) {
350 $this->addHeaderAction();
351 }
352 }
static getInstanceFromAjaxCall()
(Re-)Build instance from ajax call
Filter administration for containers.
ILIAS Container InternalGUIService $gui
GUI class for didactic template settings inside repository objects.
Export User Interface Class.
infoScreen()
show information screen
renderObject()
Render category.
ilNavigationHistory $nav_history
Class ilObjUserGUI.
GUI class for the workflow of copying objects.
ilAccessHandler $access
checkPermissionBool(string $perm, string $cmd="", string $type="", ?int $ref_id=null)
addHeaderAction()
Add header action menu.
prepareOutput(bool $show_sub_objects=true)
Repository GUI Utilities.
static http()
Fetches the global http state from ILIAS.

References ilObjectGUI\$access, ilObjectGUI\$ctrl, ilContainerGUI\$gui, $help, $nav_history, ilContainerGUI\$tabs, ilObjectGUI\_gotoRepositoryRoot(), ILIAS\Repository\access(), ilObjectGUI\addHeaderAction(), ilObjectGUI\checkPermission(), ilObjectGUI\checkPermissionBool(), ILIAS\Repository\ctrl(), ilContainerGUI\forwardToPageObject(), ilObjectGUI\getCreationMode(), ilContainerGUI\getDidacticTemplateIdFromQuery(), ilCommonActionDispatcherGUI\getInstanceFromAjaxCall(), ilObjectGUI\getObject(), getObjectMetadataGUI(), ILIAS\FileDelivery\http(), infoScreen(), ILIAS\Repository\lng(), ILIAS\Repository\object(), ilObjectGUI\prepareOutput(), ILIAS\Repository\refinery(), renderObject(), setEditTabs(), ilHelpGUI\setScreenIdComponent(), ilContainerGUI\setTitleAndDescription(), ilContainerGUI\showContainerPageTabs(), ILIAS\Repository\toolbar(), and ILIAS\Repository\user().

+ Here is the call graph for this function:

◆ getActions()

ilObjCategoryGUI::getActions ( int  $tax_id)

Implements ILIAS\Taxonomy\Settings\ModifierGUIInterface.

Definition at line 465 of file class.ilObjCategoryGUI.php.

467 : array {
468 $actions = [];
469 $this->ctrl->setParameterByClass(self::class, "cat_tax_id", $tax_id);
470 $active = in_array($tax_id, $this->getActiveBlocks());
471 if (!$active) {
472 $actions[] = $this->ui->factory()->button()->shy(
473 $this->lng->txt("cat_show_tax_in_side_block"),
474 $this->ctrl->getLinkTargetByClass(
475 self::class,
476 "showTaxAsSideBlock"
477 )
478 );
479 } else {
480 $actions[] = $this->ui->factory()->button()->shy(
481 $this->lng->txt("cat_hide_tax_in_side_block"),
482 $this->ctrl->getLinkTargetByClass(
483 self::class,
484 "hideTaxAsSideBlock"
485 )
486 );
487 }
488 $this->ctrl->setParameterByClass(self::class, "cat_tax_id", null);
489
490 return $actions;
491 }

◆ getActiveBlocks()

ilObjCategoryGUI::getActiveBlocks ( )
protected

Definition at line 1248 of file class.ilObjCategoryGUI.php.

1248 : array
1249 {
1250 $res = [];
1251
1253
1254 foreach (ilContainer::_getContainerSettings($this->object->getId()) as $keyword => $value) {
1255 if ($value && strpos($keyword, $prefix) === 0) {
1256 $res[] = substr($keyword, strlen($prefix));
1257 }
1258 }
1259
1260 return $res;
1261 }
static _getContainerSettings(int $a_id)
foreach($_POST as $key=> $value) $res

References $res, ilContainer\_getContainerSettings(), and ILIAS\Repository\object().

+ Here is the call graph for this function:

◆ getEditFormValues()

ilObjCategoryGUI::getEditFormValues ( )
protected

Reimplemented from ilContainerGUI.

Definition at line 880 of file class.ilObjCategoryGUI.php.

880 : array
881 {
882 return [];
883 }

◆ getObjectMetadataGUI()

ilObjCategoryGUI::getObjectMetadataGUI ( )

Definition at line 355 of file class.ilObjCategoryGUI.php.

356 {
357 $md_gui = new ilObjectMetaDataGUI($this->object);
358 /*
359 if (ilContainer::_lookupContainerSetting(
360 $this->object->getId(),
361 ilObjectServiceSettingsGUI::TAXONOMIES,
362 '0'
363 )) {
364 $md_gui->enableTaxonomyDefinition(true);
365 $tax = $md_gui->getTaxonomyObjGUI();
366 $tax->setMultiple(true);
367 $tax->setListInfo($this->lng->txt("cntr_tax_list_info"));
368 $taxonomies = $this->getTaxonomiesForRefId();
369 if (count($taxonomies)) {
370 $md_gui->setTaxonomySettings(function ($form) {
371 $tax = $this->getTaxonomiesForRefId();
372 $block = new ilCheckboxGroupInputGUI($this->lng->txt("cntr_taxonomy_show_sideblock"), "sblock");
373 $form->addItem($block);
374
375 $current = $this->getActiveBlocks();
376
377 $value = null;
378 foreach ($tax as $tax_id => $tax_item) {
379 $option = new ilCheckboxOption(
380 $tax_item["title"],
381 (string) $tax_id,
382 ilObject::_lookupDescription($tax_id)
383 );
384
385 if ((int) $tax_item["source"] !== $this->object->getRefId()) {
386 $loc = new ilLocatorGUI();
387 $loc->setTextOnly(true);
388 $loc->addRepositoryItems((int) $tax_item["source"]);
389 $option->setInfo($loc->getHTML());
390 }
391
392 $block->addOption($option);
393
394 if (in_array($tax_id, $current)) {
395 $value[] = $tax_id;
396 }
397 }
398
399 $block->setValue($value);
400 }, function ($form) {
401 $taxonomies = $this->getTaxonomiesForRefId();
402 if (count($taxonomies)) {
403 $sblock = $form->getInput("sblock");
404
405 $prefix = self::CONTAINER_SETTING_TAXBLOCK;
406
407 ilContainer::_deleteContainerSettings(
408 $this->object->getId(),
409 $prefix . "%",
410 true
411 );
412
413 if (is_array($sblock)) {
414 foreach ($sblock as $tax_id) {
415 ilContainer::_writeContainerSetting(
416 $this->object->getId(),
417 $prefix . $tax_id,
418 '1'
419 );
420 }
421 }
422 }
423 });
424 }
425 }*/
426 return $md_gui;
427 }
Class ilObjectMetaDataGUI.

Referenced by executeCommand().

+ Here is the caller graph for this function:

◆ getProperties()

ilObjCategoryGUI::getProperties ( int  $tax_id)

Implements ILIAS\Taxonomy\Settings\ModifierGUIInterface.

Definition at line 452 of file class.ilObjCategoryGUI.php.

454 : array {
455 $active = in_array($tax_id, $this->getActiveBlocks());
456 $value = $active
457 ? $this->lng->txt("yes")
458 : $this->lng->txt("no");
459
460 return [
461 $this->lng->txt("cntr_taxonomy_show_sideblock") => $value
462 ];
463 }

◆ getTabs()

ilObjCategoryGUI::getTabs ( )
protected

@abstract overwrite in derived GUI class of your object type

Reimplemented from ilContainerGUI.

Definition at line 494 of file class.ilObjCategoryGUI.php.

494 : void
495 {
498 $ilHelp = $this->help;
499 $ilAccess = $this->access;
500
501 if ($this->ctrl->getCmd() === "editPageContent") {
502 return;
503 }
504
505 $ilHelp->setScreenIdComponent("cat");
506
507 if ($rbacsystem->checkAccess('read', $this->ref_id)) {
508 $this->tabs_gui->addTab(
509 "view_content",
510 $lng->txt("content"),
511 $this->ctrl->getLinkTarget($this, "")
512 );
513
514 //BEGIN ChangeEvent add info tab to category object
515 if ($this->info_screen_enabled) {
516 $force_active = $this->ctrl->getNextClass() === "ilinfoscreengui"
517 || strtolower($this->cat_request->getCmdClass()) === "ilnotegui";
518 $this->tabs_gui->addTarget(
519 "info_short",
520 $this->ctrl->getLinkTargetByClass(
521 ["ilobjcategorygui", "ilinfoscreengui"],
522 "showSummary"
523 ),
524 ["showSummary", "", "infoScreen"],
525 "",
526 "",
527 $force_active
528 );
529 }
530 //END ChangeEvent add info tab to category object
531 }
532
533 if ($rbacsystem->checkAccess('write', $this->ref_id)) {
534 $force_active = ($this->ctrl->getCmd() === "edit");
535 $this->tabs_gui->addTarget(
536 "settings",
537 $this->ctrl->getLinkTarget($this, "edit"),
538 "edit",
539 get_class($this),
540 "",
541 $force_active
542 );
543
544
545
546 // metadata / taxonomies
547 $mdgui = new ilObjectMetaDataGUI($this->object);
548 /*if (ilContainer::_lookupContainerSetting(
549 $this->object->getId(),
550 ilObjectServiceSettingsGUI::TAXONOMIES,
551 '0'
552 )) {
553 $mdgui->enableTaxonomyDefinition(true);
554 }*/
555 $mdtab = $mdgui->getTab();
556 if ($mdtab) {
557 $this->tabs_gui->addTab(
558 "meta_data",
559 $this->lng->txt("meta_data"),
560 $mdtab
561 );
562 }
563 }
564
565 if (ilUserAccountSettings::getInstance()->isLocalUserAdministrationEnabled() &&
566 $rbacsystem->checkAccess('cat_administrate_users', $this->ref_id)) {
567 $this->tabs_gui->addTarget(
568 "administrate_users",
569 $this->ctrl->getLinkTarget($this, "listUsers"),
570 "listUsers",
571 get_class($this)
572 );
573 }
574
575 if ($ilAccess->checkAccess('write', '', $this->object->getRefId())) {
576 $this->tabs_gui->addTarget(
577 'export',
578 $this->ctrl->getLinkTargetByClass([ilRepositoryGUI::class, self::class, 'ilexportgui'], ''),
579 'export',
580 'ilexportgui'
581 );
582 }
583
584 // parent tabs (all container: edit_permission, clipboard, trash
585 parent::getTabs();
586 }
ilRbacSystem $rbacsystem
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 ...

References $lng, ILIAS\Repository\ctrl(), ilUserAccountSettings\getInstance(), and ILIAS\Repository\lng().

+ Here is the call graph for this function:

◆ getTaxonomiesForRefId()

ilObjCategoryGUI::getTaxonomiesForRefId ( )
protected

Definition at line 1221 of file class.ilObjCategoryGUI.php.

1221 : array
1222 {
1224
1225 // see ilTaxMDGUI::getSelectableTaxonomies()
1226
1227 $res = [];
1228 foreach ($tree->getPathFull($this->object->getRefId()) as $node) {
1229 //if ($node["ref_id"] != $this->object->getRefId())
1230 {
1231 // find all defined taxes for parent node, activation is not relevant
1232 $node_taxes = ilObjTaxonomy::getUsageOfObject((int) $node["obj_id"], true);
1233 if (count($node_taxes)) {
1234 foreach ($node_taxes as $node_tax) {
1235 $res[$node_tax["tax_id"]] = [
1236 "title" => $node_tax["title"]
1237 , "source" => $node["child"]
1238 ];
1239 }
1240 }
1241 }
1242 }
1243
1244 asort($res);
1245 return $res;
1246 }
static getUsageOfObject(int $a_obj_id, bool $a_include_titles=false)
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...

References $res, and ilObjTaxonomy\getUsageOfObject().

+ Here is the call graph for this function:

◆ hideTaxAsSideBlockObject()

ilObjCategoryGUI::hideTaxAsSideBlockObject ( )
protected

Definition at line 441 of file class.ilObjCategoryGUI.php.

441 : void
442 {
444 $tax_id = $this->cat_request->getTaxId();
446 $this->object->getId(),
447 $prefix . $tax_id
448 );
449 $this->ctrl->redirectByClass(ilTaxonomySettingsGUI::class, "");
450 }
static _deleteContainerSettings(int $a_id, string $a_keyword="", bool $a_keyword_like=false)

References ilContainer\_deleteContainerSettings(), CONTAINER_SETTING_TAXBLOCK, ILIAS\Repository\ctrl(), and ILIAS\Repository\object().

+ Here is the call graph for this function:

◆ infoScreen()

ilObjCategoryGUI::infoScreen ( )

show information screen

Definition at line 648 of file class.ilObjCategoryGUI.php.

648 : string
649 {
650 $ilAccess = $this->access;
651 $ilCtrl = $this->ctrl;
652 $ilErr = $this->error;
653
654 if (!$ilAccess->checkAccess("visible", "", $this->ref_id)) {
655 $ilErr->raiseError($this->lng->txt("msg_no_perm_read"), $ilErr->MESSAGE);
656 }
657
658 if (!$this->info_screen_enabled) {
659 return "";
660 }
661
662 // #10986
663 $this->tabs_gui->setTabActive('info_short');
664
665 $info = new ilInfoScreenGUI($this);
666
667 $info->enablePrivateNotes();
668
669 if ($ilAccess->checkAccess("read", "", $this->cat_request->getRefId())) {
670 $info->enableNews();
671 }
672
673 // no news editing for files, just notifications
674 $info->enableNewsEditing(false);
675 if ($ilAccess->checkAccess("write", "", $this->cat_request->getRefId())) {
676 $news_set = new ilSetting("news");
677 $enable_internal_rss = $news_set->get("enable_rss_for_internal");
678
679 if ($enable_internal_rss) {
680 $info->setBlockProperty("news", "settings", '1');
681 $info->setBlockProperty("news", "public_notifications_option", '1');
682 }
683 }
684
688
689
690 // standard meta data
691 $info->addMetaDataSections($this->object->getId(), 0, $this->object->getType());
692
693 // forward the command
694 if ($ilCtrl->getNextClass() === "ilinfoscreengui") {
695 $this->cmd_perm->forwardPermitted($this, $info);
696 } else {
697 return $ilCtrl->getHTML($info);
698 }
699 return "";
700 }
setInfoObject(ilInfoScreenGUI $info)
get info sections
ilErrorHandling $error
raiseError(string $message, ?int $code=null)
Class ilInfoScreenGUI.
ilAdvancedMDRecordGUI $record_gui
ILIAS Setting Class.
$info
Definition: entry_point.php:21

References $info, ILIAS\Repository\lng(), ilAdvancedMDRecordGUI\MODE_INFO, ILIAS\Repository\object(), ilAdvancedMDRecordGUI\parse(), and ilAdvancedMDRecordGUI\setInfoObject().

Referenced by executeCommand().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ infoScreenObject()

ilObjCategoryGUI::infoScreenObject ( )

this one is called from the info button in the repository not very nice to set cmdClass/Cmd manually, if everything works through ilCtrl in the future this may be changed

Definition at line 640 of file class.ilObjCategoryGUI.php.

640 : void
641 {
642 $this->ctrl->redirectByClass(ilInfoScreenGUI::class, "showSummary");
643 }

References ILIAS\Repository\ctrl().

+ Here is the call graph for this function:

◆ initEditForm()

ilObjCategoryGUI::initEditForm ( )
protected

Reimplemented from ilContainerGUI.

Definition at line 798 of file class.ilObjCategoryGUI.php.

799 {
800 $obj_service = $this->getObjectService();
801
802 $this->lng->loadLanguageModule($this->object->getType());
803 $this->setEditTabs();
804
805 $form = new ilPropertyFormGUI();
806 $form->setFormAction($this->ctrl->getFormAction($this));
807 $form->setTitle($this->lng->txt($this->object->getType() . "_edit"));
808
809 // title/description
810 $this->initFormTitleDescription($form);
811
812 // Show didactic template type
814
815 // presentation
816 $pres = new ilFormSectionHeaderGUI();
817 $pres->setTitle($this->lng->txt('obj_presentation'));
818 $form->addItem($pres);
819
820 // title and icon visibility
821 $form = $obj_service->commonSettings()->legacyForm($form, $this->object)->addTitleIconVisibility();
822
823 // top actions visibility
824 $form = $obj_service->commonSettings()->legacyForm($form, $this->object)->addTopActionsVisibility();
825
826 // custom icon
827 $form = $obj_service->commonSettings()->legacyForm($form, $this->object)->addIcon();
828
829 // tile image
830 $form = $obj_service->commonSettings()->legacyForm($form, $this->object)->addTileImage();
831
832 // list presentation
834
835 // sorting
836 $form = $this->initSortingForm(
837 $form,
838 [
842 ]
843 );
844
845 // block limit
846 $bl = new ilNumberInputGUI($this->lng->txt("cont_block_limit"), "block_limit");
847 $bl->setInfo($this->lng->txt("cont_block_limit_info"));
848 $bl->setValue(ilContainer::_lookupContainerSetting($this->object->getId(), "block_limit"));
849 $form->addItem($bl);
850
851 // icon settings
852
853 // Edit ecs export settings
854 $ecs = new ilECSCategorySettings($this->object);
855 $ecs->addSettingsToForm($form, 'cat');
856
857 // services
858 $sh = new ilFormSectionHeaderGUI();
859 $sh->setTitle($this->lng->txt('obj_features'));
860 $form->addItem($sh);
861
863 $this->object->getId(),
864 $form,
865 [
872 ]
873 );
874
875 $form->addCommandButton("update", $this->lng->txt("save"));
876
877 return $form;
878 }
initSortingForm(ilPropertyFormGUI $form, array $a_sorting_settings)
Append sorting settings to property form.
ilPropertyFormGUI $form
initListPresentationForm(ilPropertyFormGUI $form)
Add list presentation settings to form.
Class ilECSCategorySettings.
setFormAction(string $a_formaction)
This class represents a section header in a property form.
This class represents a number property in a property form.
initDidacticTemplate(ilPropertyFormGUI $form)
static initServiceSettingsForm(int $obj_id, ilPropertyFormGUI $form, array $services)
This class represents a property form user interface.
addCommandButton(string $a_cmd, string $a_text, string $a_id="")

References ilContainer\_lookupContainerSetting(), ILIAS\Repository\ctrl(), ilObjectServiceSettingsGUI\CUSTOM_METADATA, ilObjectServiceSettingsGUI\FILTER, ilObjectServiceSettingsGUI\INFO_TAB_VISIBILITY, ilObjectServiceSettingsGUI\initServiceSettingsForm(), ILIAS\Repository\lng(), ilObjectServiceSettingsGUI\NEWS_VISIBILITY, ILIAS\Repository\object(), ilContainer\SORT_CREATION, ilContainer\SORT_MANUAL, ilContainer\SORT_TITLE, ilObjectServiceSettingsGUI\TAG_CLOUD, and ilObjectServiceSettingsGUI\TAXONOMIES.

+ Here is the call graph for this function:

◆ initExtendedSettings()

ilObjCategoryGUI::initExtendedSettings ( )
protected

Definition at line 736 of file class.ilObjCategoryGUI.php.

736 : bool
737 {
738 if (is_object($this->form)) {
739 return true;
740 }
741
742 $this->form = new ilPropertyFormGUI();
743 $this->form->setFormAction($this->ctrl->getFormAction($this));
744 $this->form->setTitle($this->lng->txt('ext_cat_settings'));
745 $this->form->addCommandButton('updateInfo', $this->lng->txt('save'));
746 $this->form->addCommandButton('editInfo', $this->lng->txt('cancel'));
747
748 $this->record_gui = new ilAdvancedMDRecordGUI(ilAdvancedMDRecordGUI::MODE_EDITOR, 'cat', $this->object->getId());
749 $this->record_gui->setPropertyForm($this->form);
750 $this->record_gui->parse();
751
752 return true;
753 }

References ILIAS\Repository\ctrl(), ILIAS\Repository\form(), ILIAS\Repository\lng(), ilAdvancedMDRecordGUI\MODE_EDITOR, and ILIAS\Repository\object().

+ Here is the call graph for this function:

◆ initTaxSubTabs()

ilObjCategoryGUI::initTaxSubTabs (   $a_active = "tax_list")
protected

Definition at line 1205 of file class.ilObjCategoryGUI.php.

1205 : void
1206 {
1207 $this->tabs_gui->setTabActive("obj_tool_setting_taxonomies");
1208 $this->tabs_gui->addSubTab(
1209 "tax_settings",
1210 $this->lng->txt("cntr_taxonomy_sideblock_settings"),
1211 $this->ctrl->getLinkTarget($this, "editTaxonomySettings")
1212 );
1213 $this->tabs_gui->addSubTab(
1214 "tax_list",
1215 $this->lng->txt("cntr_taxonomy_definitions"),
1216 $this->ctrl->getLinkTargetByClass("ilobjtaxonomygui", "")
1217 );
1218 $this->tabs_gui->activateSubTab($a_active);
1219 }

References ILIAS\Repository\lng().

+ Here is the call graph for this function:

◆ listUsersObject()

ilObjCategoryGUI::listUsersObject ( bool  $show_delete = false)

Definition at line 1002 of file class.ilObjCategoryGUI.php.

1002 : void
1003 {
1004 $ilUser = $this->user;
1005 $ilErr = $this->error;
1006 $ilToolbar = $this->toolbar;
1007
1010
1011 if (!$rbacsystem->checkAccess("cat_administrate_users", $this->object->getRefId())) {
1012 $ilErr->raiseError($this->lng->txt("msg_no_perm_admin_users"), $ilErr->MESSAGE);
1013 }
1014 $this->tabs_gui->setTabActive('administrate_users');
1015
1016
1017
1018 $this->tpl->addBlockfile(
1019 'ADM_CONTENT',
1020 'adm_content',
1021 'tpl.cat_admin_users.html',
1022 "components/ILIAS/Category"
1023 );
1024
1025 if (count($rbacreview->getGlobalAssignableRoles()) ||
1026 in_array(SYSTEM_ROLE_ID, $rbacreview->assignedRoles($ilUser->getId()), true)) {
1027 $ilToolbar->addButton(
1028 $this->lng->txt('add_user'),
1029 $this->ctrl->getLinkTargetByClass('ilobjusergui', 'create')
1030 );
1031
1032 $ilToolbar->addButton(
1033 $this->lng->txt('import_users'),
1034 $this->ctrl->getLinkTargetByClass('ilobjuserfoldergui', 'importUserForm')
1035 );
1036 } else {
1037 $this->tpl->setOnScreenMessage('info', $this->lng->txt('no_roles_user_can_be_assigned_to'));
1038 }
1039
1040 if ($show_delete) {
1041 $this->tpl->setCurrentBlock("confirm_delete");
1042 $this->tpl->setVariable("CONFIRM_FORMACTION", $this->ctrl->getFormAction($this));
1043 $this->tpl->setVariable("TXT_CANCEL", $this->lng->txt('cancel'));
1044 $this->tpl->setVariable("CONFIRM_CMD", 'performDeleteUsers');
1045 $this->tpl->setVariable("TXT_CONFIRM", $this->lng->txt('delete'));
1046 $this->tpl->parseCurrentBlock();
1047 }
1048
1049 $this->lng->loadLanguageModule('user');
1050
1051 $utab = new ilUserTableGUI($this, 'listUsers', ilUserTableGUI::MODE_LOCAL_USER);
1052 $utab->setTitle($this->lng->txt('administrate_users_headline'));
1053 $this->tpl->setVariable('USERS_TABLE', $utab->getHTML());
1054 }
ilRbacReview $rbacreview
ilToolbarGUI $toolbar
assignedRoles(int $a_usr_id)
get all assigned roles to a given user
getGlobalAssignableRoles()
get only 'global' roles (with flag 'assign_users')
const SYSTEM_ROLE_ID
Definition: constants.php:29

References ILIAS\Repository\ctrl(), ILIAS\Repository\lng(), ilUserTableGUI\MODE_LOCAL_USER, and SYSTEM_ROLE_ID.

+ Here is the call graph for this function:

◆ performDeleteUsersObject()

ilObjCategoryGUI::performDeleteUsersObject ( )

Definition at line 1074 of file class.ilObjCategoryGUI.php.

1074 : void
1075 {
1076 $this->checkPermission("cat_administrate_users");
1077
1078 foreach ($this->cat_request->getUserIds() as $user_id) {
1079 if (!in_array($user_id, ilLocalUser::_getAllUserIds($this->object->getRefId()), true)) {
1080 throw new ilException('user id not valid');
1081 }
1082 if (!$tmp_obj = ilObjectFactory::getInstanceByObjId($user_id, false)) {
1083 continue;
1084 }
1085 $tmp_obj->delete();
1086 }
1087 $this->tpl->setOnScreenMessage('success', $this->lng->txt('deleted_users'));
1088 $this->listUsersObject();
1089 }
Base class for ILIAS Exception handling.
static getInstanceByObjId(?int $obj_id, bool $stop_on_error=true)
get an instance of an Ilias object by object id

References $user_id, ilLocalUser\_getAllUserIds(), ilObjectFactory\getInstanceByObjId(), ILIAS\Repository\lng(), and ILIAS\Repository\object().

+ Here is the call graph for this function:

◆ renderObject()

ilObjCategoryGUI::renderObject ( )

Render category.

Reimplemented from ilContainerGUI.

Definition at line 591 of file class.ilObjCategoryGUI.php.

591 : void
592 {
593 $ilTabs = $this->tabs;
594
595 $ilTabs->activateTab("view_content");
596 parent::renderObject();
597
599 $this->object->getType(),
600 $this->object->getRefId(),
601 $this->object->getId(),
602 $this->user->getId()
603 );
604 }
static _recordReadEvent(string $a_type, int $a_ref_id, int $obj_id, int $usr_id, $a_ext_rc=null, $a_ext_time=null)
activateTab(string $a_id)

References ilChangeEvent\_recordReadEvent(), and ILIAS\Repository\object().

Referenced by executeCommand().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ resetFilterObject()

ilObjCategoryGUI::resetFilterObject ( )
protected

import categories (static, also called by RootFolderGUI)

Reset filter (note: this function existed before data table filter has been introduced

Definition at line 977 of file class.ilObjCategoryGUI.php.

977 : void
978 {
979 $utab = new ilUserTableGUI($this, "listUsers", ilUserTableGUI::MODE_LOCAL_USER);
980 $utab->resetOffset();
981 $utab->resetFilter();
982
983 // from "old" implementation
984 $this->listUsersObject();
985 }

References ilUserTableGUI\MODE_LOCAL_USER.

◆ setEditTabs()

ilObjCategoryGUI::setEditTabs (   $active_tab = "settings_misc")
protected

Definition at line 755 of file class.ilObjCategoryGUI.php.

755 : void
756 {
757 $this->tabs_gui->addSubTab(
758 "settings_misc",
759 $this->lng->txt("general"),
760 $this->ctrl->getLinkTarget($this, "edit")
761 );
762
763 $this->tabs_gui->addSubTab(
764 "settings_trans",
765 $this->lng->txt("obj_multilinguality"),
766 $this->ctrl->getLinkTargetByClass(TranslationGUI::class, "")
767 );
768
769 //news tab
771 $this->object->getId(),
773 '1'
774 );
775
776 if ($news_active) {
777 $this->tabs_gui->addSubTab(
778 'obj_news_settings',
779 $this->lng->txt("cont_news_settings"),
780 $this->ctrl->getLinkTargetByClass('ilcontainernewssettingsgui')
781 );
782 }
783
784 $this->tabs_gui->addSubTab(
785 "settings_filter",
786 $this->lng->txt("cont_filter"),
787 $this->ctrl->getLinkTargetByClass("ilcontainerfilteradmingui", "")
788 );
789
790 if ($obj = $this->getObject()) {
791 $this->taxonomy->gui()->addSettingsSubTab($obj->getId());
792 }
793
794 $this->tabs_gui->activateTab("settings");
795 $this->tabs_gui->activateSubTab($active_tab);
796 }

References ilContainer\_lookupContainerSetting(), ILIAS\Repository\lng(), ilObjectServiceSettingsGUI\NEWS_VISIBILITY, and ILIAS\Repository\object().

Referenced by executeCommand().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ showTaxAsSideBlockObject()

ilObjCategoryGUI::showTaxAsSideBlockObject ( )
protected

Definition at line 429 of file class.ilObjCategoryGUI.php.

429 : void
430 {
432 $tax_id = $this->cat_request->getTaxId();
434 $this->object->getId(),
435 $prefix . $tax_id,
436 '1'
437 );
438 $this->ctrl->redirectByClass(ilTaxonomySettingsGUI::class, "");
439 }
static _writeContainerSetting(int $a_id, string $a_keyword, string $a_value)

References ilContainer\_writeContainerSetting(), CONTAINER_SETTING_TAXBLOCK, ILIAS\Repository\ctrl(), and ILIAS\Repository\object().

+ Here is the call graph for this function:

◆ updateInfoObject()

ilObjCategoryGUI::updateInfoObject ( )
protected

Definition at line 714 of file class.ilObjCategoryGUI.php.

714 : void
715 {
716 $this->checkPermission("write");
717
718 // init form
719 $this->initExtendedSettings();
720
721 // still needed for date conversion and so on
722 $this->form->checkInput();
723
724 if ($this->record_gui->importEditFormPostValues()) {
725 $this->record_gui->writeEditForm();
726
727 $this->tpl->setOnScreenMessage('success', $this->lng->txt("settings_saved"), true);
728 $this->ctrl->redirect($this, "editInfo");
729 }
730
731 $this->editInfoObject();
732 }

References ILIAS\Repository\ctrl(), ILIAS\Repository\form(), and ILIAS\Repository\lng().

+ Here is the call graph for this function:

◆ updateObject()

ilObjCategoryGUI::updateObject ( )

updates object entry in object_data

Reimplemented from ilObjectGUI.

Definition at line 885 of file class.ilObjCategoryGUI.php.

885 : void
886 {
887 $ilErr = $this->error;
888 $ilUser = $this->user;
889 $obj_service = $this->getObjectService();
890
891 if (!$this->checkPermissionBool("write")) {
892 $ilErr->raiseError($this->lng->txt("msg_no_perm_write"), $ilErr->MESSAGE);
893 } else {
894 $form = $this->initEditForm();
895 if ($form->checkInput()) {
896 $title = $form->getInput("title");
897 $desc = $form->getInput("desc");
898
899 $this->object->setTitle($title);
900 $this->object->setDescription($desc);
901 $this->object->update();
902
904
905 // title icon visibility
906 $obj_service->commonSettings()->legacyForm($form, $this->object)->saveTitleIconVisibility();
907
908 // top actions visibility
909 $obj_service->commonSettings()->legacyForm($form, $this->object)->saveTopActionsVisibility();
910
911 // custom icon
912 $obj_service->commonSettings()->legacyForm($form, $this->object)->saveIcon();
913
914 // tile image
915 $obj_service->commonSettings()->legacyForm($form, $this->object)->saveTileImage();
916
917 // list presentation
919
920 // BEGIN ChangeEvent: Record update
921 ilChangeEvent::_recordWriteEvent($this->object->getId(), $ilUser->getId(), 'update');
922 // END ChangeEvent: Record update
923
924 // services
926 $this->object->getId(),
927 $form,
928 [
935 ]
936 );
937
938 // block limit
939 if ((int) $form->getInput("block_limit") > 0) {
941 $this->object->getId(),
942 "block_limit",
943 (string) ((int) $form->getInput("block_limit"))
944 );
945 } else {
946 ilContainer::_deleteContainerSettings($this->object->getId(), "block_limit");
947 }
948 // Update ecs export settings
949 $ecs = new ilECSCategorySettings($this->object);
950 if ($ecs->handleSettingsUpdate($form)) {
951 $this->afterUpdate();
952 return;
953 }
954 }
955
956 // display form to correct errors
957 $this->setEditTabs();
959 $this->tpl->setContent($form->getHTML());
960 }
961 }
static _recordWriteEvent(int $obj_id, int $usr_id, string $action, ?int $parent_obj_id=null)
Records a write event.
afterUpdate()
Post (successful) object update hook.
saveListPresentation(ilPropertyFormGUI $form)
saveSortingSettings(ilPropertyFormGUI $form)
static updateServiceSettingsForm(int $obj_id, ilPropertyFormGUI $form, array $services)
getInput(string $a_post_var, bool $ensureValidation=true)
Returns the input of an item, if item provides getInput method and as fallback the value of the HTTP-...

References ilContainer\_deleteContainerSettings(), ilChangeEvent\_recordWriteEvent(), ilContainer\_writeContainerSetting(), ilObjectServiceSettingsGUI\CUSTOM_METADATA, ilObjectServiceSettingsGUI\FILTER, ilObjectServiceSettingsGUI\INFO_TAB_VISIBILITY, ILIAS\Repository\lng(), ilObjectServiceSettingsGUI\NEWS_VISIBILITY, ILIAS\Repository\object(), ilObjectServiceSettingsGUI\TAG_CLOUD, ilObjectServiceSettingsGUI\TAXONOMIES, and ilObjectServiceSettingsGUI\updateServiceSettingsForm().

+ Here is the call graph for this function:

◆ viewObject()

ilObjCategoryGUI::viewObject ( )

viewObject container presentation for "administration -> repository, trash, permissions"

Reimplemented from ilObjectGUI.

Definition at line 606 of file class.ilObjCategoryGUI.php.

606 : void
607 {
608 if (strtolower($this->cat_request->getBaseClass()) === "iladministrationgui") {
609 parent::viewObject();
610 return;
611 }
612 $this->renderObject();
613 }

Field Documentation

◆ $cat_domain

ILIAS Category InternalDomainService ilObjCategoryGUI::$cat_domain
protected

Definition at line 41 of file class.ilObjCategoryGUI.php.

◆ $cat_gui

ILIAS Category InternalGUIService ilObjCategoryGUI::$cat_gui
protected

Definition at line 42 of file class.ilObjCategoryGUI.php.

◆ $cat_request

StandardGUIRequest ilObjCategoryGUI::$cat_request
protected

Definition at line 52 of file class.ilObjCategoryGUI.php.

◆ $cmd_perm

ILIAS Category Permission CategoryCmdPermission ilObjCategoryGUI::$cmd_perm
protected

Definition at line 43 of file class.ilObjCategoryGUI.php.

◆ $creation_mode

bool ilObjCategoryGUI::$creation_mode
protected

Definition at line 50 of file class.ilObjCategoryGUI.php.

◆ $gui_obj

ilObjectGUI ilObjCategoryGUI::$gui_obj
protected

Definition at line 49 of file class.ilObjCategoryGUI.php.

◆ $help

ilHelpGUI ilObjCategoryGUI::$help
protected

Definition at line 47 of file class.ilObjCategoryGUI.php.

Referenced by executeCommand().

◆ $info_screen_enabled

bool ilObjCategoryGUI::$info_screen_enabled = false
protected

Definition at line 48 of file class.ilObjCategoryGUI.php.

◆ $nav_history

ilNavigationHistory ilObjCategoryGUI::$nav_history
protected

Definition at line 46 of file class.ilObjCategoryGUI.php.

Referenced by executeCommand().

◆ $record_gui

ilAdvancedMDRecordGUI ilObjCategoryGUI::$record_gui
protected

Definition at line 51 of file class.ilObjCategoryGUI.php.

◆ $taxonomy

ILIAS Taxonomy Service ilObjCategoryGUI::$taxonomy
protected

Definition at line 44 of file class.ilObjCategoryGUI.php.

◆ CONTAINER_SETTING_TAXBLOCK

const ilObjCategoryGUI::CONTAINER_SETTING_TAXBLOCK = "tax_sblock_"

The documentation for this class was generated from the following file: