ILIAS
release_8 Revision v8.23
|
Public Member Functions | |
__construct (string $export_format="", string $export_dir="") | |
initByRequest (?array $query_params=null) | |
Init services and this class by request params. More... | |
injectTemplate (ilGlobalTemplateInterface $tpl) | |
setOfflineMode (bool $a_offline=true) | |
set offline mode (content is generated for offline package) More... | |
offlineMode () | |
checks wether offline content generation is activated More... | |
setOfflineDirectory (string $a_dir) | |
getOfflineDirectory () | |
executeCommand () | |
execute command More... | |
prepareOutput () | |
basicPageGuiInit (\ilPageObjectGUI $a_page_gui) | |
Basic page gui initialisation. More... | |
listTerms () | |
listTermByGiven () | |
list glossary terms More... | |
getPresentationTable () | |
Get presentation table. More... | |
applyFilter () | |
resetFilter () | |
listDefinitions (int $a_ref_id=0, int $a_term_id=0, bool $a_get_html=false, string $a_page_mode=ilPageObjectGUI::PRESENTATION) | |
list definitions of a term More... | |
showDefinitionTabs (string $a_act) | |
fullscreen () | |
media (string $a_mode="media") | |
show media object More... | |
showDownloadList () | |
show download list More... | |
downloadExportFile () | |
send download file (xml/html) More... | |
setLocator () | |
downloadFile () | |
setTabs () | |
getLink (int $a_ref_id, string $a_cmd="", int $a_term_id=0, int $a_def_id=0, string $a_frame="", string $a_type="") | |
printViewSelection () | |
initPrintViewSelectionForm () | |
Init print view selection form. More... | |
printView () | |
getTabs () | |
infoScreen () | |
this one is called from the info button in the repository More... | |
outputInfoScreen () | |
chooseLetter () | |
showTaxonomy () | |
Protected Member Functions | |
setContentStyles () | |
Protected Attributes | |
array | $mobs |
bool | $fill_on_load_code |
string | $offline_dir |
ilPropertyFormGUI | $form |
ILIAS Glossary InternalService | $service |
bool | $offline |
string | $export_format |
ilCtrl | $ctrl |
ilTabsGUI | $tabs_gui |
ilAccessHandler | $access |
ilNavigationHistory | $nav_history |
ilToolbarGUI | $toolbar |
ilObjUser | $user |
ilHelpGUI | $help |
ilObjGlossary | $glossary |
ilObjGlossaryGUI | $glossary_gui |
ilGlobalTemplateInterface | $tpl |
ilLanguage | $lng |
int | $tax_node |
int | $tax_id |
ilObjTaxonomy | $tax |
int | $term_id |
int | $requested_ref_id |
string | $requested_letter |
int | $requested_def_page_id |
string | $requested_search_str |
string | $requested_file_id |
int | $requested_mob_id |
string | $requested_export_type |
ILIAS Style Content Service | $content_style_service |
ILIAS Style Content GUIService | $content_style_gui |
ILIAS Style Content Object ObjectFacade | $content_style_domain |
Definition at line 25 of file class.ilGlossaryPresentationGUI.php.
ilGlossaryPresentationGUI::__construct | ( | string | $export_format = "" , |
string | $export_dir = "" |
||
) |
Definition at line 60 of file class.ilGlossaryPresentationGUI.php.
References $DIC, $export_format, $lng, $tpl, ILIAS\Repository\access(), ILIAS\Repository\ctrl(), ILIAS\Repository\help(), initByRequest(), ILIAS\Repository\lng(), setOfflineDirectory(), ILIAS\Repository\toolbar(), and ILIAS\Repository\user().
ilGlossaryPresentationGUI::applyFilter | ( | ) |
Definition at line 375 of file class.ilGlossaryPresentationGUI.php.
References getPresentationTable(), and listTerms().
ilGlossaryPresentationGUI::basicPageGuiInit | ( | \ilPageObjectGUI | $a_page_gui | ) |
Basic page gui initialisation.
Definition at line 242 of file class.ilGlossaryPresentationGUI.php.
References ILIAS\Repository\ctrl(), ilPageObjectGUI\getId(), getLink(), getOfflineDirectory(), offlineMode(), ilPageObjectGUI\setFileDownloadLink(), ilPageObjectGUI\setFullscreenLink(), ilPageObjectGUI\setOfflineDirectory(), ilPageObjectGUI\setOutputMode(), and ilPageObjectGUI\setStyleId().
Referenced by executeCommand(), and listDefinitions().
ilGlossaryPresentationGUI::chooseLetter | ( | ) |
Definition at line 1165 of file class.ilGlossaryPresentationGUI.php.
References $ctrl, and ilCtrl\redirect().
ilGlossaryPresentationGUI::downloadExportFile | ( | ) |
send download file (xml/html)
Definition at line 797 of file class.ilGlossaryPresentationGUI.php.
References $access, $lng, ilFileDelivery\deliverFileLegacy(), and exit.
ilGlossaryPresentationGUI::downloadFile | ( | ) |
Definition at line 829 of file class.ilGlossaryPresentationGUI.php.
References $access, $lng, and exit.
ilGlossaryPresentationGUI::executeCommand | ( | ) |
execute command
Definition at line 178 of file class.ilGlossaryPresentationGUI.php.
References $access, $lng, basicPageGuiInit(), ILIAS\Repository\ctrl(), getPresentationTable(), listDefinitions(), outputInfoScreen(), prepareOutput(), and setTabs().
ilGlossaryPresentationGUI::fullscreen | ( | ) |
Definition at line 625 of file class.ilGlossaryPresentationGUI.php.
References media().
ilGlossaryPresentationGUI::getLink | ( | int | $a_ref_id, |
string | $a_cmd = "" , |
||
int | $a_term_id = 0 , |
||
int | $a_def_id = 0 , |
||
string | $a_frame = "" , |
||
string | $a_type = "" |
||
) |
Definition at line 849 of file class.ilGlossaryPresentationGUI.php.
References ILIAS\Repository\ctrl(), and offlineMode().
Referenced by basicPageGuiInit(), listDefinitions(), and media().
ilGlossaryPresentationGUI::getOfflineDirectory | ( | ) |
Definition at line 170 of file class.ilGlossaryPresentationGUI.php.
References $offline_dir.
Referenced by basicPageGuiInit(), and listDefinitions().
ilGlossaryPresentationGUI::getPresentationTable | ( | ) |
Get presentation table.
Definition at line 362 of file class.ilGlossaryPresentationGUI.php.
References offlineMode().
Referenced by applyFilter(), executeCommand(), listTermByGiven(), and resetFilter().
ilGlossaryPresentationGUI::getTabs | ( | ) |
Definition at line 1052 of file class.ilGlossaryPresentationGUI.php.
References $access, $ctrl, $help, $lng, $requested_ref_id, ILIAS\Repository\ctrl(), offlineMode(), and ilHelpGUI\setScreenIdComponent().
Referenced by setTabs().
ilGlossaryPresentationGUI::infoScreen | ( | ) |
this one is called from the info button in the repository
Definition at line 1120 of file class.ilGlossaryPresentationGUI.php.
References ILIAS\Repository\ctrl(), and outputInfoScreen().
ilGlossaryPresentationGUI::initByRequest | ( | ?array | $query_params = null | ) |
Init services and this class by request params.
The request params are usually retrieved by HTTP request, but also adjusted during HTML exports, this is, why this method needs to be public.
ilGlossaryException |
Definition at line 98 of file class.ilGlossaryPresentationGUI.php.
References $service, ilGlossaryTerm\_lookGlossaryID(), and ilGlossaryTermReferences\isReferenced().
Referenced by __construct().
ilGlossaryPresentationGUI::initPrintViewSelectionForm | ( | ) |
Init print view selection form.
Definition at line 930 of file class.ilGlossaryPresentationGUI.php.
References $ctrl, $lng, ILIAS\Repository\form(), ilRadioGroupInputGUI\setValue(), ilSelectInputGUI\setValue(), and ilRadioOption\setValue().
Referenced by printView(), and printViewSelection().
ilGlossaryPresentationGUI::injectTemplate | ( | ilGlobalTemplateInterface | $tpl | ) |
Definition at line 144 of file class.ilGlossaryPresentationGUI.php.
References $tpl.
ilGlossaryPresentationGUI::listDefinitions | ( | int | $a_ref_id = 0 , |
int | $a_term_id = 0 , |
||
bool | $a_get_html = false , |
||
string | $a_page_mode = ilPageObjectGUI::PRESENTATION |
||
) |
list definitions of a term
Definition at line 394 of file class.ilGlossaryPresentationGUI.php.
References $access, $ilUser, $lng, $ref_id, $requested_ref_id, $term_id, $tpl, $type, $user, ilObject\_getAllReferences(), ilUserSearchCache\_getInstance(), ilLMPageObject\_getPresentationTitle(), ilInternalLink\_getSourcesOfTarget(), ilLMObject\_lookupContObjID(), ilObject\_lookupTitle(), basicPageGuiInit(), ILIAS\Repository\ctrl(), ilGlossaryDefinition\getDefinitionList(), ilUtil\getImagePath(), getLink(), getOfflineDirectory(), ilUserSearchCache\LAST_QUERY, ILIAS\Repository\lng(), offlineMode(), ilPageObjectGUI\PRESENTATION, ilPageObjectGUI\PRINTING, setContentStyles(), setLocator(), showDefinitionTabs(), and showTaxonomy().
Referenced by executeCommand(), and printView().
ilGlossaryPresentationGUI::listTermByGiven | ( | ) |
list glossary terms
Definition at line 313 of file class.ilGlossaryPresentationGUI.php.
References $access, $ctrl, $lng, $tpl, getPresentationTable(), ILIAS\Repository\lng(), offlineMode(), setContentStyles(), and setTabs().
Referenced by listTerms().
ilGlossaryPresentationGUI::listTerms | ( | ) |
Definition at line 261 of file class.ilGlossaryPresentationGUI.php.
References $access, $ctrl, $lng, $nav_history, $tabs_gui, $toolbar, ILIAS\Repository\ctrl(), listTermByGiven(), offlineMode(), ilAlphabetInputGUI\setFixDBUmlauts(), showTaxonomy(), and ilUtil\stripSlashes().
Referenced by applyFilter(), and resetFilter().
ilGlossaryPresentationGUI::media | ( | string | $a_mode = "media" | ) |
show media object
Definition at line 634 of file class.ilGlossaryPresentationGUI.php.
References $params, $xml, ilMediaItem\_getMapAreasIntLinks(), ILIAS\Repository\ctrl(), ilObjStyleSheet\getContentStylePath(), ilUtil\getImagePath(), getLink(), ilUtil\getStyleSheetLocation(), ilFileUtils\getWebspaceDir(), IL_MODE_ALIAS, IL_MODE_OUTPUT, ilObjMediaObject\isTypeAllowed(), offlineMode(), xslt_create(), and xslt_free().
Referenced by fullscreen().
ilGlossaryPresentationGUI::offlineMode | ( | ) |
checks wether offline content generation is activated
Definition at line 160 of file class.ilGlossaryPresentationGUI.php.
References $offline.
Referenced by basicPageGuiInit(), getLink(), getPresentationTable(), getTabs(), listDefinitions(), listTermByGiven(), listTerms(), media(), outputInfoScreen(), setContentStyles(), showDefinitionTabs(), and showTaxonomy().
ilGlossaryPresentationGUI::outputInfoScreen | ( | ) |
Definition at line 1127 of file class.ilGlossaryPresentationGUI.php.
References $access, $tabs_gui, ilObjGlossaryGUI\addUsagesToInfo(), ILIAS\Repository\ctrl(), ILIAS\Repository\lng(), offlineMode(), and setTabs().
Referenced by executeCommand(), and infoScreen().
ilGlossaryPresentationGUI::prepareOutput | ( | ) |
Definition at line 227 of file class.ilGlossaryPresentationGUI.php.
References ilUtil\getImagePath(), and setLocator().
Referenced by executeCommand().
ilGlossaryPresentationGUI::printView | ( | ) |
Definition at line 995 of file class.ilGlossaryPresentationGUI.php.
References $access, $i, $tpl, ILIAS\Repository\ctrl(), ILIAS\Repository\form(), ilObjTaxonomy\getSubTreeItems(), initPrintViewSelectionForm(), ILIAS\Repository\int(), listDefinitions(), ILIAS\Repository\lng(), and ilPageObjectGUI\PRINTING.
ilGlossaryPresentationGUI::printViewSelection | ( | ) |
Definition at line 904 of file class.ilGlossaryPresentationGUI.php.
References $ctrl, $tabs_gui, $tpl, ILIAS\Repository\form(), ilUtil\getImagePath(), initPrintViewSelectionForm(), ILIAS\Repository\lng(), setTabs(), and showDefinitionTabs().
ilGlossaryPresentationGUI::resetFilter | ( | ) |
Definition at line 383 of file class.ilGlossaryPresentationGUI.php.
References getPresentationTable(), and listTerms().
|
protected |
Definition at line 346 of file class.ilGlossaryPresentationGUI.php.
References $tpl, ilGlobalTemplateInterface\addCss(), ilObjStyleSheet\getSyntaxStylePath(), and offlineMode().
Referenced by listDefinitions(), and listTermByGiven().
ilGlossaryPresentationGUI::setLocator | ( | ) |
Definition at line 817 of file class.ilGlossaryPresentationGUI.php.
Referenced by listDefinitions(), and prepareOutput().
ilGlossaryPresentationGUI::setOfflineDirectory | ( | string | $a_dir | ) |
Definition at line 165 of file class.ilGlossaryPresentationGUI.php.
Referenced by __construct().
ilGlossaryPresentationGUI::setOfflineMode | ( | bool | $a_offline = true | ) |
set offline mode (content is generated for offline package)
Definition at line 152 of file class.ilGlossaryPresentationGUI.php.
ilGlossaryPresentationGUI::setTabs | ( | ) |
Definition at line 844 of file class.ilGlossaryPresentationGUI.php.
References getTabs().
Referenced by executeCommand(), listTermByGiven(), outputInfoScreen(), printViewSelection(), and showDownloadList().
ilGlossaryPresentationGUI::showDefinitionTabs | ( | string | $a_act | ) |
Definition at line 576 of file class.ilGlossaryPresentationGUI.php.
References $ctrl, $help, $lng, $tabs_gui, ilGlossaryTerm\_lookGlossaryID(), ILIAS\Repository\access(), ILIAS\Repository\lng(), offlineMode(), and ilHelpGUI\setScreenIdComponent().
Referenced by listDefinitions(), and printViewSelection().
ilGlossaryPresentationGUI::showDownloadList | ( | ) |
show download list
Definition at line 701 of file class.ilGlossaryPresentationGUI.php.
References $access, $cols, $i, $lng, $tabs_gui, $type, ILIAS\Repository\ctrl(), ilUtil\getImagePath(), ILIAS\Repository\lng(), and setTabs().
ilGlossaryPresentationGUI::showTaxonomy | ( | ) |
Definition at line 1171 of file class.ilGlossaryPresentationGUI.php.
References $ctrl, $DIC, ilObjTaxonomy\getUsageOfObject(), offlineMode(), ilTaxonomyGSToolProvider\SHOW_TAX_TREE, ilTaxonomyGSToolProvider\TAX_ID, ilTaxonomyGSToolProvider\TAX_TREE_CMD, ilTaxonomyGSToolProvider\TAX_TREE_GUI_PATH, and ilTaxonomyGSToolProvider\TAX_TREE_PARENT_CMD.
Referenced by listDefinitions(), and listTerms().
|
protected |
Definition at line 36 of file class.ilGlossaryPresentationGUI.php.
Referenced by downloadExportFile(), downloadFile(), executeCommand(), getTabs(), listDefinitions(), listTermByGiven(), listTerms(), outputInfoScreen(), printView(), and showDownloadList().
Definition at line 58 of file class.ilGlossaryPresentationGUI.php.
|
protected |
Definition at line 57 of file class.ilGlossaryPresentationGUI.php.
|
protected |
Definition at line 56 of file class.ilGlossaryPresentationGUI.php.
|
protected |
Definition at line 34 of file class.ilGlossaryPresentationGUI.php.
Referenced by chooseLetter(), getTabs(), initPrintViewSelectionForm(), listTermByGiven(), listTerms(), printViewSelection(), showDefinitionTabs(), and showTaxonomy().
|
protected |
Definition at line 33 of file class.ilGlossaryPresentationGUI.php.
Referenced by __construct().
|
protected |
Definition at line 28 of file class.ilGlossaryPresentationGUI.php.
|
protected |
Definition at line 30 of file class.ilGlossaryPresentationGUI.php.
|
protected |
Definition at line 41 of file class.ilGlossaryPresentationGUI.php.
|
protected |
Definition at line 42 of file class.ilGlossaryPresentationGUI.php.
|
protected |
Definition at line 40 of file class.ilGlossaryPresentationGUI.php.
Referenced by getTabs(), and showDefinitionTabs().
|
protected |
Definition at line 44 of file class.ilGlossaryPresentationGUI.php.
Referenced by __construct(), downloadExportFile(), downloadFile(), executeCommand(), getTabs(), initPrintViewSelectionForm(), listDefinitions(), listTermByGiven(), listTerms(), showDefinitionTabs(), and showDownloadList().
|
protected |
Definition at line 27 of file class.ilGlossaryPresentationGUI.php.
|
protected |
Definition at line 37 of file class.ilGlossaryPresentationGUI.php.
Referenced by listTerms().
|
protected |
Definition at line 32 of file class.ilGlossaryPresentationGUI.php.
Referenced by offlineMode().
|
protected |
Definition at line 29 of file class.ilGlossaryPresentationGUI.php.
Referenced by getOfflineDirectory().
|
protected |
Definition at line 51 of file class.ilGlossaryPresentationGUI.php.
|
protected |
Definition at line 55 of file class.ilGlossaryPresentationGUI.php.
|
protected |
Definition at line 53 of file class.ilGlossaryPresentationGUI.php.
|
protected |
Definition at line 50 of file class.ilGlossaryPresentationGUI.php.
|
protected |
Definition at line 54 of file class.ilGlossaryPresentationGUI.php.
|
protected |
Definition at line 49 of file class.ilGlossaryPresentationGUI.php.
Referenced by getTabs(), and listDefinitions().
|
protected |
Definition at line 52 of file class.ilGlossaryPresentationGUI.php.
|
protected |
Definition at line 31 of file class.ilGlossaryPresentationGUI.php.
Referenced by initByRequest().
|
protected |
Definition at line 35 of file class.ilGlossaryPresentationGUI.php.
Referenced by listTerms(), outputInfoScreen(), printViewSelection(), showDefinitionTabs(), and showDownloadList().
|
protected |
Definition at line 47 of file class.ilGlossaryPresentationGUI.php.
|
protected |
Definition at line 46 of file class.ilGlossaryPresentationGUI.php.
|
protected |
Definition at line 45 of file class.ilGlossaryPresentationGUI.php.
|
protected |
Definition at line 48 of file class.ilGlossaryPresentationGUI.php.
Referenced by listDefinitions().
|
protected |
Definition at line 38 of file class.ilGlossaryPresentationGUI.php.
Referenced by listTerms().
|
protected |
Definition at line 43 of file class.ilGlossaryPresentationGUI.php.
Referenced by __construct(), injectTemplate(), listDefinitions(), listTermByGiven(), printView(), printViewSelection(), and setContentStyles().
|
protected |
Definition at line 39 of file class.ilGlossaryPresentationGUI.php.
Referenced by listDefinitions().