ILIAS  trunk Revision v12.0_alpha-377-g3641b37b9db
ilObjGlossaryGUI Class Reference

GUI class for ilGlossary. More...

+ Inheritance diagram for ilObjGlossaryGUI:
+ Collaboration diagram for ilObjGlossaryGUI:

Public Member Functions

 __construct ( $a_data, int $a_id=0, bool $a_call_by_reference=true, bool $a_prepare_output=true)
 
 executeCommand ()
 
 importObject ()
 
 saveObject ()
 
 showInfoScreen ()
 
 viewObject ()
 viewObject container presentation for "administration -> repository, trash, permissions" More...
 
 properties ()
 
 getProperties (int $tax_id)
 
 getActions (int $tax_id)
 
 listTerms ()
 
 showToolbarForStandard ()
 
 showToolbarForCollection ()
 
 showSelectedGlossariesForCollection ()
 
 showModalForCollection ()
 
 saveGlossaryForCollection ()
 
 removeGlossaryFromCollection ()
 
 actTaxonomy ()
 
 deactTaxonomy ()
 Hide Taxonomy. More...
 
 addTerm ()
 add term More...
 
 exportHTML ()
 create html package More...
 
 deleteTerms ()
 
 view ()
 
 getTemplate ()
 
 setSettingsSubTabs (string $a_active)
 
 setContentStyleSheet (?ilGlobalTemplateInterface $a_tpl=null)
 
 showTaxonomy ()
 Show taxonomy. More...
 
 editGlossaries ()
 Edit automatically linked glossaries. More...
 
 showGlossarySelector ()
 Show auto glossary selection. More...
 
 confirmGlossarySelection ()
 
 selectGlossaryLink ()
 Select a glossary and link all its terms. More...
 
 selectGlossary ()
 Select auto glossary. More...
 
 removeGlossary ()
 
 copyTerms ()
 Copy terms to clipboard. More...
 
 referenceTerms ()
 Add terms to be referenced to clipboard. More...
 
 clearClipboard ()
 
 pasteTerms ()
 
- 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)
 
 getProperties (int $tax_id)
 
 getActions (int $tax_id)
 

Static Public Member Functions

static addUsagesToInfo (ilInfoScreenGUI $info, int $glo_id)
 Add usages to info screen. More...
 
static _goto (string $a_target)
 
- 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

ilGlossaryTerm $term = null
 
- 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

 assignObject ()
 
 initCreateForm (string $new_type)
 
 showTaxInPresentation ()
 
 hideTaxInPresentation ()
 
 getModalsToRender ()
 
 setLocator ()
 
 getTabs ()
 @abstract overwrite in derived GUI class of your object type More...
 
 putTermsIntoClipBoard ()
 
- 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 GlobalScreen Services $global_screen
 
ILIAS Glossary Taxonomy TaxonomyManager $tax_manager = null
 
ILIAS Glossary InternalDomainService $domain
 
ILIAS Glossary InternalGUIService $gui
 
ILIAS DI UIServices $ui
 
ILIAS Taxonomy Service $taxonomy
 
ilRbacSystem $rbacsystem
 
ilPropertyFormGUI $form
 
int $tax_node = 0
 
ilObjTaxonomy $tax
 
 $tax_id
 
bool $in_administration = false
 
ILIAS Glossary Presentation GUIService $gui_presentation_service
 
ilTermDefinitionBulkCreationGUI $term_def_bulk_gui
 
ILIAS Glossary Editing EditingGUIRequest $edit_request
 
ILIAS Glossary Term TermManager $term_manager
 
int $term_id = 0
 
ilTabsGUI $tabs
 
ilSetting $setting
 
ilHelpGUI $help
 
ilGlossaryTermPermission $term_perm
 
ilLogger $log
 
ILIAS Style Content GUIService $content_style_gui
 
ILIAS Style Content Object ObjectFacade $content_style_domain
 
ILIAS UI Factory $ui_fac
 
ILIAS UI Renderer $ui_ren
 
array $modals_to_render = []
 
string $requested_table_glossary_term_list_action = ""
 
array $requested_table_glossary_term_list_ids = []
 
- 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()

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

Definition at line 69 of file class.ilObjGlossaryGUI.php.

74 {
75 global $DIC;
76
77 $service = $DIC->glossary()->internal();
78 $this->gui = $gui = $service->gui();
79 $this->domain = $domain = $service->domain();
80
81 $this->lng = $domain->lng();
82 $this->user = $domain->user();
83 $this->setting = $domain->settings();
84 $this->access = $domain->access();
85 $this->rbacsystem = $domain->rbac()->system();
86 $this->log = $domain->log();
87
88 $this->ctrl = $gui->ctrl();
89 $this->toolbar = $gui->toolbar();
90 $this->tabs = $gui->tabs();
91 $this->help = $gui->help();
92 $this->ui = $gui->ui();
93 $this->ui_fac = $gui->ui()->factory();
94 $this->ui_ren = $gui->ui()->renderer();
95 $this->global_screen = $gui->globalScreen();
96 $this->gui_presentation_service = $gui->presentation();
97
98 $this->edit_request = $gui->editing()->request();
99 $this->term_perm = ilGlossaryTermPermission::getInstance();
100 $this->requested_table_glossary_term_list_action = $this->edit_request->getTableGlossaryTermListAction();
101 $this->requested_table_glossary_term_list_ids = $this->edit_request->getTableGlossaryTermListIds();
102
103 $this->ctrl->saveParameter($this, array("ref_id"));
104 $this->lng->loadLanguageModule("content");
105 $this->lng->loadLanguageModule("glo");
106
107 $this->type = "glo";
108 parent::__construct($a_data, $a_id, $a_call_by_reference, false);
109
110 // determine term id and check whether it is valid (belongs to
111 // current glossary)
112 if (($this->requested_table_glossary_term_list_action == "editTerm"
113 || $this->requested_table_glossary_term_list_action == "editDefinition")
114 && !empty($this->requested_table_glossary_term_list_ids)) {
115 $this->term_id = $this->requested_table_glossary_term_list_ids[0];
116 } else {
117 $this->term_id = $this->edit_request->getTermId();
118 }
119 $term_glo_id = ilGlossaryTerm::_lookGlossaryID($this->term_id);
120 if ($this->term_id > 0 && $term_glo_id != $this->object->getId()
121 && !ilGlossaryTermReferences::isReferenced([$this->object->getId()], $this->term_id)) {
122 $this->term_id = 0;
123 }
124 $this->ctrl->setParameterByClass("ilglossarytermgui", "term_id", $this->term_id);
125
126 $this->tax_id = $this->object->getTaxonomyId();
127 if ($this->tax_id > 0) {
128 $this->ctrl->saveParameter($this, array("show_tax", "tax_node"));
129
130 $this->tax = new ilObjTaxonomy($this->tax_id);
131 }
132 $tax_node = $this->edit_request->getTaxNode();
133 if ($tax_node > 1 && $this->tax->getTree()->readRootId() != $tax_node) {
134 $this->tax_node = $tax_node;
135 }
136
137 if ($this->getGlossary()) {
138 $this->term_manager = $domain->term(
139 $this->getGlossary(),
140 $this->user->getId()
141 );
142 $this->tax_manager = $domain->taxonomy(
143 $this->getGlossary()
144 );
145 }
146
147 $this->term_def_bulk_gui = $this->gui_presentation_service
148 ->TermDefinitionBulkCreationGUI($this->getGlossary());
149
150 $this->in_administration =
151 (strtolower($this->edit_request->getBaseClass()) == "iladministrationgui");
152 $cs = $DIC->contentStyle();
153 $this->content_style_gui = $cs->gui();
154 if (is_object($this->object)) {
155 $this->content_style_domain = $cs->domain()->styleForRefId($this->object->getRefId());
156 $this->taxonomy = $DIC->taxonomy();
157 }
158 }
static isReferenced(array $a_glo_id, int $a_term_id)
Is a term referenced by a set of glossaries.
static _lookGlossaryID(int $term_id)
get glossary id form term id
ILIAS Glossary InternalGUIService $gui
ILIAS Glossary InternalDomainService $domain
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
$service
Definition: ltiresult.php:36
__construct(Container $dic, ilPlugin $plugin)
@inheritDoc
global $DIC
Definition: shib_login.php:26

References $DIC, $domain, $gui, $service, $tax_node, ILIAS\GlobalScreen\Provider\__construct(), ilGlossaryTerm\_lookGlossaryID(), ILIAS\Repository\access(), ILIAS\Repository\ctrl(), ilGlossaryTermPermission\getInstance(), ILIAS\Repository\help(), ilGlossaryTermReferences\isReferenced(), ILIAS\Repository\lng(), ILIAS\Repository\object(), ILIAS\Repository\tabs(), ILIAS\Repository\toolbar(), ILIAS\Repository\ui(), and ILIAS\Repository\user().

+ Here is the call graph for this function:

Member Function Documentation

◆ _goto()

static ilObjGlossaryGUI::_goto ( string  $a_target)
static

Definition at line 989 of file class.ilObjGlossaryGUI.php.

989 : void
990 {
991 global $DIC;
992 $main_tpl = $DIC->ui()->mainTemplate();
993
994 $lng = $DIC->language();
995 $ilAccess = $DIC->access();
996 $ctrl = $DIC->ctrl();
997
998 if ($ilAccess->checkAccess("read", "", $a_target)) {
999 $ctrl->setParameterByClass("ilGlossaryPresentationGUI", "ref_id", $a_target);
1000 $ctrl->redirectByClass("ilGlossaryPresentationGUI", "");
1001 } elseif ($ilAccess->checkAccess("visible", "", $a_target)) {
1002 $ctrl->setParameterByClass("ilGlossaryPresentationGUI", "ref_id", $a_target);
1003 $ctrl->redirectByClass("ilGlossaryPresentationGUI", "infoScreen");
1004 } elseif ($ilAccess->checkAccess("read", "", ROOT_FOLDER_ID)) {
1005 $main_tpl->setOnScreenMessage('failure', sprintf(
1006 $lng->txt("msg_no_perm_read_item"),
1008 ), true);
1010 }
1011
1012 throw new ilPermissionException($lng->txt("no_permission"));
1013 }
redirectByClass( $a_class, ?string $a_cmd=null, ?string $a_anchor=null, bool $is_async=false)
@inheritDoc
setParameterByClass(string $a_class, string $a_parameter, $a_value)
@inheritDoc
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...
static _gotoRepositoryRoot(bool $raise_error=false)
Goto repository root.
ilLanguage $lng
static _lookupObjId(int $ref_id)
static _lookupTitle(int $obj_id)
const ROOT_FOLDER_ID
Definition: constants.php:32

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

Referenced by ILIAS\StaticURL\Handler\LegacyGotoHandler\handle().

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

◆ actTaxonomy()

ilObjGlossaryGUI::actTaxonomy ( )

Definition at line 774 of file class.ilObjGlossaryGUI.php.

774 : void
775 {
776 $this->ctrl->setParameter($this, "show_tax", 1);
777 $this->ctrl->redirect($this, "listTerms");
778 }

References ILIAS\Repository\ctrl().

+ Here is the call graph for this function:

◆ addTerm()

ilObjGlossaryGUI::addTerm ( )

add term

Definition at line 793 of file class.ilObjGlossaryGUI.php.

793 : void
794 {
795 $new_term = $this->edit_request->getNewTerm();
796 if ($new_term == "") {
797 $this->tpl->setOnScreenMessage('failure', $this->lng->txt("cont_please_enter_a_term"), true);
798 $this->ctrl->redirect($this, "listTerms");
799 }
800
801 // add term
802 $lang = $this->edit_request->getTermLanguage();
803 $term = new ilGlossaryTerm();
804 $term->setGlossary($this->getGlossary());
805 $term->setTerm($new_term);
806 $term->setLanguage($lang);
807 $term->create();
808
809 $this->term_manager->setSessionLang($lang);
810
811 $this->ctrl->setParameterByClass("ilglossarydefpagegui", "term_id", $term->getId());
812 $this->ctrl->redirectByClass(array("ilglossarytermgui",
813 "iltermdefinitioneditorgui", "ilglossarydefpagegui"), "edit");
814 }
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
setGlossary(ilObjGlossary $a_glossary)
setTerm(string $a_term)
setLanguage(string $a_language)
create(bool $a_omit_page_creation=false)

References ilGlossaryTerm\create(), ILIAS\Repository\ctrl(), ilGlossaryTerm\getId(), ILIAS\Repository\lng(), ilGlossaryTerm\setGlossary(), ilGlossaryTerm\setLanguage(), and ilGlossaryTerm\setTerm().

+ Here is the call graph for this function:

◆ addUsagesToInfo()

static ilObjGlossaryGUI::addUsagesToInfo ( ilInfoScreenGUI  $info,
int  $glo_id 
)
static

Add usages to info screen.

Definition at line 488 of file class.ilObjGlossaryGUI.php.

491 : void {
492 global $DIC;
493
494 $lng = $DIC->language();
495 $ilAccess = $DIC->access();
496
497 $info->addSection($lng->txt("glo_usages"));
499 foreach ($sms as $sm) {
500 $link = false;
501 $refs = ilObject::_getAllReferences($sm);
502 foreach ($refs as $ref) {
503 if ($link === false && $ilAccess->checkAccess("write", "", $ref)) {
504 $link = ilLink::_getLink($ref, 'sahs');
505 }
506 }
507
508 $entry = ilObject::_lookupTitle($sm);
509 if ($link !== false) {
510 $entry = "<a href='" . $link . "' target='_top'>" . $entry . "</a>";
511 }
512
513 $info->addProperty($lng->txt("obj_sahs"), $entry);
514 }
515 }
static getScormModulesForGlossary(int $a_glo_id)
Get SCORM modules that assign a certain glossary.
static _getAllReferences(int $id)
get all reference ids for object ID
$info
Definition: entry_point.php:21

Referenced by ilGlossaryPresentationGUI\outputInfoScreen(), and showInfoScreen().

+ Here is the caller graph for this function:

◆ assignObject()

ilObjGlossaryGUI::assignObject ( )
protected

Reimplemented from ilObjectGUI.

Definition at line 372 of file class.ilObjGlossaryGUI.php.

372 : void
373 {
374 $this->object = new ilObjGlossary($this->id, true);
375 }
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...

◆ clearClipboard()

ilObjGlossaryGUI::clearClipboard ( )

Definition at line 1237 of file class.ilObjGlossaryGUI.php.

1237 : void
1238 {
1239 $this->user->clipboardDeleteObjectsOfType("term");
1240 $this->ctrl->redirect($this, "listTerms");
1241 }

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

+ Here is the call graph for this function:

◆ confirmGlossarySelection()

ilObjGlossaryGUI::confirmGlossarySelection ( )

Definition at line 1113 of file class.ilObjGlossaryGUI.php.

1113 : void
1114 {
1115 $cgui = new ilConfirmationGUI();
1116 $this->ctrl->setParameter($this, "glo_ref_id", $this->edit_request->getGlossaryRefId());
1117 $cgui->setFormAction($this->ctrl->getFormAction($this));
1118 $cgui->setHeaderText($this->lng->txt("glo_link_glo_in_glo"));
1119 $cgui->setCancel($this->lng->txt("no"), "selectGlossary");
1120 $cgui->setConfirm($this->lng->txt("yes"), "selectGlossaryLink");
1121 $this->tpl->setContent($cgui->getHTML());
1122 }
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...

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

+ Here is the call graph for this function:

◆ copyTerms()

ilObjGlossaryGUI::copyTerms ( )

Copy terms to clipboard.

Definition at line 1165 of file class.ilObjGlossaryGUI.php.

1165 : void
1166 {
1167 $this->putTermsIntoClipBoard();
1168
1170 $this->tpl->setOnScreenMessage('info', $this->lng->txt("glo_selected_terms_have_been_copied"), true);
1171 $this->ctrl->redirect($this, "listTerms");
1172 }
static setAction(string $a_action)

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

+ Here is the call graph for this function:

◆ deactTaxonomy()

ilObjGlossaryGUI::deactTaxonomy ( )

Hide Taxonomy.

Definition at line 783 of file class.ilObjGlossaryGUI.php.

783 : void
784 {
785 $this->ctrl->setParameter($this, "show_tax", "");
786 $this->ctrl->redirect($this, "listTerms");
787 }

References ILIAS\Repository\ctrl().

+ Here is the call graph for this function:

◆ deleteTerms()

ilObjGlossaryGUI::deleteTerms ( )

Definition at line 826 of file class.ilObjGlossaryGUI.php.

826 : void
827 {
828 if (!empty($this->edit_request->getTermIdsInModal())
829 && $ids = $this->edit_request->getTermIdsInModal()) {
830 foreach ($ids as $id) {
831 if (ilGlossaryTermReferences::isReferenced([$this->object->getId()], $id)) {
832 $refs = new ilGlossaryTermReferences($this->object->getId());
833 $refs->deleteTerm($id);
834 $refs->update();
835 } else {
836 $this->term_manager->deleteTerm($id);
837 }
838 }
839 }
840 $this->tpl->setOnScreenMessage('success', $this->lng->txt("msg_obj_modified"), true);
841 $this->ctrl->redirect($this, "listTerms");
842 }
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...

References $id, ILIAS\Repository\ctrl(), ilGlossaryTermReferences\isReferenced(), ILIAS\Repository\lng(), and ILIAS\Repository\object().

+ Here is the call graph for this function:

◆ editGlossaries()

ilObjGlossaryGUI::editGlossaries ( )

Edit automatically linked glossaries.

Definition at line 1076 of file class.ilObjGlossaryGUI.php.

1076 : void
1077 {
1078 $this->tabs->setTabActive("settings");
1079 $this->setSettingsSubTabs("glossaries");
1080
1081 $this->toolbar->addButton(
1082 $this->lng->txt("add"),
1083 $this->ctrl->getLinkTarget($this, "showGlossarySelector")
1084 );
1085
1086 $table = $this->domain->table()->getGlossaryAutoLinkTable($this->getGlossary())->getComponent();
1087
1088 $this->tpl->setContent($this->ui_ren->render($table));
1089 }
setSettingsSubTabs(string $a_active)

References ILIAS\Repository\lng(), ILIAS\Repository\tabs(), and ILIAS\Repository\toolbar().

+ Here is the call graph for this function:

◆ executeCommand()

ilObjGlossaryGUI::executeCommand ( )

Reimplemented from ilObjectGUI.

Definition at line 160 of file class.ilObjGlossaryGUI.php.

160 : void
161 {
162 $cmd = $this->ctrl->getCmd();
163 $next_class = $this->ctrl->getNextClass($this);
164
165 $this->log->debug("glossary term, next class " . $next_class . ", cmd: " . $cmd);
166
167 switch ($next_class) {
168 case 'ilobjectmetadatagui':
169 $this->checkPermission("write");
170
171 $this->getTemplate();
172 $this->setTabs();
173 $this->setLocator();
174 $this->addHeaderAction();
175
176 $this->tabs_gui->activateTab('meta_data');
177 $md_gui = new ilObjectMetaDataGUI($this->object, 'term');
178 $this->ctrl->forwardCommand($md_gui);
179 break;
180
181 case "ilglossarytermgui":
182 if (!$this->term_perm->checkPermission("edit_content", $this->term_id) &&
183 !$this->term_perm->checkPermission("write", $this->term_id)) {
184 throw new ilGlossaryException("No permission.");
185 }
186 $this->getTemplate();
187 $this->ctrl->setReturn($this, "listTerms");
188 $term_gui = new ilGlossaryTermGUI($this->term_id);
189 $term_gui->setGlossary($this->getGlossary());
190 $this->ctrl->forwardCommand($term_gui);
191 break;
192
193 case "ilinfoscreengui":
194 $this->addHeaderAction();
195 $this->showInfoScreen();
196 $this->tabs->activateTab("info_short");
197 break;
198
199 case "ilobjectcontentstylesettingsgui":
200 $this->checkPermission("write");
201 $this->prepareOutput();
202 $this->addHeaderAction();
203 $this->tabs_gui->activateTab("settings");
204 $this->setSettingsSubTabs("style");
205 $settings_gui = $this->content_style_gui
206 ->objectSettingsGUIForRefId(
207 null,
208 $this->object->getRefId()
209 );
210 $this->ctrl->forwardCommand($settings_gui);
211 break;
212
213
214 case 'ilpermissiongui':
215 if ($this->in_administration) {
216 $this->prepareOutput();
217 } else {
218 $this->getTemplate();
219 $this->setTabs();
220 $this->setLocator();
221 $this->addHeaderAction();
222 }
223 $perm_gui = new ilPermissionGUI($this);
224 $ret = $this->ctrl->forwardCommand($perm_gui);
225 break;
226
227 case "ilcommonactiondispatchergui":
229 $this->prepareOutput();
230 $this->ctrl->forwardCommand($gui);
231 break;
232
233 case strtolower(ilTaxonomySettingsGUI::class):
234 $this->getTemplate();
235 $this->setTabs();
236 $this->setLocator();
237 $this->addHeaderAction();
238 $this->tabs->activateTab("settings");
239 $this->setSettingsSubTabs("taxonomy");
240
241 $this->ctrl->setReturn($this, "properties");
242 $tax_gui = $this->taxonomy->gui()->getSettingsGUI(
243 $this->object->getId(),
244 $this->lng->txt("glo_tax_info"),
245 false,
246 $this
247 );
248 $ret = $this->ctrl->forwardCommand($tax_gui);
249 break;
250
251 case "ilexportgui":
252 $this->checkPermission("write");
253 $this->getTemplate();
254 $this->setTabs();
255 $this->tabs->activateTab("export");
256 $this->setLocator();
257 $exp_gui = new ilExportGUI($this);
258 $ret = $this->ctrl->forwardCommand($exp_gui);
259 break;
260
261 case 'ilobjectcopygui':
262 $this->prepareOutput();
263 $cp = new ilObjectCopyGUI($this);
264 $cp->setType('glo');
265 $this->ctrl->forwardCommand($cp);
266 break;
267
268 case "ilglossaryforeigntermcollectorgui":
269 if (!$this->rbacsystem->checkAccess('write', $this->object->getRefId()) &&
270 !$this->rbacsystem->checkAccess('edit_content', $this->object->getRefId())) {
271 throw new ilGlossaryException("No permission.");
272 }
273 $this->ctrl->setReturn($this, "");
274 $this->getTemplate();
275 $this->setTabs();
276 $this->setLocator();
277 $this->addHeaderAction();
279 $this->ctrl->forwardCommand($coll);
280 break;
281
282 case "iltermdefinitionbulkcreationgui":
283 if (!$this->rbacsystem->checkAccess('write', $this->object->getRefId()) &&
284 !$this->rbacsystem->checkAccess('edit_content', $this->object->getRefId())) {
285 throw new ilGlossaryException("No permission.");
286 }
287 $this->ctrl->setReturn($this, "listTerms");
288 $this->ctrl->forwardCommand($this->term_def_bulk_gui);
289 break;
290
291 case strtolower(ilMediaObjectOverviewGUI::class):
292 if (!$this->rbacsystem->checkAccess('write', $this->object->getRefId()) &&
293 !$this->rbacsystem->checkAccess('edit_content', $this->object->getRefId())) {
294 throw new ilGlossaryException("No permission.");
295 }
296
297 $this->getTemplate();
298 $this->setTabs();
299 $this->tabs->activateTab("media");
300 $this->setLocator();
301
302 $retrieval = new TermPageRetrieval($this->getGlossary(), $this->ctrl);
303 $gui = new ilMediaObjectOverviewGUI($retrieval);
304 $this->ctrl->forwardCommand($gui);
305 break;
306
307 case strtolower(SettingsGUI::class):
308 $this->checkPermission("write");
309 $this->getTemplate();
310 $this->setTabs();
311 $this->tabs->activateTab("settings");
312 $this->setLocator();
313 $this->setSettingsSubTabs("general_settings");
314 $this->checkPermission("write");
315 $gui = $this->gui->settings()->settingsGUI(
316 $this->object->getId(),
317 $this->requested_ref_id,
318 $this->getCreationMode(),
319 $this,
320 $this->object
321 );
322 $this->ctrl->forwardCommand($gui);
323 break;
324
325 default:
326 if (!$this->rbacsystem->checkAccess('write', $this->object->getRefId()) &&
327 !$this->rbacsystem->checkAccess('edit_content', $this->object->getRefId())) {
328 throw new ilGlossaryException("No permission.");
329 }
330 $cmd = $this->ctrl->getCmd("listTerms");
331
332 if (($cmd == "create") && ($this->edit_request->getNewType() == "term")) {
333 $this->ctrl->redirectByClass(ilGlossaryTermGUI::class, "create");
334 } else {
335 if ($this->in_administration ||
336 $this->getCreationMode()) {
337 $this->prepareOutput();
338 $cmd .= "Object";
339 } else {
340 $this->getTemplate();
341 $this->setTabs();
342 $this->setLocator();
343 $this->addHeaderAction();
344
345 if ($cmd == "redrawHeaderAction") {
346 $cmd = "redrawHeaderActionObject";
347 }
348 }
349 $this->$cmd();
350 }
351 break;
352 }
353
354 if (!$this->in_administration && !$this->getCreationMode()) {
355 $this->tpl->printToStdout();
356 }
357 }
static getInstanceFromAjaxCall()
(Re-)Build instance from ajax call
Export User Interface Class.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
static getInstance(ilObjGlossaryGUI $a_glossary_gui)
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
GUI class for the workflow of copying objects.
checkPermission(string $perm, string $cmd="", string $type="", ?int $ref_id=null)
addHeaderAction()
Add header action menu.
setTabs()
set admin tabs
prepareOutput(bool $show_sub_objects=true)
Class ilObjectMetaDataGUI.
if(!file_exists('../ilias.ini.php'))

References $gui, ilObjectGUI\addHeaderAction(), ilObjectGUI\checkPermission(), ILIAS\Repository\ctrl(), ilObjectGUI\getCreationMode(), ilGlossaryForeignTermCollectorGUI\getInstance(), ilCommonActionDispatcherGUI\getInstanceFromAjaxCall(), getTemplate(), ILIAS\Repository\object(), ilObjectGUI\prepareOutput(), setLocator(), setSettingsSubTabs(), ilObjectGUI\setTabs(), showInfoScreen(), and ILIAS\Repository\tabs().

+ Here is the call graph for this function:

◆ exportHTML()

ilObjGlossaryGUI::exportHTML ( )

create html package

Definition at line 819 of file class.ilObjGlossaryGUI.php.

819 : void
820 {
821 $glo_exp = new ilGlossaryExport($this->getGlossary(), "html");
822 $glo_exp->buildExportFileHTML();
823 $this->ctrl->redirectByClass("ilexportgui", "");
824 }
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...

References ILIAS\Repository\ctrl().

+ Here is the call graph for this function:

◆ getActions()

ilObjGlossaryGUI::getActions ( int  $tax_id)

Implements ILIAS\Taxonomy\Settings\ModifierGUIInterface.

Definition at line 548 of file class.ilObjGlossaryGUI.php.

550 : array {
551 $actions = [];
552 $this->ctrl->setParameterByClass(self::class, "glo_tax_id", $tax_id);
553 $active = $this->object->getShowTaxonomy();
554 if (!$active) {
555 $actions[] = $this->ui->factory()->button()->shy(
556 $this->lng->txt("glo_show_in_presentation_on"),
557 $this->ctrl->getLinkTargetByClass(
558 self::class,
559 "showTaxInPresentation"
560 )
561 );
562 } else {
563 $actions[] = $this->ui->factory()->button()->shy(
564 $this->lng->txt("glo_show_in_presentation_off"),
565 $this->ctrl->getLinkTargetByClass(
566 self::class,
567 "hideTaxInPresentation"
568 )
569 );
570 }
571 $this->ctrl->setParameterByClass(self::class, "glo_tax_id", null);
572
573 return $actions;
574 }

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

+ Here is the call graph for this function:

◆ getModalsToRender()

ilObjGlossaryGUI::getModalsToRender ( )
protected
Returns
\ILIAS\UI\Component\Modal\Interruptive[]

Definition at line 618 of file class.ilObjGlossaryGUI.php.

618 : array
619 {
621 }

◆ getProperties()

ilObjGlossaryGUI::getProperties ( int  $tax_id)

Implements ILIAS\Taxonomy\Settings\ModifierGUIInterface.

Definition at line 535 of file class.ilObjGlossaryGUI.php.

537 : array {
538 $active = $this->object->getShowTaxonomy();
539 $value = $active
540 ? $this->lng->txt("yes")
541 : $this->lng->txt("no");
542
543 return [
544 $this->lng->txt("glo_show_in_presentation") => $value
545 ];
546 }

◆ getTabs()

ilObjGlossaryGUI::getTabs ( )
protected

@abstract overwrite in derived GUI class of your object type

Reimplemented from ilObjectGUI.

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

880 : void
881 {
882 $this->help->setScreenIdComponent("glo");
883
884 // list terms
885 $cmd = $this->ctrl->getCmd();
886 $force_active = ($cmd == "" || $cmd == "listTerms");
887
888
889 if ($this->rbacsystem->checkAccess('write', $this->object->getRefId()) ||
890 $this->rbacsystem->checkAccess('edit_content', $this->object->getRefId())) {
891 $this->tabs_gui->addTab(
892 "content",
893 $this->lng->txt("content"),
894 $this->ctrl->getLinkTarget($this, "listTerms")
895 );
896
897 // media
898 $this->lng->loadLanguageModule('mob');
899 $this->tabs_gui->addTab(
900 "media",
901 $this->lng->txt("mob_media"),
902 $this->ctrl->getLinkTargetByClass(ilMediaObjectOverviewGUI::class, "show")
903 );
904 }
905
906 $this->tabs_gui->addTab(
907 "info_short",
908 $this->lng->txt("info_short"),
909 $this->ctrl->getLinkTargetByClass("ilinfoscreengui", "showSummary")
910 );
911
912 // properties
913 if ($this->rbacsystem->checkAccess('write', $this->object->getRefId())) {
914 $this->tabs_gui->addTab(
915 "settings",
916 $this->lng->txt("settings"),
917 $this->ctrl->getLinkTargetByClass(SettingsGUI::class)
918 );
919
920 // meta data
921 $mdgui = new ilObjectMetaDataGUI($this->object, "term");
922 $mdtab = $mdgui->getTab();
923 if ($mdtab) {
924 $this->tabs_gui->addTab(
925 "meta_data",
926 $this->lng->txt("meta_data"),
927 $mdtab
928 );
929 }
930
931 // export
932 $this->tabs_gui->addTab(
933 "export",
934 $this->lng->txt("export"),
935 $this->ctrl->getLinkTargetByClass("ilexportgui", "")
936 );
937 }
938
939 // permissions
940 if ($this->rbacsystem->checkAccess('edit_permission', $this->object->getRefId())) {
941 $this->tabs_gui->addTab(
942 "perm_settings",
943 $this->lng->txt("perm_settings"),
944 $this->ctrl->getLinkTargetByClass(array(get_class($this),'ilpermissiongui'), "perm")
945 );
946 }
947
948 $this->tabs_gui->addNonTabbedLink(
949 "presentation_view",
950 $this->lng->txt("glo_presentation_view"),
951 "ilias.php?baseClass=ilGlossaryPresentationGUI&amp;ref_id=" . $this->object->getRefId()
952 );
953 }

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

+ Here is the call graph for this function:

◆ getTemplate()

ilObjGlossaryGUI::getTemplate ( )

Definition at line 863 of file class.ilObjGlossaryGUI.php.

863 : void
864 {
865 $this->tpl->loadStandardTemplate();
866
867 $title = $this->object->getTitle();
868
869
870 if ($this->term_id > 0) {
871 $this->tpl->setTitle($this->lng->txt("term") . ": " .
872 ilGlossaryTerm::_lookGlossaryTerm($this->term_id));
873 } else {
874 parent::setTitleAndDescription();
875 $this->tpl->setTitleIcon(ilUtil::getImagePath("standard/icon_glo.svg"));
876 $this->tpl->setTitle($this->lng->txt("glo") . ": " . $title);
877 }
878 }
static _lookGlossaryTerm(int $term_id)
get glossary term
static getImagePath(string $image_name, string $module_path="", string $mode="output", bool $offline=false)
get image path (for images located in a template directory)

References ilGlossaryTerm\_lookGlossaryTerm(), ilUtil\getImagePath(), and ILIAS\Repository\lng().

Referenced by executeCommand(), and showInfoScreen().

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

◆ hideTaxInPresentation()

ilObjGlossaryGUI::hideTaxInPresentation ( )
protected

Definition at line 583 of file class.ilObjGlossaryGUI.php.

583 : void
584 {
585 $this->object->setShowTaxonomy(false);
586 $this->object->update();
587 $this->ctrl->redirectByClass(ilTaxonomySettingsGUI::class);
588 }

References ILIAS\Repository\ctrl().

+ Here is the call graph for this function:

◆ importObject()

ilObjGlossaryGUI::importObject ( )

Definition at line 406 of file class.ilObjGlossaryGUI.php.

406 : void
407 {
408 $this->createObject();
409 }
createObject()
create new object form

References ilObjectGUI\createObject().

+ Here is the call graph for this function:

◆ initCreateForm()

ilObjGlossaryGUI::initCreateForm ( string  $new_type)
protected

Reimplemented from ilObjectGUI.

Definition at line 377 of file class.ilObjGlossaryGUI.php.

378 {
379 $form = new ilPropertyFormGUI();
380 $form->setTarget("_top");
381 $form->setFormAction($this->ctrl->getFormAction($this));
382 $form->setTitle($this->lng->txt($new_type . "_new"));
383
384 // title
385 $ti = new ilTextInputGUI($this->lng->txt("title"), "title");
386 $ti->setSize(min(40, ilObject::TITLE_LENGTH));
387 $ti->setMaxLength(ilObject::TITLE_LENGTH);
388 $ti->setRequired(true);
389 $form->addItem($ti);
390
391 // description
392 $ta = new ilTextAreaInputGUI($this->lng->txt("description"), "desc");
393 $ta->setCols(40);
394 $ta->setRows(2);
395 $form->addItem($ta);
396
397 // didactic template
399
400 $form->addCommandButton("save", $this->lng->txt($new_type . "_add"));
401 $form->addCommandButton("cancel", $this->lng->txt("cancel"));
402
403 return $form;
404 }
setFormAction(string $a_formaction)
setTarget(string $a_target)
ilPropertyFormGUI $form
initDidacticTemplate(ilPropertyFormGUI $form)
const TITLE_LENGTH
This class represents a property form user interface.
addCommandButton(string $a_cmd, string $a_text, string $a_id="")
This class represents a text area property in a property form.
This class represents a text property in a property form.

References $form, ilPropertyFormGUI\addCommandButton(), ilPropertyFormGUI\addItem(), ILIAS\Repository\ctrl(), ilObjectGUI\initDidacticTemplate(), ILIAS\Repository\lng(), ilFormGUI\setFormAction(), ilFormGUI\setTarget(), ilPropertyFormGUI\setTitle(), and ilObject\TITLE_LENGTH.

Referenced by saveObject().

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

◆ listTerms()

ilObjGlossaryGUI::listTerms ( )

Definition at line 590 of file class.ilObjGlossaryGUI.php.

590 : void
591 {
592 $this->tabs->activateTab("content");
593
594 $this->showTaxonomy();
595
596 $panel_html = "";
597 $modals = "";
598 $tab_html = "";
599 if ($this->object->isVirtual()) {
601 $panel = $this->showSelectedGlossariesForCollection();
602 $panel_html = $this->ui_ren->render($panel);
603 $modals = $this->ui_ren->render($this->getModalsToRender());
604 } else {
605 $this->showToolbarForStandard();
606 $table = $this->domain->table()->getTermListTable($this->getGlossary(), $this->tax_node)->getComponent();
607 $tab_html = $this->ui_ren->render($table);
608 }
609
610 $this->tabs->activateTab("content");
611
612 $this->tpl->setContent($panel_html . $modals . $tab_html);
613 }
showTaxonomy()
Show taxonomy.

References ILIAS\Repository\object(), and ILIAS\Repository\tabs().

+ Here is the call graph for this function:

◆ pasteTerms()

ilObjGlossaryGUI::pasteTerms ( )

Definition at line 1243 of file class.ilObjGlossaryGUI.php.

1243 : void
1244 {
1245 if (ilEditClipboard::getAction() == "copy") {
1246 foreach ($this->user->getClipboardObjects("term") as $item) {
1247 ilGlossaryTerm::_copyTerm($item["id"], $this->object->getId());
1248 }
1249 }
1250 if (ilEditClipboard::getAction() == "link") {
1251 $refs = new ilGlossaryTermReferences($this->object->getId());
1252 foreach ($this->user->getClipboardObjects("term") as $item) {
1253 $refs->addTerm($item["id"]);
1254 }
1255 $refs->update();
1256 }
1257 $this->tpl->setOnScreenMessage('success', $this->lng->txt("msg_obj_modified"), true);
1258 $this->ctrl->redirect($this, "listTerms");
1259 }
static _copyTerm(int $a_term_id, int $a_glossary_id)
Copy a term to a glossary.

References ilGlossaryTerm\_copyTerm(), ILIAS\Repository\ctrl(), ilEditClipboard\getAction(), ILIAS\Repository\lng(), ILIAS\Repository\object(), and ILIAS\Repository\user().

+ Here is the call graph for this function:

◆ properties()

ilObjGlossaryGUI::properties ( )

Definition at line 530 of file class.ilObjGlossaryGUI.php.

530 : void
531 {
532 $this->ctrl->redirectByClass(SettingsGUI::class);
533 }

References ILIAS\Repository\ctrl().

+ Here is the call graph for this function:

◆ putTermsIntoClipBoard()

ilObjGlossaryGUI::putTermsIntoClipBoard ( )
protected

Definition at line 1186 of file class.ilObjGlossaryGUI.php.

1186 : void
1187 {
1188 $this->user->clipboardDeleteObjectsOfType("term");
1189 $time = date("Y-m-d H:i:s");
1190 $order = 0;
1191 if (($this->requested_table_glossary_term_list_action === "copyTerms"
1192 || $this->requested_table_glossary_term_list_action === "referenceTerms")
1193 && !empty($this->requested_table_glossary_term_list_ids)
1194 && $this->requested_table_glossary_term_list_ids[0] === "ALL_OBJECTS"
1195 ) {
1196 $terms = $this->object->getTermList(
1197 "",
1198 "",
1199 "",
1200 $this->tax_node,
1201 true,
1202 true,
1203 null,
1204 false,
1205 true
1206 );
1207 foreach ($terms as $term) {
1208 $this->user->addObjectToClipboard(
1209 (int) $term["id"],
1210 "term",
1212 0,
1213 $time,
1214 $order
1215 );
1216 }
1217 } elseif ($this->requested_table_glossary_term_list_action === "copyTerms"
1218 || $this->requested_table_glossary_term_list_action === "referenceTerms") {
1219 foreach ($this->requested_table_glossary_term_list_ids as $term_id) {
1220 $this->user->addObjectToClipboard(
1221 (int) $term_id,
1222 "term",
1224 0,
1225 $time,
1226 $order
1227 );
1228 }
1229 }
1230 if (empty($this->requested_table_glossary_term_list_ids)) {
1231 $this->tpl->setOnScreenMessage('failure', $this->lng->txt("no_checkbox"), true);
1232 $this->ctrl->redirect($this, "listTerms");
1233 }
1234 }

References ilGlossaryTerm\_lookGlossaryTerm(), ILIAS\Repository\ctrl(), ILIAS\Repository\lng(), and ILIAS\Repository\user().

+ Here is the call graph for this function:

◆ referenceTerms()

ilObjGlossaryGUI::referenceTerms ( )

Add terms to be referenced to clipboard.

Definition at line 1177 of file class.ilObjGlossaryGUI.php.

1177 : void
1178 {
1179 $this->putTermsIntoClipBoard();
1180
1182 $this->tpl->setOnScreenMessage('info', $this->lng->txt("glo_selected_terms_have_been_copied"), true);
1183 $this->ctrl->redirect($this, "listTerms");
1184 }

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

+ Here is the call graph for this function:

◆ removeGlossary()

ilObjGlossaryGUI::removeGlossary ( )

Definition at line 1153 of file class.ilObjGlossaryGUI.php.

1153 : void
1154 {
1155 $this->object->removeAutoGlossary($this->edit_request->getGlossaryIdInModal());
1156 $this->object->update();
1157
1158 $this->tpl->setOnScreenMessage('success', $this->lng->txt("msg_obj_modified"), true);
1159 $this->ctrl->redirect($this, "editGlossaries");
1160 }

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

+ Here is the call graph for this function:

◆ removeGlossaryFromCollection()

ilObjGlossaryGUI::removeGlossaryFromCollection ( )

Definition at line 766 of file class.ilObjGlossaryGUI.php.

766 : void
767 {
768 $glo_id = $this->edit_request->getGlossaryIdInModal();
769 $this->object->removeGlossaryFromCollection($glo_id);
770 $this->tpl->setOnScreenMessage("success", $this->lng->txt("glo_removed_from_collection_info"), true);
771 $this->ctrl->redirect($this, "listTerms");
772 }

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

+ Here is the call graph for this function:

◆ saveGlossaryForCollection()

ilObjGlossaryGUI::saveGlossaryForCollection ( )

Definition at line 754 of file class.ilObjGlossaryGUI.php.

754 : void
755 {
756 $selected_glo = new ilObjGlossary($this->edit_request->getSelectedGlossaryRefId(), true);
757 if ($selected_glo->getId() === $this->object->getId()) {
758 $this->tpl->setOnScreenMessage("info", $this->lng->txt("glo_selected_glossary_is_current_info"), true);
759 } else {
760 $this->object->addGlossaryForCollection($selected_glo->getId());
761 $this->tpl->setOnScreenMessage("success", $this->lng->txt("glo_added_to_collection_info"), true);
762 }
763 $this->ctrl->redirect($this, "listTerms");
764 }

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

+ Here is the call graph for this function:

◆ saveObject()

ilObjGlossaryGUI::saveObject ( )

Reimplemented from ilObjectGUI.

Definition at line 411 of file class.ilObjGlossaryGUI.php.

411 : void
412 {
413 $new_type = $this->edit_request->getNewType();
414
415 // create permission is already checked in createObject. This check here is done to prevent hacking attempts
416 if (!$this->checkPermissionBool("create", "", $new_type)) {
417 throw new ilPermissionException($this->lng->txt("no_create_permission"));
418 }
419
420 $this->lng->loadLanguageModule($new_type);
421 $this->ctrl->setParameter($this, "new_type", $new_type);
422
423 $form = $this->initCreateForm($new_type);
424 if ($form->checkInput()) {
425 $this->ctrl->setParameter($this, "new_type", "");
426
427 $newObj = new ilObjGlossary();
428 $newObj->setType($new_type);
429 $newObj->setTitle($form->getInput("title"));
430 $newObj->setDescription($form->getInput("desc"));
431 $newObj->setVirtualMode("none");
432 $newObj->create();
433
434 $this->putObjectInTree($newObj);
435
436 // apply didactic template?
437 $dtpl = $this->getDidacticTemplateVar("dtpl");
438 if ($dtpl) {
439 $newObj->applyDidacticTemplate($dtpl);
440 }
441
442 // always send a message
443 $this->tpl->setOnScreenMessage('success', $this->lng->txt("glo_added"), true);
444 $this->ctrl->setParameterByClass(
445 ilObjGlossaryGUI::class,
446 "ref_id",
447 $newObj->getRefId()
448 );
449 $this->ctrl->redirectByClass(
450 [ilGlossaryEditorGUI::class, ilObjGlossaryGUI::class],
451 "properties"
452 );
453 }
454
455 // display only this form to correct input
457 $this->tpl->setContent($form->getHTML());
458 }
initCreateForm(string $new_type)
checkPermissionBool(string $perm, string $cmd="", string $type="", ?int $ref_id=null)
putObjectInTree(ilObject $obj, ?int $parent_node_id=null)
Add object to tree at given position.
getDidacticTemplateVar(string $type)
Get didactic template setting from creation screen.
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 $form, ilPropertyFormGUI\checkInput(), ilObjectGUI\checkPermissionBool(), ILIAS\Repository\ctrl(), ilObjectGUI\getDidacticTemplateVar(), ilPropertyFormGUI\getHTML(), ilPropertyFormGUI\getInput(), initCreateForm(), ILIAS\Repository\lng(), ilObjectGUI\putObjectInTree(), and ilPropertyFormGUI\setValuesByPost().

+ Here is the call graph for this function:

◆ selectGlossary()

ilObjGlossaryGUI::selectGlossary ( )

Select auto glossary.

Definition at line 1138 of file class.ilObjGlossaryGUI.php.

1138 : void
1139 {
1140 $glos = $this->object->getAutoGlossaries();
1141 $glo_ref_id = $this->edit_request->getGlossaryRefId();
1142 $glo_id = ilObject::_lookupObjId($glo_ref_id);
1143 if (!in_array($glo_id, $glos)) {
1144 $glos[] = $glo_id;
1145 }
1146 $this->object->setAutoGlossaries($glos);
1147 $this->object->update();
1148
1149 $this->tpl->setOnScreenMessage('success', $this->lng->txt("msg_obj_modified"), true);
1150 $this->ctrl->redirect($this, "editGlossaries");
1151 }

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

+ Here is the call graph for this function:

◆ selectGlossaryLink()

ilObjGlossaryGUI::selectGlossaryLink ( )

Select a glossary and link all its terms.

Definition at line 1127 of file class.ilObjGlossaryGUI.php.

1127 : void
1128 {
1129 $glo_ref_id = $this->edit_request->getGlossaryRefId();
1130 $this->object->autoLinkGlossaryTerms($glo_ref_id);
1131 $this->selectGlossary();
1132 }
selectGlossary()
Select auto glossary.

◆ setContentStyleSheet()

ilObjGlossaryGUI::setContentStyleSheet ( ?ilGlobalTemplateInterface  $a_tpl = null)

Definition at line 1020 of file class.ilObjGlossaryGUI.php.

1022 : void {
1023 if ($a_tpl != null) {
1024 $ctpl = $a_tpl;
1025 } else {
1026 $ctpl = $this->tpl;
1027 }
1028
1029 $this->content_style_gui->addCss($ctpl, $this->object->getRefId());
1030 }
ilGlobalTemplateInterface $tpl
addCss(string $a_css_file, string $media="screen")
Add a css file that should be included in the header.

◆ setLocator()

ilObjGlossaryGUI::setLocator ( )
protected

Reimplemented from ilObjectGUI.

Definition at line 844 of file class.ilObjGlossaryGUI.php.

844 : void
845 {
846 if (strtolower($this->edit_request->getBaseClass()) != "ilglossaryeditorgui") {
847 parent::setLocator();
848 } elseif (is_object($this->object)) {
849 $gloss_loc = new ilGlossaryLocatorGUI();
850 if (is_object($this->term)) {
851 $gloss_loc->setTerm($this->term);
852 }
853 $gloss_loc->setGlossary($this->getGlossary());
854 $gloss_loc->display();
855 }
856 }

Referenced by executeCommand(), and showInfoScreen().

+ Here is the caller graph for this function:

◆ setSettingsSubTabs()

ilObjGlossaryGUI::setSettingsSubTabs ( string  $a_active)

Definition at line 955 of file class.ilObjGlossaryGUI.php.

955 : void
956 {
957 if (in_array(
958 $a_active,
959 array("general_settings", "style", "taxonomy", "glossaries")
960 )) {
961 // general properties
962 $this->tabs->addSubTab(
963 "general_settings",
964 $this->lng->txt("settings"),
965 $this->ctrl->getLinkTarget($this, 'properties')
966 );
967
968 // style properties
969 $this->tabs->addSubTab(
970 "style",
971 $this->lng->txt("obj_sty"),
972 $this->ctrl->getLinkTargetByClass("ilobjectcontentstylesettingsgui", '')
973 );
974
975 $this->taxonomy->gui()->addSettingsSubTab($this->getObject()->getId());
976
977 // style properties
978 $this->tabs->addSubTab(
979 "glossaries",
980 $this->lng->txt("cont_auto_glossaries"),
981 $this->ctrl->getLinkTarget($this, 'editGlossaries')
982 );
983
984 $this->tabs->activateSubTab($a_active);
985 }
986 }

References ILIAS\Survey\Mode\getId(), ILIAS\Repository\lng(), and ILIAS\Repository\tabs().

Referenced by executeCommand().

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

◆ showGlossarySelector()

ilObjGlossaryGUI::showGlossarySelector ( )

Show auto glossary selection.

Definition at line 1094 of file class.ilObjGlossaryGUI.php.

1094 : void
1095 {
1096 $this->tabs->setTabActive("settings");
1097 $this->setSettingsSubTabs("glossaries");
1098
1099 $exp = new ilSearchRootSelector($this->ctrl->getLinkTarget($this, 'showGlossarySelector'));
1100 $search_root_expand = $this->edit_request->getSearchRootExpand();
1101 $exp->setExpand($search_root_expand ?: $this->tree->readRootId());
1102 $exp->setExpandTarget($this->ctrl->getLinkTarget($this, 'showGlossarySelector'));
1103 $exp->setTargetClass(get_class($this));
1104 $exp->setCmd('confirmGlossarySelection');
1105 $exp->setClickableTypes(array("glo"));
1106 $exp->addFilter("glo");
1107
1108 // build html-output
1109 $exp->setOutput(0);
1110 $this->tpl->setContent($exp->getOutput());
1111 }

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

+ Here is the call graph for this function:

◆ showInfoScreen()

ilObjGlossaryGUI::showInfoScreen ( )

Definition at line 460 of file class.ilObjGlossaryGUI.php.

460 : void
461 {
462 $this->getTemplate();
463 $this->setTabs();
464 $this->setLocator();
465 $this->lng->loadLanguageModule("meta");
466
467 $info = new ilInfoScreenGUI($this);
468 $info->enablePrivateNotes();
469 $info->enableNews();
470 if ($this->access->checkAccess("write", "", $this->requested_ref_id)) {
471 $info->enableNewsEditing();
472 $news_set = new ilSetting("news");
473 $enable_internal_rss = $news_set->get("enable_rss_for_internal");
474 if ($enable_internal_rss) {
475 $info->setBlockProperty("news", "settings", true);
476 }
477 }
478 $info->addMetaDataSections($this->object->getId(), 0, $this->object->getType());
479
480 self::addUsagesToInfo($info, $this->object->getId());
481
482 $this->ctrl->forwardCommand($info);
483 }
Class ilInfoScreenGUI.
static addUsagesToInfo(ilInfoScreenGUI $info, int $glo_id)
Add usages to info screen.
ILIAS Setting Class.

References $info, ILIAS\Repository\access(), addUsagesToInfo(), ILIAS\Repository\ctrl(), getTemplate(), ILIAS\Repository\lng(), ILIAS\Repository\object(), setLocator(), and ilObjectGUI\setTabs().

Referenced by executeCommand().

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

◆ showModalForCollection()

ilObjGlossaryGUI::showModalForCollection ( )

Definition at line 737 of file class.ilObjGlossaryGUI.php.

738 {
740 $this,
741 "showModalForCollection",
742 $this,
743 "saveGlossaryForCollection",
744 "sel_glo_ref_id"
745 );
746 $modal = $this->ui_fac->modal()->roundtrip(
747 $this->lng->txt("glo_add_to_collection"),
748 $this->ui_fac->legacy()->content(!$exp->handleCommand() ? $exp->getHTML(true) : "")
749 );
750
751 return $modal;
752 }

References ILIAS\Repository\lng().

+ Here is the call graph for this function:

◆ showSelectedGlossariesForCollection()

ilObjGlossaryGUI::showSelectedGlossariesForCollection ( )
Returns
\ILIAS\UI\Component\Component[]

Definition at line 681 of file class.ilObjGlossaryGUI.php.

681 : array
682 {
683 $items = [];
684 $glo_ids = $this->object->getAllGlossaryIds(true);
685 $at_least_one_glossary = false;
686 foreach ($glo_ids as $glo_id) {
687 if ($this->object->getId() === $glo_id) {
688 continue;
689 }
690 $glossary = new ilObjGlossary($glo_id, false);
691 $glo_ref_id = current(ilObject::_getAllReferences($glossary->getId()));
692 $glo_link = $this->ui_fac->link()->standard($glossary->getTitle(), ilLink::_getLink($glo_ref_id));
693 $glo_item = $this->ui_fac->item()->standard($glo_link);
694 $glo_item = $glo_item->withDescription($glossary->getDescription());
695 $form_action = $this->ctrl->getFormActionByClass(ilObjGlossaryGUI::class, "removeGlossaryFromCollection");
696 $delete_modal = $this->ui_fac->modal()->interruptive(
697 "",
698 $this->lng->txt("glo_really_remove_from_collection"),
700 )->withAffectedItems([
701 $this->ui_fac->modal()->interruptiveItem()->standard(
702 $glossary->getId(),
703 $glossary->getTitle(),
704 $this->ui_fac->image()->standard(
705 ilObject::_getIcon($glossary->getId(), "small", $glossary->getType()),
706 $this->lng->txt("icon") . " " . $this->lng->txt("obj_" . $glossary->getType())
707 )
708 )
709 ]);
710 $actions = $this->ui_fac->dropdown()->standard([
711 $this->ui_fac->button()->shy($this->lng->txt("remove"), "")->withOnClick($delete_modal->getShowSignal()),
712 ]);
713 $glo_item = $glo_item->withActions($actions);
714
715 $items[] = $glo_item;
716 $this->modals_to_render[] = $delete_modal;
717 $at_least_one_glossary = true;
718 }
719
720 $components = [];
721 if (!$at_least_one_glossary) {
722 $message_box = $this->ui_fac->messageBox()->info($this->lng->txt("glo_collection_empty_info"));
723 $components[] = $message_box;
724 }
725 if (!empty($items)) {
726 $item_group = $this->ui_fac->item()->group($this->lng->txt("glo_selected_glossaries_info"), $items);
727 $panel = $this->ui_fac->panel()->listing()->standard(
728 $this->lng->txt("glo_selected_glossaries"),
729 [$item_group]
730 );
731 $components[] = $panel;
732 }
733
734 return $components;
735 }
$components
static _getIcon(int $obj_id=0, string $size="big", string $type="", bool $offline=false)
Get icon for repository item.

References $components, ilObject\_getAllReferences(), ilObject\_getIcon(), ILIAS\Repository\ctrl(), ILIAS\Repository\lng(), and ILIAS\Repository\object().

+ Here is the call graph for this function:

◆ showTaxInPresentation()

ilObjGlossaryGUI::showTaxInPresentation ( )
protected

Definition at line 576 of file class.ilObjGlossaryGUI.php.

576 : void
577 {
578 $this->object->setShowTaxonomy(true);
579 $this->object->update();
580 $this->ctrl->redirectByClass(ilTaxonomySettingsGUI::class);
581 }

References ILIAS\Repository\ctrl().

+ Here is the call graph for this function:

◆ showTaxonomy()

ilObjGlossaryGUI::showTaxonomy ( )

Show taxonomy.

Definition at line 1035 of file class.ilObjGlossaryGUI.php.

1035 : void
1036 {
1038
1039 if (is_null($this->tax_manager) || !$this->tax_manager->showInEditing()) {
1040 return;
1041 }
1042
1043 $tool_context = $this->global_screen->tool()->context()->current();
1044
1045 $tax_id = $this->tax_manager->getTaxonomyId();
1046
1047 $tool_context->addAdditionalData(
1049 true
1050 );
1051 $tool_context->addAdditionalData(
1054 );
1055 $tool_context->addAdditionalData(
1057 $tax_id
1058 );
1059 $tool_context->addAdditionalData(
1061 "listTerms"
1062 );
1063 $tool_context->addAdditionalData(
1065 "showTaxonomy"
1066 );
1067 }
getCurrentClassPath()
@inheritDoc

References ilTaxonomyGSToolProvider\SHOW_TAX_TREE, ilTaxonomyGSToolProvider\TAX_ID, ilTaxonomyGSToolProvider\TAX_TREE_CMD, ilTaxonomyGSToolProvider\TAX_TREE_GUI_PATH, and ilTaxonomyGSToolProvider\TAX_TREE_PARENT_CMD.

◆ showToolbarForCollection()

ilObjGlossaryGUI::showToolbarForCollection ( )

Definition at line 670 of file class.ilObjGlossaryGUI.php.

670 : void
671 {
672 $modal = $this->showModalForCollection();
673 $button = $this->ui_fac->button()->standard($this->lng->txt("glo_add_glossary"), "")->withOnClick($modal->getShowSignal());
674 $this->modals_to_render[] = $modal;
675 $this->toolbar->addComponent($button);
676 }

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

+ Here is the call graph for this function:

◆ showToolbarForStandard()

ilObjGlossaryGUI::showToolbarForStandard ( )

Definition at line 623 of file class.ilObjGlossaryGUI.php.

623 : void
624 {
625 // term
626 $ti = new ilTextInputGUI($this->lng->txt("cont_new_term"), "new_term");
627 $ti->setMaxLength(80);
628 $ti->setSize(20);
629 $this->toolbar->addInputItem($ti, true);
630
631 // language
632 $this->lng->loadLanguageModule("meta");
633 $lang = $this->domain->metadata()->getLOMLanguagesForSelectInputs();
634 $session_lang = $this->term_manager->getSessionLang();
635 if ($session_lang != "") {
636 $s_lang = $session_lang;
637 } else {
638 $s_lang = $this->user->getLanguage();
639 }
640 $si = new ilSelectInputGUI($this->lng->txt("language"), "term_language");
641 $si->setOptions($lang);
642 $si->setValue($s_lang);
643 $this->toolbar->addInputItem($si, true);
644
645 $this->toolbar->setFormAction($this->ctrl->getFormAction($this));
646 $this->toolbar->addFormButton($this->lng->txt("glo_add_new_term"), "addTerm");
647
648 $this->toolbar->addSeparator();
649
650 //ilEditClipboard::getAction() == "copy"
651 if ($this->user->clipboardHasObjectsOfType("term")) {
652 $this->toolbar->addButton(
653 $this->lng->txt("paste"),
654 $this->ctrl->getLinkTarget($this, "pasteTerms")
655 );
656 $this->toolbar->addButton(
657 $this->lng->txt("clear_clipboard"),
658 $this->ctrl->getLinkTarget($this, "clearClipboard")
659 );
660 } else {
661 $this->toolbar->addButton(
662 $this->lng->txt("glo_add_from_other"),
663 $this->ctrl->getLinkTargetByClass("ilglossaryforeigntermcollectorgui", "")
664 );
665 }
666
667 $this->term_def_bulk_gui->modifyToolbar($this->toolbar);
668 }
This class represents a selection list property in a property form.

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

+ Here is the call graph for this function:

◆ view()

ilObjGlossaryGUI::view ( )

Definition at line 858 of file class.ilObjGlossaryGUI.php.

858 : void
859 {
860 $this->viewObject();
861 }
viewObject()
viewObject container presentation for "administration -> repository, trash, permissions"

◆ viewObject()

ilObjGlossaryGUI::viewObject ( )

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

Reimplemented from ilObjectGUI.

Definition at line 518 of file class.ilObjGlossaryGUI.php.

518 : void
519 {
520 if ($this->in_administration) {
521 parent::viewObject();
522 return;
523 }
524
525 if (!$this->rbacsystem->checkAccess("visible,read", $this->object->getRefId())) {
526 throw new ilPermissionException($this->lng->txt("permission_denied"));
527 }
528 }

References ILIAS\Repository\lng().

+ Here is the call graph for this function:

Field Documentation

◆ $content_style_domain

ILIAS Style Content Object ObjectFacade ilObjGlossaryGUI::$content_style_domain
protected

Definition at line 59 of file class.ilObjGlossaryGUI.php.

◆ $content_style_gui

ILIAS Style Content GUIService ilObjGlossaryGUI::$content_style_gui
protected

Definition at line 58 of file class.ilObjGlossaryGUI.php.

◆ $domain

ILIAS Glossary InternalDomainService ilObjGlossaryGUI::$domain
protected

Definition at line 37 of file class.ilObjGlossaryGUI.php.

Referenced by __construct().

◆ $edit_request

ILIAS Glossary Editing EditingGUIRequest ilObjGlossaryGUI::$edit_request
protected

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

◆ $form

ilPropertyFormGUI ilObjGlossaryGUI::$form
protected

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

Referenced by initCreateForm(), and saveObject().

◆ $global_screen

ILIAS GlobalScreen Services ilObjGlossaryGUI::$global_screen
protected

Definition at line 35 of file class.ilObjGlossaryGUI.php.

◆ $gui

ILIAS Glossary InternalGUIService ilObjGlossaryGUI::$gui
protected

Definition at line 38 of file class.ilObjGlossaryGUI.php.

Referenced by __construct(), and executeCommand().

◆ $gui_presentation_service

ILIAS Glossary Presentation GUIService ilObjGlossaryGUI::$gui_presentation_service
protected

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

◆ $help

ilHelpGUI ilObjGlossaryGUI::$help
protected

Definition at line 55 of file class.ilObjGlossaryGUI.php.

◆ $in_administration

bool ilObjGlossaryGUI::$in_administration = false
protected

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

◆ $log

ilLogger ilObjGlossaryGUI::$log
protected

Definition at line 57 of file class.ilObjGlossaryGUI.php.

◆ $modals_to_render

array ilObjGlossaryGUI::$modals_to_render = []
protected

Definition at line 62 of file class.ilObjGlossaryGUI.php.

◆ $rbacsystem

ilRbacSystem ilObjGlossaryGUI::$rbacsystem
protected

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

◆ $requested_table_glossary_term_list_action

string ilObjGlossaryGUI::$requested_table_glossary_term_list_action = ""
protected

Definition at line 63 of file class.ilObjGlossaryGUI.php.

◆ $requested_table_glossary_term_list_ids

array ilObjGlossaryGUI::$requested_table_glossary_term_list_ids = []
protected

Definition at line 67 of file class.ilObjGlossaryGUI.php.

◆ $setting

ilSetting ilObjGlossaryGUI::$setting
protected

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

◆ $tabs

ilTabsGUI ilObjGlossaryGUI::$tabs
protected

Definition at line 53 of file class.ilObjGlossaryGUI.php.

◆ $tax

ilObjTaxonomy ilObjGlossaryGUI::$tax
protected

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

◆ $tax_id

ilObjGlossaryGUI::$tax_id
protected

Definition at line 45 of file class.ilObjGlossaryGUI.php.

◆ $tax_manager

ILIAS Glossary Taxonomy TaxonomyManager ilObjGlossaryGUI::$tax_manager = null
protected

Definition at line 36 of file class.ilObjGlossaryGUI.php.

◆ $tax_node

int ilObjGlossaryGUI::$tax_node = 0
protected

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

Referenced by __construct().

◆ $taxonomy

ILIAS Taxonomy Service ilObjGlossaryGUI::$taxonomy
protected

Definition at line 40 of file class.ilObjGlossaryGUI.php.

◆ $term

ilGlossaryTerm ilObjGlossaryGUI::$term = null

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

◆ $term_def_bulk_gui

ilTermDefinitionBulkCreationGUI ilObjGlossaryGUI::$term_def_bulk_gui
protected

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

◆ $term_id

int ilObjGlossaryGUI::$term_id = 0
protected

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

◆ $term_manager

ILIAS Glossary Term TermManager ilObjGlossaryGUI::$term_manager
protected

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

◆ $term_perm

ilGlossaryTermPermission ilObjGlossaryGUI::$term_perm
protected

Definition at line 56 of file class.ilObjGlossaryGUI.php.

◆ $ui

ILIAS DI UIServices ilObjGlossaryGUI::$ui
protected

Definition at line 39 of file class.ilObjGlossaryGUI.php.

◆ $ui_fac

ILIAS UI Factory ilObjGlossaryGUI::$ui_fac
protected

Definition at line 60 of file class.ilObjGlossaryGUI.php.

◆ $ui_ren

ILIAS UI Renderer ilObjGlossaryGUI::$ui_ren
protected

Definition at line 61 of file class.ilObjGlossaryGUI.php.


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