ILIAS  trunk Revision v11.0_alpha-1761-g6dbbfa7b760
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
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 ()
 
 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)
 

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 ()
 
 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 ()
 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
 
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
 
ilObjectCustomIconFactory $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 67 of file class.ilObjGlossaryGUI.php.

References $DIC, $service, $tax_node, $term_id, 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().

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

Member Function Documentation

◆ _goto()

static ilObjGlossaryGUI::_goto ( string  $a_target)
static

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

References ilObjectGUI\$ctrl, $DIC, ilObjectGUI\$lng, ilObjectGUI\_gotoRepositoryRoot(), ilObject\_lookupObjId(), ilObject\_lookupTitle(), ilCtrl\redirectByClass(), ROOT_FOLDER_ID, ilCtrl\setParameterByClass(), and ilLanguage\txt().

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

944  : void
945  {
946  global $DIC;
947  $main_tpl = $DIC->ui()->mainTemplate();
948 
949  $lng = $DIC->language();
950  $ilAccess = $DIC->access();
951  $ctrl = $DIC->ctrl();
952 
953  if ($ilAccess->checkAccess("read", "", $a_target)) {
954  $ctrl->setParameterByClass("ilGlossaryPresentationGUI", "ref_id", $a_target);
955  $ctrl->redirectByClass("ilGlossaryPresentationGUI", "");
956  } elseif ($ilAccess->checkAccess("visible", "", $a_target)) {
957  $ctrl->setParameterByClass("ilGlossaryPresentationGUI", "ref_id", $a_target);
958  $ctrl->redirectByClass("ilGlossaryPresentationGUI", "infoScreen");
959  } elseif ($ilAccess->checkAccess("read", "", ROOT_FOLDER_ID)) {
960  $main_tpl->setOnScreenMessage('failure', sprintf(
961  $lng->txt("msg_no_perm_read_item"),
963  ), true);
965  }
966 
967  throw new ilPermissionException($lng->txt("no_permission"));
968  }
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...
const ROOT_FOLDER_ID
Definition: constants.php:32
setParameterByClass(string $a_class, string $a_parameter, $a_value)
redirectByClass( $a_class, ?string $a_cmd=null, ?string $a_anchor=null, bool $is_async=false)
static _lookupObjId(int $ref_id)
ilLanguage $lng
static _lookupTitle(int $obj_id)
global $DIC
Definition: shib_login.php:22
static _gotoRepositoryRoot(bool $raise_error=false)
Goto repository root.
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ actTaxonomy()

ilObjGlossaryGUI::actTaxonomy ( )

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

References ILIAS\Repository\ctrl().

742  : void
743  {
744  $this->ctrl->setParameter($this, "show_tax", 1);
745  $this->ctrl->redirect($this, "listTerms");
746  }
+ Here is the call graph for this function:

◆ addTerm()

ilObjGlossaryGUI::addTerm ( )

add term

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

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

761  : void
762  {
763  $new_term = $this->edit_request->getNewTerm();
764  if ($new_term == "") {
765  $this->tpl->setOnScreenMessage('failure', $this->lng->txt("cont_please_enter_a_term"), true);
766  $this->ctrl->redirect($this, "listTerms");
767  }
768 
769  // add term
770  $lang = $this->edit_request->getTermLanguage();
771  $term = new ilGlossaryTerm();
772  $term->setGlossary($this->getGlossary());
773  $term->setTerm($new_term);
775  $term->create();
776 
777  $this->term_manager->setSessionLang($lang);
778 
779  $this->ctrl->setParameterByClass("ilglossarydefpagegui", "term_id", $term->getId());
780  $this->ctrl->redirectByClass(array("ilglossarytermgui",
781  "iltermdefinitioneditorgui", "ilglossarydefpagegui"), "edit");
782  }
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)
create(bool $a_omit_page_creation=false)
setLanguage(string $a_language)
$lang
Definition: xapiexit.php:25
+ 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 456 of file class.ilObjGlossaryGUI.php.

References $DIC, ilObjectGUI\$lng, ilObject\_getAllReferences(), ilObject\_lookupTitle(), ilInfoScreenGUI\addProperty(), ilInfoScreenGUI\addSection(), ilObjSAHSLearningModule\getScormModulesForGlossary(), and ilLanguage\txt().

Referenced by ilGlossaryPresentationGUI\outputInfoScreen().

459  : void {
460  global $DIC;
461 
462  $lng = $DIC->language();
463  $ilAccess = $DIC->access();
464 
465  $info->addSection($lng->txt("glo_usages"));
467  foreach ($sms as $sm) {
468  $link = false;
469  $refs = ilObject::_getAllReferences($sm);
470  foreach ($refs as $ref) {
471  if ($link === false && $ilAccess->checkAccess("write", "", $ref)) {
472  $link = ilLink::_getLink($ref, 'sahs');
473  }
474  }
475 
476  $entry = ilObject::_lookupTitle($sm);
477  if ($link !== false) {
478  $entry = "<a href='" . $link . "' target='_top'>" . $entry . "</a>";
479  }
480 
481  $info->addProperty($lng->txt("obj_sahs"), $entry);
482  }
483  }
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 _getAllReferences(int $id)
get all reference ids for object ID
addProperty(string $a_name, string $a_value, string $a_link="")
add a property to current section
static getScormModulesForGlossary(int $a_glo_id)
Get SCORM modules that assign a certain glossary.
ilLanguage $lng
static _lookupTitle(int $obj_id)
global $DIC
Definition: shib_login.php:22
addSection(string $a_title)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ assignObject()

ilObjGlossaryGUI::assignObject ( )
protected

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

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

◆ clearClipboard()

ilObjGlossaryGUI::clearClipboard ( )

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

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

1192  : void
1193  {
1194  $this->user->clipboardDeleteObjectsOfType("term");
1195  $this->ctrl->redirect($this, "listTerms");
1196  }
+ Here is the call graph for this function:

◆ confirmGlossarySelection()

ilObjGlossaryGUI::confirmGlossarySelection ( )

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

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

1068  : void
1069  {
1070  $cgui = new ilConfirmationGUI();
1071  $this->ctrl->setParameter($this, "glo_ref_id", $this->edit_request->getGlossaryRefId());
1072  $cgui->setFormAction($this->ctrl->getFormAction($this));
1073  $cgui->setHeaderText($this->lng->txt("glo_link_glo_in_glo"));
1074  $cgui->setCancel($this->lng->txt("no"), "selectGlossary");
1075  $cgui->setConfirm($this->lng->txt("yes"), "selectGlossaryLink");
1076  $this->tpl->setContent($cgui->getHTML());
1077  }
+ Here is the call graph for this function:

◆ copyTerms()

ilObjGlossaryGUI::copyTerms ( )

Copy terms to clipboard.

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

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

1120  : void
1121  {
1122  $this->putTermsIntoClipBoard();
1123 
1125  $this->tpl->setOnScreenMessage('info', $this->lng->txt("glo_selected_terms_have_been_copied"), true);
1126  $this->ctrl->redirect($this, "listTerms");
1127  }
static setAction(string $a_action)
+ Here is the call graph for this function:

◆ deactTaxonomy()

ilObjGlossaryGUI::deactTaxonomy ( )

Hide Taxonomy.

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

References ILIAS\Repository\ctrl().

751  : void
752  {
753  $this->ctrl->setParameter($this, "show_tax", "");
754  $this->ctrl->redirect($this, "listTerms");
755  }
+ Here is the call graph for this function:

◆ deleteTerms()

ilObjGlossaryGUI::deleteTerms ( )

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

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

794  : void
795  {
796  if (!empty($this->edit_request->getTermIdsInModal())
797  && $ids = $this->edit_request->getTermIdsInModal()) {
798  foreach ($ids as $id) {
799  if (ilGlossaryTermReferences::isReferenced([$this->object->getId()], $id)) {
800  $refs = new ilGlossaryTermReferences($this->object->getId());
801  $refs->deleteTerm($id);
802  $refs->update();
803  } else {
804  $this->term_manager->deleteTerm($id);
805  }
806  }
807  }
808  $this->tpl->setOnScreenMessage('success', $this->lng->txt("msg_obj_modified"), true);
809  $this->ctrl->redirect($this, "listTerms");
810  }
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
static isReferenced(array $a_glo_id, int $a_term_id)
Is a term referenced by a set of glossaries.
+ Here is the call graph for this function:

◆ editGlossaries()

ilObjGlossaryGUI::editGlossaries ( )

Edit automatically linked glossaries.

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

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

1031  : void
1032  {
1033  $this->tabs->setTabActive("settings");
1034  $this->setSettingsSubTabs("glossaries");
1035 
1036  $this->toolbar->addButton(
1037  $this->lng->txt("add"),
1038  $this->ctrl->getLinkTarget($this, "showGlossarySelector")
1039  );
1040 
1041  $table = $this->domain->table()->getGlossaryAutoLinkTable($this->getGlossary())->getComponent();
1042 
1043  $this->tpl->setContent($this->ui_ren->render($table));
1044  }
setSettingsSubTabs(string $a_active)
+ Here is the call graph for this function:

◆ executeCommand()

ilObjGlossaryGUI::executeCommand ( )

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

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

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

◆ exportHTML()

ilObjGlossaryGUI::exportHTML ( )

create html package

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

References ILIAS\Repository\ctrl().

787  : void
788  {
789  $glo_exp = new ilGlossaryExport($this->getGlossary(), "html");
790  $glo_exp->buildExportFileHTML();
791  $this->ctrl->redirectByClass("ilexportgui", "");
792  }
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
+ Here is the call graph for this function:

◆ getActions()

ilObjGlossaryGUI::getActions ( int  $tax_id)

Implements ILIAS\Taxonomy\Settings\ModifierGUIInterface.

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

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

518  : array {
519  $actions = [];
520  $this->ctrl->setParameterByClass(self::class, "glo_tax_id", $tax_id);
521  $active = $this->object->getShowTaxonomy();
522  if (!$active) {
523  $actions[] = $this->ui->factory()->button()->shy(
524  $this->lng->txt("glo_show_in_presentation_on"),
525  $this->ctrl->getLinkTargetByClass(
526  self::class,
527  "showTaxInPresentation"
528  )
529  );
530  } else {
531  $actions[] = $this->ui->factory()->button()->shy(
532  $this->lng->txt("glo_show_in_presentation_off"),
533  $this->ctrl->getLinkTargetByClass(
534  self::class,
535  "hideTaxInPresentation"
536  )
537  );
538  }
539  $this->ctrl->setParameterByClass(self::class, "glo_tax_id", null);
540 
541  return $actions;
542  }
while($session_entry=$r->fetchRow(ilDBConstants::FETCHMODE_ASSOC)) return null
+ Here is the call graph for this function:

◆ getModalsToRender()

ilObjGlossaryGUI::getModalsToRender ( )
protected
Returns
[]

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

References $modals_to_render.

Referenced by listTerms().

586  : array
587  {
589  }
+ Here is the caller graph for this function:

◆ getProperties()

ilObjGlossaryGUI::getProperties ( int  $tax_id)

Implements ILIAS\Taxonomy\Settings\ModifierGUIInterface.

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

References ILIAS\Repository\lng().

505  : array {
506  $active = $this->object->getShowTaxonomy();
507  $value = $active
508  ? $this->lng->txt("yes")
509  : $this->lng->txt("no");
510 
511  return [
512  $this->lng->txt("glo_show_in_presentation") => $value
513  ];
514  }
+ Here is the call graph for this function:

◆ getTabs()

ilObjGlossaryGUI::getTabs ( )
protected

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

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

848  : void
849  {
850  $this->help->setScreenIdComponent("glo");
851 
852  // list terms
853  $cmd = $this->ctrl->getCmd();
854  $force_active = ($cmd == "" || $cmd == "listTerms");
855  $this->tabs_gui->addTab(
856  "content",
857  $this->lng->txt("content"),
858  $this->ctrl->getLinkTarget($this, "listTerms")
859  );
860 
861  $this->tabs_gui->addTab(
862  "info_short",
863  $this->lng->txt("info_short"),
864  $this->ctrl->getLinkTargetByClass("ilinfoscreengui", "showSummary")
865  );
866 
867  // properties
868  if ($this->rbacsystem->checkAccess('write', $this->object->getRefId())) {
869  $this->tabs_gui->addTab(
870  "settings",
871  $this->lng->txt("settings"),
872  $this->ctrl->getLinkTargetByClass(SettingsGUI::class)
873  );
874 
875  // meta data
876  $mdgui = new ilObjectMetaDataGUI($this->object, "term");
877  $mdtab = $mdgui->getTab();
878  if ($mdtab) {
879  $this->tabs_gui->addTab(
880  "meta_data",
881  $this->lng->txt("meta_data"),
882  $mdtab
883  );
884  }
885 
886  // export
887  $this->tabs_gui->addTab(
888  "export",
889  $this->lng->txt("export"),
890  $this->ctrl->getLinkTargetByClass("ilexportgui", "")
891  );
892  }
893 
894  // permissions
895  if ($this->rbacsystem->checkAccess('edit_permission', $this->object->getRefId())) {
896  $this->tabs_gui->addTab(
897  "perm_settings",
898  $this->lng->txt("perm_settings"),
899  $this->ctrl->getLinkTargetByClass(array(get_class($this),'ilpermissiongui'), "perm")
900  );
901  }
902 
903  $this->tabs_gui->addNonTabbedLink(
904  "presentation_view",
905  $this->lng->txt("glo_presentation_view"),
906  "ilias.php?baseClass=ilGlossaryPresentationGUI&amp;ref_id=" . $this->object->getRefId()
907  );
908  }
Class ilObjectMetaDataGUI.
+ Here is the call graph for this function:

◆ getTemplate()

ilObjGlossaryGUI::getTemplate ( )

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

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

Referenced by executeCommand(), and showInfoScreen().

831  : void
832  {
833  $this->tpl->loadStandardTemplate();
834 
835  $title = $this->object->getTitle();
836 
837 
838  if ($this->term_id > 0) {
839  $this->tpl->setTitle($this->lng->txt("term") . ": " .
840  ilGlossaryTerm::_lookGlossaryTerm($this->term_id));
841  } else {
842  parent::setTitleAndDescription();
843  $this->tpl->setTitleIcon(ilUtil::getImagePath("standard/icon_glo.svg"));
844  $this->tpl->setTitle($this->lng->txt("glo") . ": " . $title);
845  }
846  }
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)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ hideTaxInPresentation()

ilObjGlossaryGUI::hideTaxInPresentation ( )
protected

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

References ILIAS\Repository\ctrl().

551  : void
552  {
553  $this->object->setShowTaxonomy(false);
554  $this->object->update();
555  $this->ctrl->redirectByClass(ilTaxonomySettingsGUI::class);
556  }
+ Here is the call graph for this function:

◆ importObject()

ilObjGlossaryGUI::importObject ( )

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

References ilObjectGUI\createObject().

374  : void
375  {
376  $this->createObject();
377  }
createObject()
create new object form
+ Here is the call graph for this function:

◆ initCreateForm()

ilObjGlossaryGUI::initCreateForm ( string  $new_type)
protected

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

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

Referenced by saveObject().

346  {
347  $form = new ilPropertyFormGUI();
348  $form->setTarget("_top");
349  $form->setFormAction($this->ctrl->getFormAction($this));
350  $form->setTitle($this->lng->txt($new_type . "_new"));
351 
352  // title
353  $ti = new ilTextInputGUI($this->lng->txt("title"), "title");
354  $ti->setSize(min(40, ilObject::TITLE_LENGTH));
355  $ti->setMaxLength(ilObject::TITLE_LENGTH);
356  $ti->setRequired(true);
357  $form->addItem($ti);
358 
359  // description
360  $ta = new ilTextAreaInputGUI($this->lng->txt("description"), "desc");
361  $ta->setCols(40);
362  $ta->setRows(2);
363  $form->addItem($ta);
364 
365  // didactic template
366  $form = $this->initDidacticTemplate($form);
367 
368  $form->addCommandButton("save", $this->lng->txt($new_type . "_add"));
369  $form->addCommandButton("cancel", $this->lng->txt("cancel"));
370 
371  return $form;
372  }
const TITLE_LENGTH
setTarget(string $a_target)
setFormAction(string $a_formaction)
initDidacticTemplate(ilPropertyFormGUI $form)
addCommandButton(string $a_cmd, string $a_text, string $a_id="")
This class represents a text area property in a property form.
ilPropertyFormGUI $form
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ listTerms()

ilObjGlossaryGUI::listTerms ( )

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

References getModalsToRender(), ILIAS\Repository\object(), showSelectedGlossariesForCollection(), showTaxonomy(), showToolbarForCollection(), showToolbarForStandard(), and ILIAS\Repository\tabs().

558  : void
559  {
560  $this->tabs->activateTab("content");
561 
562  $this->showTaxonomy();
563 
564  $panel_html = "";
565  $modals = "";
566  $tab_html = "";
567  if ($this->object->isVirtual()) {
568  $this->showToolbarForCollection();
569  $panel = $this->showSelectedGlossariesForCollection();
570  $panel_html = $this->ui_ren->render($panel);
571  $modals = $this->ui_ren->render($this->getModalsToRender());
572  } else {
573  $this->showToolbarForStandard();
574  $table = $this->domain->table()->getTermListTable($this->getGlossary(), $this->tax_node)->getComponent();
575  $tab_html = $this->ui_ren->render($table);
576  }
577 
578  $this->tabs->activateTab("content");
579 
580  $this->tpl->setContent($panel_html . $modals . $tab_html);
581  }
showTaxonomy()
Show taxonomy.
+ Here is the call graph for this function:

◆ pasteTerms()

ilObjGlossaryGUI::pasteTerms ( )

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

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

1198  : void
1199  {
1200  if (ilEditClipboard::getAction() == "copy") {
1201  foreach ($this->user->getClipboardObjects("term") as $item) {
1202  ilGlossaryTerm::_copyTerm($item["id"], $this->object->getId());
1203  }
1204  }
1205  if (ilEditClipboard::getAction() == "link") {
1206  $refs = new ilGlossaryTermReferences($this->object->getId());
1207  foreach ($this->user->getClipboardObjects("term") as $item) {
1208  $refs->addTerm($item["id"]);
1209  }
1210  $refs->update();
1211  }
1212  $this->tpl->setOnScreenMessage('success', $this->lng->txt("msg_obj_modified"), true);
1213  $this->ctrl->redirect($this, "listTerms");
1214  }
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
static _copyTerm(int $a_term_id, int $a_glossary_id)
Copy a term to a glossary.
+ Here is the call graph for this function:

◆ properties()

ilObjGlossaryGUI::properties ( )

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

References ILIAS\Repository\ctrl().

498  : void
499  {
500  $this->ctrl->redirectByClass(SettingsGUI::class);
501  }
+ Here is the call graph for this function:

◆ putTermsIntoClipBoard()

ilObjGlossaryGUI::putTermsIntoClipBoard ( )
protected

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

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

Referenced by copyTerms(), and referenceTerms().

1141  : void
1142  {
1143  $this->user->clipboardDeleteObjectsOfType("term");
1144  $time = date("Y-m-d H:i:s");
1145  $order = 0;
1146  if (($this->requested_table_glossary_term_list_action === "copyTerms"
1147  || $this->requested_table_glossary_term_list_action === "referenceTerms")
1148  && !empty($this->requested_table_glossary_term_list_ids)
1149  && $this->requested_table_glossary_term_list_ids[0] === "ALL_OBJECTS"
1150  ) {
1151  $terms = $this->object->getTermList(
1152  "",
1153  "",
1154  "",
1155  $this->tax_node,
1156  true,
1157  true,
1158  null,
1159  false,
1160  true
1161  );
1162  foreach ($terms as $term) {
1163  $this->user->addObjectToClipboard(
1164  (int) $term["id"],
1165  "term",
1166  ilGlossaryTerm::_lookGlossaryTerm((int) $term["id"]),
1167  0,
1168  $time,
1169  $order
1170  );
1171  }
1172  } elseif ($this->requested_table_glossary_term_list_action === "copyTerms"
1173  || $this->requested_table_glossary_term_list_action === "referenceTerms") {
1174  foreach ($this->requested_table_glossary_term_list_ids as $term_id) {
1175  $this->user->addObjectToClipboard(
1176  (int) $term_id,
1177  "term",
1178  ilGlossaryTerm::_lookGlossaryTerm((int) $term_id),
1179  0,
1180  $time,
1181  $order
1182  );
1183  }
1184  }
1185  if (empty($this->requested_table_glossary_term_list_ids)) {
1186  $this->tpl->setOnScreenMessage('failure', $this->lng->txt("no_checkbox"), true);
1187  $this->ctrl->redirect($this, "listTerms");
1188  }
1189  }
while($session_entry=$r->fetchRow(ilDBConstants::FETCHMODE_ASSOC)) return null
static _lookGlossaryTerm(int $term_id)
get glossary term
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ referenceTerms()

ilObjGlossaryGUI::referenceTerms ( )

Add terms to be referenced to clipboard.

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

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

1132  : void
1133  {
1134  $this->putTermsIntoClipBoard();
1135 
1137  $this->tpl->setOnScreenMessage('info', $this->lng->txt("glo_selected_terms_have_been_copied"), true);
1138  $this->ctrl->redirect($this, "listTerms");
1139  }
static setAction(string $a_action)
+ Here is the call graph for this function:

◆ removeGlossary()

ilObjGlossaryGUI::removeGlossary ( )

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

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

1108  : void
1109  {
1110  $this->object->removeAutoGlossary($this->edit_request->getGlossaryIdInModal());
1111  $this->object->update();
1112 
1113  $this->tpl->setOnScreenMessage('success', $this->lng->txt("msg_obj_modified"), true);
1114  $this->ctrl->redirect($this, "editGlossaries");
1115  }
+ Here is the call graph for this function:

◆ removeGlossaryFromCollection()

ilObjGlossaryGUI::removeGlossaryFromCollection ( )

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

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

734  : void
735  {
736  $glo_id = $this->edit_request->getGlossaryIdInModal();
737  $this->object->removeGlossaryFromCollection($glo_id);
738  $this->tpl->setOnScreenMessage("success", $this->lng->txt("glo_removed_from_collection_info"), true);
739  $this->ctrl->redirect($this, "listTerms");
740  }
+ Here is the call graph for this function:

◆ saveGlossaryForCollection()

ilObjGlossaryGUI::saveGlossaryForCollection ( )

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

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

722  : void
723  {
724  $selected_glo = new ilObjGlossary($this->edit_request->getSelectedGlossaryRefId(), true);
725  if ($selected_glo->getId() === $this->object->getId()) {
726  $this->tpl->setOnScreenMessage("info", $this->lng->txt("glo_selected_glossary_is_current_info"), true);
727  } else {
728  $this->object->addGlossaryForCollection($selected_glo->getId());
729  $this->tpl->setOnScreenMessage("success", $this->lng->txt("glo_added_to_collection_info"), true);
730  }
731  $this->ctrl->redirect($this, "listTerms");
732  }
addGlossaryForCollection(int $glo_id)
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
+ Here is the call graph for this function:

◆ saveObject()

ilObjGlossaryGUI::saveObject ( )

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

References ilPropertyFormGUI\checkInput(), ilObjectGUI\checkPermissionBool(), ILIAS\Repository\ctrl(), ilObjectGUI\getDidacticTemplateVar(), ilPropertyFormGUI\getHTML(), ilPropertyFormGUI\getInput(), initCreateForm(), ILIAS\Repository\lng(), ilObjectGUI\putObjectInTree(), and ilPropertyFormGUI\setValuesByPost().

379  : void
380  {
381  $new_type = $this->edit_request->getNewType();
382 
383  // create permission is already checked in createObject. This check here is done to prevent hacking attempts
384  if (!$this->checkPermissionBool("create", "", $new_type)) {
385  throw new ilPermissionException($this->lng->txt("no_create_permission"));
386  }
387 
388  $this->lng->loadLanguageModule($new_type);
389  $this->ctrl->setParameter($this, "new_type", $new_type);
390 
391  $form = $this->initCreateForm($new_type);
392  if ($form->checkInput()) {
393  $this->ctrl->setParameter($this, "new_type", "");
394 
395  $newObj = new ilObjGlossary();
396  $newObj->setType($new_type);
397  $newObj->setTitle($form->getInput("title"));
398  $newObj->setDescription($form->getInput("desc"));
399  $newObj->setVirtualMode("none");
400  $newObj->create();
401 
402  $this->putObjectInTree($newObj);
403 
404  // apply didactic template?
405  $dtpl = $this->getDidacticTemplateVar("dtpl");
406  if ($dtpl) {
407  $newObj->applyDidacticTemplate($dtpl);
408  }
409 
410  // always send a message
411  $this->tpl->setOnScreenMessage('success', $this->lng->txt("glo_added"), true);
412  $this->ctrl->setParameterByClass(
413  ilObjGlossaryGUI::class,
414  "ref_id",
415  $newObj->getRefId()
416  );
417  $this->ctrl->redirectByClass(
418  [ilGlossaryEditorGUI::class, ilObjGlossaryGUI::class],
419  "properties"
420  );
421  }
422 
423  // display only this form to correct input
425  $this->tpl->setContent($form->getHTML());
426  }
initCreateForm(string $new_type)
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
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-...
putObjectInTree(ilObject $obj, ?int $parent_node_id=null)
Add object to tree at given position.
checkPermissionBool(string $perm, string $cmd="", string $type="", ?int $ref_id=null)
ilPropertyFormGUI $form
+ Here is the call graph for this function:

◆ selectGlossary()

ilObjGlossaryGUI::selectGlossary ( )

Select auto glossary.

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

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

Referenced by selectGlossaryLink().

1093  : void
1094  {
1095  $glos = $this->object->getAutoGlossaries();
1096  $glo_ref_id = $this->edit_request->getGlossaryRefId();
1097  $glo_id = ilObject::_lookupObjId($glo_ref_id);
1098  if (!in_array($glo_id, $glos)) {
1099  $glos[] = $glo_id;
1100  }
1101  $this->object->setAutoGlossaries($glos);
1102  $this->object->update();
1103 
1104  $this->tpl->setOnScreenMessage('success', $this->lng->txt("msg_obj_modified"), true);
1105  $this->ctrl->redirect($this, "editGlossaries");
1106  }
static _lookupObjId(int $ref_id)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ selectGlossaryLink()

ilObjGlossaryGUI::selectGlossaryLink ( )

Select a glossary and link all its terms.

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

References selectGlossary().

1082  : void
1083  {
1084  $glo_ref_id = $this->edit_request->getGlossaryRefId();
1085  $this->object->autoLinkGlossaryTerms($glo_ref_id);
1086  $this->selectGlossary();
1087  }
selectGlossary()
Select auto glossary.
+ Here is the call graph for this function:

◆ setContentStyleSheet()

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

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

References ilObjectGUI\$tpl, ILIAS\UICore\GlobalTemplate\addCss(), null, and ILIAS\Repository\object().

977  : void {
978  if ($a_tpl != null) {
979  $ctpl = $a_tpl;
980  } else {
981  $ctpl = $this->tpl;
982  }
983 
984  $this->content_style_gui->addCss($ctpl, $this->object->getRefId());
985  }
while($session_entry=$r->fetchRow(ilDBConstants::FETCHMODE_ASSOC)) return null
ilGlobalTemplateInterface $tpl
addCss(string $a_css_file, string $media="screen")
Add a css file that should be included in the header.
+ Here is the call graph for this function:

◆ setLocator()

ilObjGlossaryGUI::setLocator ( )
protected

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

Referenced by executeCommand(), and showInfoScreen().

812  : void
813  {
814  if (strtolower($this->edit_request->getBaseClass()) != "ilglossaryeditorgui") {
815  parent::setLocator();
816  } elseif (is_object($this->object)) {
817  $gloss_loc = new ilGlossaryLocatorGUI();
818  if (is_object($this->term)) {
819  $gloss_loc->setTerm($this->term);
820  }
821  $gloss_loc->setGlossary($this->getGlossary());
822  $gloss_loc->display();
823  }
824  }
+ Here is the caller graph for this function:

◆ setSettingsSubTabs()

ilObjGlossaryGUI::setSettingsSubTabs ( string  $a_active)

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

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

Referenced by editGlossaries(), executeCommand(), and showGlossarySelector().

910  : void
911  {
912  if (in_array(
913  $a_active,
914  array("general_settings", "style", "taxonomy", "glossaries")
915  )) {
916  // general properties
917  $this->tabs->addSubTab(
918  "general_settings",
919  $this->lng->txt("settings"),
920  $this->ctrl->getLinkTarget($this, 'properties')
921  );
922 
923  // style properties
924  $this->tabs->addSubTab(
925  "style",
926  $this->lng->txt("obj_sty"),
927  $this->ctrl->getLinkTargetByClass("ilobjectcontentstylesettingsgui", '')
928  );
929 
930  $this->taxonomy->gui()->addSettingsSubTab($this->getObject()->getId());
931 
932  // style properties
933  $this->tabs->addSubTab(
934  "glossaries",
935  $this->lng->txt("cont_auto_glossaries"),
936  $this->ctrl->getLinkTarget($this, 'editGlossaries')
937  );
938 
939  $this->tabs->activateSubTab($a_active);
940  }
941  }
+ 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 1049 of file class.ilObjGlossaryGUI.php.

References ILIAS\Repository\ctrl(), ilExplorer\setExpand(), setSettingsSubTabs(), and ILIAS\Repository\tabs().

1049  : void
1050  {
1051  $this->tabs->setTabActive("settings");
1052  $this->setSettingsSubTabs("glossaries");
1053 
1054  $exp = new ilSearchRootSelector($this->ctrl->getLinkTarget($this, 'showGlossarySelector'));
1055  $search_root_expand = $this->edit_request->getSearchRootExpand();
1056  $exp->setExpand($search_root_expand ?: $this->tree->readRootId());
1057  $exp->setExpandTarget($this->ctrl->getLinkTarget($this, 'showGlossarySelector'));
1058  $exp->setTargetClass(get_class($this));
1059  $exp->setCmd('confirmGlossarySelection');
1060  $exp->setClickableTypes(array("glo"));
1061  $exp->addFilter("glo");
1062 
1063  // build html-output
1064  $exp->setOutput(0);
1065  $this->tpl->setContent($exp->getOutput());
1066  }
setSettingsSubTabs(string $a_active)
setExpand($a_node_id)
set the expand option this value is stored in a SESSION variable to save it different view (lo view...
+ Here is the call graph for this function:

◆ showInfoScreen()

ilObjGlossaryGUI::showInfoScreen ( )

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

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

Referenced by executeCommand().

428  : void
429  {
430  $this->getTemplate();
431  $this->setTabs();
432  $this->setLocator();
433  $this->lng->loadLanguageModule("meta");
434 
435  $info = new ilInfoScreenGUI($this);
436  $info->enablePrivateNotes();
437  $info->enableNews();
438  if ($this->access->checkAccess("write", "", $this->requested_ref_id)) {
439  $info->enableNewsEditing();
440  $news_set = new ilSetting("news");
441  $enable_internal_rss = $news_set->get("enable_rss_for_internal");
442  if ($enable_internal_rss) {
443  $info->setBlockProperty("news", "settings", true);
444  }
445  }
446  $info->addMetaDataSections($this->object->getId(), 0, $this->object->getType());
447 
448  self::addUsagesToInfo($info, $this->object->getId());
449 
450  $this->ctrl->forwardCommand($info);
451  }
setTabs()
set admin tabs
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ showModalForCollection()

ilObjGlossaryGUI::showModalForCollection ( )

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

References ILIAS\Repository\lng().

Referenced by showToolbarForCollection().

706  {
708  $this,
709  "showModalForCollection",
710  $this,
711  "saveGlossaryForCollection",
712  "sel_glo_ref_id"
713  );
714  $modal = $this->ui_fac->modal()->roundtrip(
715  $this->lng->txt("glo_add_to_collection"),
716  $this->ui_fac->legacy()->content(!$exp->handleCommand() ? $exp->getHTML(true) : "")
717  );
718 
719  return $modal;
720  }
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ showSelectedGlossariesForCollection()

ilObjGlossaryGUI::showSelectedGlossariesForCollection ( )
Returns
[]

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

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

Referenced by listTerms().

649  : array
650  {
651  $items = [];
652  $glo_ids = $this->object->getAllGlossaryIds(true);
653  $at_least_one_glossary = false;
654  foreach ($glo_ids as $glo_id) {
655  if ($this->object->getId() === $glo_id) {
656  continue;
657  }
658  $glossary = new ilObjGlossary($glo_id, false);
659  $glo_ref_id = current(ilObject::_getAllReferences($glossary->getId()));
660  $glo_link = $this->ui_fac->link()->standard($glossary->getTitle(), ilLink::_getLink($glo_ref_id));
661  $glo_item = $this->ui_fac->item()->standard($glo_link);
662  $glo_item = $glo_item->withDescription($glossary->getDescription());
663  $form_action = $this->ctrl->getFormActionByClass(ilObjGlossaryGUI::class, "removeGlossaryFromCollection");
664  $delete_modal = $this->ui_fac->modal()->interruptive(
665  "",
666  $this->lng->txt("glo_really_remove_from_collection"),
668  )->withAffectedItems([
669  $this->ui_fac->modal()->interruptiveItem()->standard(
670  $glossary->getId(),
671  $glossary->getTitle(),
672  $this->ui_fac->image()->standard(
673  ilObject::_getIcon($glossary->getId(), "small", $glossary->getType()),
674  $this->lng->txt("icon") . " " . $this->lng->txt("obj_" . $glossary->getType())
675  )
676  )
677  ]);
678  $actions = $this->ui_fac->dropdown()->standard([
679  $this->ui_fac->button()->shy($this->lng->txt("remove"), "")->withOnClick($delete_modal->getShowSignal()),
680  ]);
681  $glo_item = $glo_item->withActions($actions);
682 
683  $items[] = $glo_item;
684  $this->modals_to_render[] = $delete_modal;
685  $at_least_one_glossary = true;
686  }
687 
688  $components = [];
689  if (!$at_least_one_glossary) {
690  $message_box = $this->ui_fac->messageBox()->info($this->lng->txt("glo_collection_empty_info"));
691  $components[] = $message_box;
692  }
693  if (!empty($items)) {
694  $item_group = $this->ui_fac->item()->group($this->lng->txt("glo_selected_glossaries_info"), $items);
695  $panel = $this->ui_fac->panel()->listing()->standard(
696  $this->lng->txt("glo_selected_glossaries"),
697  [$item_group]
698  );
699  $components[] = $panel;
700  }
701 
702  return $components;
703  }
static _getIcon(int $obj_id=0, string $size="big", string $type="", bool $offline=false)
Get icon for repository item.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
static _getAllReferences(int $id)
get all reference ids for object ID
$components
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ showTaxInPresentation()

ilObjGlossaryGUI::showTaxInPresentation ( )
protected

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

References ILIAS\Repository\ctrl().

544  : void
545  {
546  $this->object->setShowTaxonomy(true);
547  $this->object->update();
548  $this->ctrl->redirectByClass(ilTaxonomySettingsGUI::class);
549  }
+ Here is the call graph for this function:

◆ showTaxonomy()

ilObjGlossaryGUI::showTaxonomy ( )

Show taxonomy.

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

References ilObjectGUI\$ctrl, $tax_id, ilCtrl\getCurrentClassPath(), ilTaxonomyGSToolProvider\SHOW_TAX_TREE, ilTaxonomyGSToolProvider\TAX_ID, ilTaxonomyGSToolProvider\TAX_TREE_CMD, ilTaxonomyGSToolProvider\TAX_TREE_GUI_PATH, and ilTaxonomyGSToolProvider\TAX_TREE_PARENT_CMD.

Referenced by listTerms().

990  : void
991  {
992  $ctrl = $this->ctrl;
993 
994  if (is_null($this->tax_manager) || !$this->tax_manager->showInEditing()) {
995  return;
996  }
997 
998  $tool_context = $this->global_screen->tool()->context()->current();
999 
1000  $tax_id = $this->tax_manager->getTaxonomyId();
1001 
1002  $tool_context->addAdditionalData(
1004  true
1005  );
1006  $tool_context->addAdditionalData(
1009  );
1010  $tool_context->addAdditionalData(
1012  $tax_id
1013  );
1014  $tool_context->addAdditionalData(
1016  "listTerms"
1017  );
1018  $tool_context->addAdditionalData(
1020  "showTaxonomy"
1021  );
1022  }
getCurrentClassPath()
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ showToolbarForCollection()

ilObjGlossaryGUI::showToolbarForCollection ( )

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

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

Referenced by listTerms().

638  : void
639  {
640  $modal = $this->showModalForCollection();
641  $button = $this->ui_fac->button()->standard($this->lng->txt("glo_add_glossary"), "")->withOnClick($modal->getShowSignal());
642  $this->modals_to_render[] = $modal;
643  $this->toolbar->addComponent($button);
644  }
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ showToolbarForStandard()

ilObjGlossaryGUI::showToolbarForStandard ( )

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

References $lang, ILIAS\Repository\ctrl(), ILIAS\Repository\lng(), ilSelectInputGUI\setOptions(), ILIAS\Repository\toolbar(), and ILIAS\Repository\user().

Referenced by listTerms().

591  : void
592  {
593  // term
594  $ti = new ilTextInputGUI($this->lng->txt("cont_new_term"), "new_term");
595  $ti->setMaxLength(80);
596  $ti->setSize(20);
597  $this->toolbar->addInputItem($ti, true);
598 
599  // language
600  $this->lng->loadLanguageModule("meta");
601  $lang = $this->domain->metadata()->getLOMLanguagesForSelectInputs();
602  $session_lang = $this->term_manager->getSessionLang();
603  if ($session_lang != "") {
604  $s_lang = $session_lang;
605  } else {
606  $s_lang = $this->user->getLanguage();
607  }
608  $si = new ilSelectInputGUI($this->lng->txt("language"), "term_language");
609  $si->setOptions($lang);
610  $si->setValue($s_lang);
611  $this->toolbar->addInputItem($si, true);
612 
613  $this->toolbar->setFormAction($this->ctrl->getFormAction($this));
614  $this->toolbar->addFormButton($this->lng->txt("glo_add_new_term"), "addTerm");
615 
616  $this->toolbar->addSeparator();
617 
618  //ilEditClipboard::getAction() == "copy"
619  if ($this->user->clipboardHasObjectsOfType("term")) {
620  $this->toolbar->addButton(
621  $this->lng->txt("paste"),
622  $this->ctrl->getLinkTarget($this, "pasteTerms")
623  );
624  $this->toolbar->addButton(
625  $this->lng->txt("clear_clipboard"),
626  $this->ctrl->getLinkTarget($this, "clearClipboard")
627  );
628  } else {
629  $this->toolbar->addButton(
630  $this->lng->txt("glo_add_from_other"),
631  $this->ctrl->getLinkTargetByClass("ilglossaryforeigntermcollectorgui", "")
632  );
633  }
634 
635  $this->term_def_bulk_gui->modifyToolbar($this->toolbar);
636  }
This class represents a selection list property in a property form.
setOptions(array $a_options)
$lang
Definition: xapiexit.php:25
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ view()

ilObjGlossaryGUI::view ( )

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

References viewObject().

826  : void
827  {
828  $this->viewObject();
829  }
+ Here is the call graph for this function:

◆ viewObject()

ilObjGlossaryGUI::viewObject ( )

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

References ILIAS\Repository\lng().

Referenced by view().

486  : void
487  {
488  if ($this->in_administration) {
489  parent::viewObject();
490  return;
491  }
492 
493  if (!$this->rbacsystem->checkAccess("visible,read", $this->object->getRefId())) {
494  throw new ilPermissionException($this->lng->txt("permission_denied"));
495  }
496  }
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

Field Documentation

◆ $content_style_domain

ILIAS Style Content Object ObjectFacade ilObjGlossaryGUI::$content_style_domain
protected

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

◆ $content_style_gui

ILIAS Style Content GUIService ilObjGlossaryGUI::$content_style_gui
protected

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

◆ $domain

ILIAS Glossary InternalDomainService ilObjGlossaryGUI::$domain
protected

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

◆ $edit_request

ILIAS Glossary Editing EditingGUIRequest ilObjGlossaryGUI::$edit_request
protected

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

◆ $form

ilPropertyFormGUI ilObjGlossaryGUI::$form
protected

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

Referenced by initCreateForm().

◆ $global_screen

ILIAS GlobalScreen Services ilObjGlossaryGUI::$global_screen
protected

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

◆ $gui

ILIAS Glossary InternalGUIService ilObjGlossaryGUI::$gui
protected

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

◆ $gui_presentation_service

ILIAS Glossary Presentation GUIService ilObjGlossaryGUI::$gui_presentation_service
protected

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

◆ $help

ilHelpGUI ilObjGlossaryGUI::$help
protected

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

◆ $in_administration

bool ilObjGlossaryGUI::$in_administration = false
protected

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

◆ $log

ilLogger ilObjGlossaryGUI::$log
protected

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

◆ $modals_to_render

array ilObjGlossaryGUI::$modals_to_render = []
protected

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

Referenced by getModalsToRender().

◆ $rbacsystem

ilRbacSystem ilObjGlossaryGUI::$rbacsystem
protected

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

◆ $requested_table_glossary_term_list_action

string ilObjGlossaryGUI::$requested_table_glossary_term_list_action = ""
protected

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

◆ $requested_table_glossary_term_list_ids

array ilObjGlossaryGUI::$requested_table_glossary_term_list_ids = []
protected

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

◆ $setting

ilSetting ilObjGlossaryGUI::$setting
protected

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

◆ $tabs

ilTabsGUI ilObjGlossaryGUI::$tabs
protected

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

◆ $tax

ilObjTaxonomy ilObjGlossaryGUI::$tax
protected

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

◆ $tax_id

ilObjGlossaryGUI::$tax_id
protected

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

Referenced by showTaxonomy().

◆ $tax_manager

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

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

◆ $tax_node

int ilObjGlossaryGUI::$tax_node = 0
protected

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

Referenced by __construct().

◆ $taxonomy

ILIAS Taxonomy Service ilObjGlossaryGUI::$taxonomy
protected

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

◆ $term

ilGlossaryTerm ilObjGlossaryGUI::$term = null

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

◆ $term_def_bulk_gui

ilTermDefinitionBulkCreationGUI ilObjGlossaryGUI::$term_def_bulk_gui
protected

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

◆ $term_id

int ilObjGlossaryGUI::$term_id = 0
protected

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

Referenced by __construct().

◆ $term_manager

ILIAS Glossary Term TermManager ilObjGlossaryGUI::$term_manager
protected

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

◆ $term_perm

ilGlossaryTermPermission ilObjGlossaryGUI::$term_perm
protected

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

◆ $ui

ILIAS DI UIServices ilObjGlossaryGUI::$ui
protected

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

◆ $ui_fac

ILIAS UI Factory ilObjGlossaryGUI::$ui_fac
protected

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

◆ $ui_ren

ILIAS UI Renderer ilObjGlossaryGUI::$ui_ren
protected

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


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