ILIAS  trunk Revision v12.0_alpha-1221-g4e438232683
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 994 of file class.ilObjGlossaryGUI.php.

994 : void
995 {
996 global $DIC;
997 $main_tpl = $DIC->ui()->mainTemplate();
998
999 $lng = $DIC->language();
1000 $ilAccess = $DIC->access();
1001 $ctrl = $DIC->ctrl();
1002
1003 if ($ilAccess->checkAccess("read", "", $a_target)) {
1004 $ctrl->setParameterByClass("ilGlossaryPresentationGUI", "ref_id", $a_target);
1005 $ctrl->redirectByClass("ilGlossaryPresentationGUI", "");
1006 } elseif ($ilAccess->checkAccess("visible", "", $a_target)) {
1007 $ctrl->setParameterByClass("ilGlossaryPresentationGUI", "ref_id", $a_target);
1008 $ctrl->redirectByClass("ilGlossaryPresentationGUI", "infoScreen");
1009 } elseif ($ilAccess->checkAccess("read", "", ROOT_FOLDER_ID)) {
1010 $main_tpl->setOnScreenMessage('failure', sprintf(
1011 $lng->txt("msg_no_perm_read_item"),
1013 ), true);
1015 }
1016
1017 throw new ilPermissionException($lng->txt("no_permission"));
1018 }
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 779 of file class.ilObjGlossaryGUI.php.

779 : void
780 {
781 $this->ctrl->setParameter($this, "show_tax", 1);
782 $this->ctrl->redirect($this, "listTerms");
783 }

References ILIAS\Repository\ctrl().

+ Here is the call graph for this function:

◆ addTerm()

ilObjGlossaryGUI::addTerm ( )

add term

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

798 : void
799 {
800 $new_term = $this->edit_request->getNewTerm();
801 if ($new_term == "") {
802 $this->tpl->setOnScreenMessage('failure', $this->lng->txt("cont_please_enter_a_term"), true);
803 $this->ctrl->redirect($this, "listTerms");
804 }
805
806 // add term
807 $lang = $this->edit_request->getTermLanguage();
808 $term = new ilGlossaryTerm();
809 $term->setGlossary($this->getGlossary());
810 $term->setTerm($new_term);
811 $term->setLanguage($lang);
812 $term->create();
813
814 $this->term_manager->setSessionLang($lang);
815
816 $this->ctrl->setParameterByClass("ilglossarydefpagegui", "term_id", $term->getId());
817 $this->ctrl->redirectByClass(array("ilglossarytermgui",
818 "iltermdefinitioneditorgui", "ilglossarydefpagegui"), "edit");
819 }
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 1242 of file class.ilObjGlossaryGUI.php.

1242 : void
1243 {
1244 $this->user->clipboardDeleteObjectsOfType("term");
1245 $this->ctrl->redirect($this, "listTerms");
1246 }

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

+ Here is the call graph for this function:

◆ confirmGlossarySelection()

ilObjGlossaryGUI::confirmGlossarySelection ( )

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

1118 : void
1119 {
1120 $cgui = new ilConfirmationGUI();
1121 $this->ctrl->setParameter($this, "glo_ref_id", $this->edit_request->getGlossaryRefId());
1122 $cgui->setFormAction($this->ctrl->getFormAction($this));
1123 $cgui->setHeaderText($this->lng->txt("glo_link_glo_in_glo"));
1124 $cgui->setCancel($this->lng->txt("no"), "selectGlossary");
1125 $cgui->setConfirm($this->lng->txt("yes"), "selectGlossaryLink");
1126 $this->tpl->setContent($cgui->getHTML());
1127 }
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 1170 of file class.ilObjGlossaryGUI.php.

1170 : void
1171 {
1172 $this->putTermsIntoClipBoard();
1173
1175 $this->tpl->setOnScreenMessage('info', $this->lng->txt("glo_selected_terms_have_been_copied"), true);
1176 $this->ctrl->redirect($this, "listTerms");
1177 }
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 788 of file class.ilObjGlossaryGUI.php.

788 : void
789 {
790 $this->ctrl->setParameter($this, "show_tax", "");
791 $this->ctrl->redirect($this, "listTerms");
792 }

References ILIAS\Repository\ctrl().

+ Here is the call graph for this function:

◆ deleteTerms()

ilObjGlossaryGUI::deleteTerms ( )

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

831 : void
832 {
833 if (!empty($this->edit_request->getTermIdsInModal())
834 && $ids = $this->edit_request->getTermIdsInModal()) {
835 foreach ($ids as $id) {
836 if (ilGlossaryTermReferences::isReferenced([$this->object->getId()], $id)) {
837 $refs = new ilGlossaryTermReferences($this->object->getId());
838 $refs->deleteTerm($id);
839 $refs->update();
840 } else {
841 $this->term_manager->deleteTerm($id);
842 }
843 }
844 }
845 $this->tpl->setOnScreenMessage('success', $this->lng->txt("msg_obj_modified"), true);
846 $this->ctrl->redirect($this, "listTerms");
847 }
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 1081 of file class.ilObjGlossaryGUI.php.

1081 : void
1082 {
1083 $this->tabs->setTabActive("settings");
1084 $this->setSettingsSubTabs("glossaries");
1085
1086 $this->toolbar->addButton(
1087 $this->lng->txt("add"),
1088 $this->ctrl->getLinkTarget($this, "showGlossarySelector")
1089 );
1090
1091 $table = $this->domain->table()->getGlossaryAutoLinkTable($this->getGlossary())->getComponent();
1092
1093 $this->tpl->setContent($this->ui_ren->render($table));
1094 }
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->getCreationMode() && !$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 824 of file class.ilObjGlossaryGUI.php.

824 : void
825 {
826 $glo_exp = new ilGlossaryExport($this->getGlossary(), "html");
827 $glo_exp->buildExportFileHTML();
828 $this->ctrl->redirectByClass("ilexportgui", "");
829 }
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 885 of file class.ilObjGlossaryGUI.php.

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

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 868 of file class.ilObjGlossaryGUI.php.

868 : void
869 {
870 $this->tpl->loadStandardTemplate();
871
872 $title = $this->object->getTitle();
873
874
875 if ($this->term_id > 0) {
876 $this->tpl->setTitle($this->lng->txt("term") . ": " .
877 ilGlossaryTerm::_lookGlossaryTerm($this->term_id));
878 } else {
879 parent::setTitleAndDescription();
880 $this->tpl->setTitleIcon(ilUtil::getImagePath("standard/icon_glo.svg"));
881 $this->tpl->setTitle($this->lng->txt("glo") . ": " . $title);
882 }
883 }
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 1248 of file class.ilObjGlossaryGUI.php.

1248 : void
1249 {
1250 if (ilEditClipboard::getAction() == "copy") {
1251 foreach ($this->user->getClipboardObjects("term") as $item) {
1252 ilGlossaryTerm::_copyTerm($item["id"], $this->object->getId());
1253 }
1254 }
1255 if (ilEditClipboard::getAction() == "link") {
1256 $refs = new ilGlossaryTermReferences($this->object->getId());
1257 foreach ($this->user->getClipboardObjects("term") as $item) {
1258 $refs->addTerm($item["id"]);
1259 }
1260 $refs->update();
1261 }
1262 $this->tpl->setOnScreenMessage('success', $this->lng->txt("msg_obj_modified"), true);
1263 $this->ctrl->redirect($this, "listTerms");
1264 }
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 1191 of file class.ilObjGlossaryGUI.php.

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

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 1182 of file class.ilObjGlossaryGUI.php.

1182 : void
1183 {
1184 $this->putTermsIntoClipBoard();
1185
1187 $this->tpl->setOnScreenMessage('info', $this->lng->txt("glo_selected_terms_have_been_copied"), true);
1188 $this->ctrl->redirect($this, "listTerms");
1189 }

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

+ Here is the call graph for this function:

◆ removeGlossary()

ilObjGlossaryGUI::removeGlossary ( )

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

1158 : void
1159 {
1160 $this->object->removeAutoGlossary($this->edit_request->getGlossaryIdInModal());
1161 $this->object->update();
1162
1163 $this->tpl->setOnScreenMessage('success', $this->lng->txt("msg_obj_modified"), true);
1164 $this->ctrl->redirect($this, "editGlossaries");
1165 }

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

+ Here is the call graph for this function:

◆ removeGlossaryFromCollection()

ilObjGlossaryGUI::removeGlossaryFromCollection ( )

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

771 : void
772 {
773 $glo_id = $this->edit_request->getGlossaryIdInModal();
774 $this->object->removeGlossaryFromCollection($glo_id);
775 $this->tpl->setOnScreenMessage("success", $this->lng->txt("glo_removed_from_collection_info"), true);
776 $this->ctrl->redirect($this, "listTerms");
777 }

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

+ Here is the call graph for this function:

◆ saveGlossaryForCollection()

ilObjGlossaryGUI::saveGlossaryForCollection ( )

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

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

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 1143 of file class.ilObjGlossaryGUI.php.

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

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 1132 of file class.ilObjGlossaryGUI.php.

1132 : void
1133 {
1134 $glo_ref_id = $this->edit_request->getGlossaryRefId();
1135 $this->object->autoLinkGlossaryTerms($glo_ref_id);
1136 $this->selectGlossary();
1137 }
selectGlossary()
Select auto glossary.

◆ setContentStyleSheet()

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

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

1027 : void {
1028 if ($a_tpl != null) {
1029 $ctpl = $a_tpl;
1030 } else {
1031 $ctpl = $this->tpl;
1032 }
1033
1034 $this->content_style_gui->addCss($ctpl, $this->object->getRefId());
1035 }
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 849 of file class.ilObjGlossaryGUI.php.

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

Referenced by executeCommand(), and showInfoScreen().

+ Here is the caller graph for this function:

◆ setSettingsSubTabs()

ilObjGlossaryGUI::setSettingsSubTabs ( string  $a_active)

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

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

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 1099 of file class.ilObjGlossaryGUI.php.

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

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 742 of file class.ilObjGlossaryGUI.php.

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

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 $props = [];
694 $props[$this->lng->txt("status")] =
695 $this->lng->txt("offline");
696 }
697 $glo_link = $this->ui_fac->link()->standard($glossary->getTitle(), ilLink::_getLink($glo_ref_id));
698 $glo_item = $this->ui_fac->item()->standard($glo_link)->withProperties($props);
699 $glo_item = $glo_item->withDescription($glossary->getDescription());
700 $form_action = $this->ctrl->getFormActionByClass(ilObjGlossaryGUI::class, "removeGlossaryFromCollection");
701 $delete_modal = $this->ui_fac->modal()->interruptive(
702 "",
703 $this->lng->txt("glo_really_remove_from_collection"),
705 )->withAffectedItems([
706 $this->ui_fac->modal()->interruptiveItem()->standard(
707 $glossary->getId(),
708 $glossary->getTitle(),
709 $this->ui_fac->image()->standard(
710 ilObject::_getIcon($glossary->getId(), "small", $glossary->getType()),
711 $this->lng->txt("icon") . " " . $this->lng->txt("obj_" . $glossary->getType())
712 )
713 )
714 ]);
715 $actions = $this->ui_fac->dropdown()->standard([
716 $this->ui_fac->button()->shy($this->lng->txt("remove"), "")->withOnClick($delete_modal->getShowSignal()),
717 ]);
718 $glo_item = $glo_item->withActions($actions);
719
720 $items[] = $glo_item;
721 $this->modals_to_render[] = $delete_modal;
722 $at_least_one_glossary = true;
723 }
724
725 $components = [];
726 if (!$at_least_one_glossary) {
727 $message_box = $this->ui_fac->messageBox()->info($this->lng->txt("glo_collection_empty_info"));
728 $components[] = $message_box;
729 }
730 if (!empty($items)) {
731 $item_group = $this->ui_fac->item()->group($this->lng->txt("glo_selected_glossaries_info"), $items);
732 $panel = $this->ui_fac->panel()->listing()->standard(
733 $this->lng->txt("glo_selected_glossaries"),
734 [$item_group]
735 );
736 $components[] = $panel;
737 }
738
739 return $components;
740 }
$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(), ilObjGlossaryAccess\_lookupOnline(), 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 1040 of file class.ilObjGlossaryGUI.php.

1040 : void
1041 {
1043
1044 if (is_null($this->tax_manager) || !$this->tax_manager->showInEditing()) {
1045 return;
1046 }
1047
1048 $tool_context = $this->global_screen->tool()->context()->current();
1049
1050 $tax_id = $this->tax_manager->getTaxonomyId();
1051
1052 $tool_context->addAdditionalData(
1054 true
1055 );
1056 $tool_context->addAdditionalData(
1059 );
1060 $tool_context->addAdditionalData(
1062 $tax_id
1063 );
1064 $tool_context->addAdditionalData(
1066 "listTerms"
1067 );
1068 $tool_context->addAdditionalData(
1070 "showTaxonomy"
1071 );
1072 }
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 863 of file class.ilObjGlossaryGUI.php.

863 : void
864 {
865 $this->viewObject();
866 }
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: