|
ILIAS
release_7 Revision v7.30-3-g800a261c036
|
Glossary presentation. More...
Collaboration diagram for ilGlossaryPresentationGUI:Public Member Functions | |
| __construct ($export_format="", $export_dir="") | |
| Constructor @access public. More... | |
| initByRequest (array $query_params) | |
| Init services and this class by request params. More... | |
| injectTemplate ($tpl) | |
| Inject template. More... | |
| setOfflineMode ($a_offline=true) | |
| set offline mode (content is generated for offline package) More... | |
| offlineMode () | |
| checks wether offline content generation is activated More... | |
| setOfflineDirectory ($a_dir) | |
| Set offline directory. More... | |
| getOfflineDirectory () | |
| Get offline directory. More... | |
| executeCommand () | |
| execute command More... | |
| prepareOutput () | |
| basicPageGuiInit (\ilPageObjectGUI $a_page_gui) | |
| Basic page gui initialisation. More... | |
| listTerms () | |
| List all terms. More... | |
| listTermByGiven () | |
| list glossary terms More... | |
| getPresentationTable () | |
| Get presentation table. More... | |
| applyFilter () | |
| Apply filter. More... | |
| resetFilter () | |
| Reset filter (note: this function existed before data table filter has been introduced. More... | |
| listDefinitions ($a_ref_id=0, $a_term_id=0, $a_get_html=false, $a_page_mode=ilPageObjectGUI::PRESENTATION) | |
| list definitions of a term More... | |
| showDefinitionTabs ($a_act) | |
| Definitions tabs. More... | |
| fullscreen () | |
| show fullscreen view More... | |
| media ($a_mode="media") | |
| show media object More... | |
| showDownloadList () | |
| show download list More... | |
| downloadExportFile () | |
| send download file (xml/html) More... | |
| setLocator ($a_tree="", $a_id="") | |
| set Locator More... | |
| downloadFile () | |
| download file of file lists More... | |
| setTabs () | |
| output tabs More... | |
| getLink ( $a_ref_id, $a_cmd="", $a_term_id="", $a_def_id="", $a_frame="", $a_type="") | |
| handles links for learning module presentation More... | |
| printViewSelection () | |
| Print view selection. More... | |
| initPrintViewSelectionForm () | |
| Init print view selection form. More... | |
| printView () | |
| Print View. More... | |
| getTabs () | |
| get tabs More... | |
| infoScreen () | |
| this one is called from the info button in the repository not very nice to set cmdClass/Cmd manually, if everything works through ilCtrl in the future this may be changed More... | |
| outputInfoScreen () | |
| info screen More... | |
| chooseLetter () | |
| Choose first letter. More... | |
| showTaxonomy () | |
| Show taxonomy. More... | |
Protected Member Functions | |
| setContentStyles () | |
| Set content styles. More... | |
Glossary presentation.
Definition at line 13 of file class.ilGlossaryPresentationGUI.php.
| ilGlossaryPresentationGUI::__construct | ( | $export_format = "", |
|
$export_dir = "" |
|||
| ) |
Constructor @access public.
Definition at line 141 of file class.ilGlossaryPresentationGUI.php.
References $_GET, $DIC, $lng, $tpl, error(), help(), initByRequest(), setOfflineDirectory(), and user().
Here is the call graph for this function:| ilGlossaryPresentationGUI::applyFilter | ( | ) |
Apply filter.
Definition at line 495 of file class.ilGlossaryPresentationGUI.php.
References $tabs_gui, getPresentationTable(), and listTerms().
Here is the call graph for this function:| ilGlossaryPresentationGUI::basicPageGuiInit | ( | \ilPageObjectGUI | $a_page_gui | ) |
Basic page gui initialisation.
return
Definition at line 341 of file class.ilGlossaryPresentationGUI.php.
References ilObjStyleSheet\getEffectiveContentStyleId(), ilPageObjectGUI\getId(), getLink(), getOfflineDirectory(), offlineMode(), ilPageObjectGUI\setFileDownloadLink(), ilPageObjectGUI\setFullscreenLink(), ilPageObjectGUI\setOfflineDirectory(), ilPageObjectGUI\setOutputMode(), and ilPageObjectGUI\setStyleId().
Referenced by executeCommand(), and listDefinitions().
Here is the call graph for this function:
Here is the caller graph for this function:| ilGlossaryPresentationGUI::chooseLetter | ( | ) |
Choose first letter.
return
Definition at line 1373 of file class.ilGlossaryPresentationGUI.php.
References $ctrl.
| ilGlossaryPresentationGUI::downloadExportFile | ( | ) |
send download file (xml/html)
Definition at line 938 of file class.ilGlossaryPresentationGUI.php.
References $access, $error, $ilErr, $lng, ilUtil\deliverFile(), and exit.
Here is the call graph for this function:| ilGlossaryPresentationGUI::downloadFile | ( | ) |
download file of file lists
Definition at line 982 of file class.ilGlossaryPresentationGUI.php.
| ilGlossaryPresentationGUI::executeCommand | ( | ) |
execute command
Definition at line 272 of file class.ilGlossaryPresentationGUI.php.
References $access, $error, $ilErr, $lng, $ret, basicPageGuiInit(), getPresentationTable(), listDefinitions(), outputInfoScreen(), prepareOutput(), and setTabs().
Here is the call graph for this function:| ilGlossaryPresentationGUI::fullscreen | ( | ) |
show fullscreen view
Definition at line 760 of file class.ilGlossaryPresentationGUI.php.
References media().
Here is the call graph for this function:| ilGlossaryPresentationGUI::getLink | ( | $a_ref_id, | |
$a_cmd = "", |
|||
$a_term_id = "", |
|||
$a_def_id = "", |
|||
$a_frame = "", |
|||
$a_type = "" |
|||
| ) |
handles links for learning module presentation
Definition at line 1010 of file class.ilGlossaryPresentationGUI.php.
References offlineMode().
Referenced by basicPageGuiInit(), listDefinitions(), and media().
Here is the call graph for this function:
Here is the caller graph for this function:| ilGlossaryPresentationGUI::getOfflineDirectory | ( | ) |
Get offline directory.
Definition at line 263 of file class.ilGlossaryPresentationGUI.php.
Referenced by basicPageGuiInit(), and listDefinitions().
Here is the caller graph for this function:| ilGlossaryPresentationGUI::getPresentationTable | ( | ) |
Get presentation table.
return
Definition at line 479 of file class.ilGlossaryPresentationGUI.php.
References offlineMode().
Referenced by applyFilter(), executeCommand(), listTermByGiven(), and resetFilter().
Here is the call graph for this function:
Here is the caller graph for this function:| ilGlossaryPresentationGUI::getTabs | ( | ) |
get tabs
Definition at line 1250 of file class.ilGlossaryPresentationGUI.php.
References $access, $ctrl, $help, $lng, and offlineMode().
Referenced by setTabs().
Here is the call graph for this function:
Here is the caller graph for this function:| ilGlossaryPresentationGUI::infoScreen | ( | ) |
this one is called from the info button in the repository not very nice to set cmdClass/Cmd manually, if everything works through ilCtrl in the future this may be changed
Definition at line 1320 of file class.ilGlossaryPresentationGUI.php.
References outputInfoScreen().
Here is the call graph for this function:| ilGlossaryPresentationGUI::initByRequest | ( | array | $query_params | ) |
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.
| $query_params |
| ilGlossaryException |
Definition at line 179 of file class.ilGlossaryPresentationGUI.php.
References ilGlossaryTerm\_lookGlossaryID(), ilGlossaryTermReferences\isReferenced(), and user().
Referenced by __construct().
Here is the call graph for this function:
Here is the caller graph for this function:| ilGlossaryPresentationGUI::initPrintViewSelectionForm | ( | ) |
Init print view selection form.
Definition at line 1118 of file class.ilGlossaryPresentationGUI.php.
References $ctrl, $lng, and $si.
Referenced by printViewSelection().
Here is the caller graph for this function:| ilGlossaryPresentationGUI::injectTemplate | ( | $tpl | ) |
Inject template.
Definition at line 230 of file class.ilGlossaryPresentationGUI.php.
References $tpl.
| ilGlossaryPresentationGUI::listDefinitions | ( | $a_ref_id = 0, |
|
$a_term_id = 0, |
|||
$a_get_html = false, |
|||
$a_page_mode = ilPageObjectGUI::PRESENTATION |
|||
| ) |
list definitions of a term
Definition at line 520 of file class.ilGlossaryPresentationGUI.php.
References $access, $error, $ilErr, $ilUser, $lng, $term_id, $tpl, $type, $user, ilObject\_getAllReferences(), ilUserSearchCache\_getInstance(), ilLMPageObject\_getPresentationTitle(), ilInternalLink\_getSourcesOfTarget(), ilLMObject\_lookupContObjID(), ilObject\_lookupTitle(), basicPageGuiInit(), ilGlossaryDefinition\getDefinitionList(), ilUtil\getImagePath(), getLink(), getOfflineDirectory(), ilTextHighlighterGUI\highlight(), ilUserSearchCache\LAST_QUERY, offlineMode(), ilPageObjectGUI\PRESENTATION, ilPageObjectGUI\PRINTING, setContentStyles(), setLocator(), showDefinitionTabs(), and showTaxonomy().
Referenced by executeCommand(), and printView().
Here is the call graph for this function:
Here is the caller graph for this function:| ilGlossaryPresentationGUI::listTermByGiven | ( | ) |
list glossary terms
Definition at line 422 of file class.ilGlossaryPresentationGUI.php.
References $access, $ctrl, $ilErr, $lng, $tpl, getPresentationTable(), offlineMode(), setContentStyles(), and setTabs().
Referenced by listTerms().
Here is the call graph for this function:
Here is the caller graph for this function:| ilGlossaryPresentationGUI::listTerms | ( | ) |
List all terms.
Definition at line 365 of file class.ilGlossaryPresentationGUI.php.
References $access, $ctrl, $error, $ilErr, $lng, $nav_history, $ret, $tabs_gui, $toolbar, listTermByGiven(), offlineMode(), showTaxonomy(), and ilUtil\stripSlashes().
Referenced by applyFilter(), and resetFilter().
Here is the call graph for this function:
Here is the caller graph for this function:| ilGlossaryPresentationGUI::media | ( | $a_mode = "media" | ) |
show media object
Definition at line 769 of file class.ilGlossaryPresentationGUI.php.
References $xml, ilMediaItem\_getMapAreasIntLinks(), ilObjStyleSheet\getContentStylePath(), ilUtil\getImagePath(), getLink(), ilUtil\getStyleSheetLocation(), ilUtil\getWebspaceDir(), IL_MODE_ALIAS, IL_MODE_OUTPUT, ilObjMediaObject\isTypeAllowed(), offlineMode(), xslt_create(), xslt_error(), and xslt_free().
Referenced by fullscreen().
Here is the call graph for this function:
Here is the caller graph for this function:| ilGlossaryPresentationGUI::offlineMode | ( | ) |
checks wether offline content generation is activated
Definition at line 246 of file class.ilGlossaryPresentationGUI.php.
Referenced by basicPageGuiInit(), getLink(), getPresentationTable(), getTabs(), listDefinitions(), listTermByGiven(), listTerms(), media(), outputInfoScreen(), setContentStyles(), showDefinitionTabs(), and showTaxonomy().
Here is the caller graph for this function:| ilGlossaryPresentationGUI::outputInfoScreen | ( | ) |
info screen
Definition at line 1330 of file class.ilGlossaryPresentationGUI.php.
References $access, $tabs_gui, ilObjGlossaryGUI\addUsagesToInfo(), offlineMode(), and setTabs().
Referenced by executeCommand(), and infoScreen().
Here is the call graph for this function:
Here is the caller graph for this function:| ilGlossaryPresentationGUI::prepareOutput | ( | ) |
Definition at line 323 of file class.ilGlossaryPresentationGUI.php.
References ilUtil\getImagePath(), and setLocator().
Referenced by executeCommand().
Here is the call graph for this function:
Here is the caller graph for this function:| ilGlossaryPresentationGUI::printView | ( | ) |
Print View.
return
Definition at line 1189 of file class.ilGlossaryPresentationGUI.php.
References $_POST, $access, $i, $tpl, ilObjTaxonomy\getSubTreeItems(), listDefinitions(), and ilPageObjectGUI\PRINTING.
Here is the call graph for this function:| ilGlossaryPresentationGUI::printViewSelection | ( | ) |
Print view selection.
return
Definition at line 1089 of file class.ilGlossaryPresentationGUI.php.
References $ctrl, $ilUser, $lng, $tabs_gui, $toolbar, $tpl, $user, ilUtil\getImagePath(), initPrintViewSelectionForm(), setTabs(), and showDefinitionTabs().
Here is the call graph for this function:| ilGlossaryPresentationGUI::resetFilter | ( | ) |
Reset filter (note: this function existed before data table filter has been introduced.
Definition at line 509 of file class.ilGlossaryPresentationGUI.php.
References getPresentationTable(), and listTerms().
Here is the call graph for this function:
|
protected |
Set content styles.
Definition at line 457 of file class.ilGlossaryPresentationGUI.php.
References $tpl, ilObjStyleSheet\getContentStylePath(), ilObjStyleSheet\getEffectiveContentStyleId(), ilObjStyleSheet\getSyntaxStylePath(), and offlineMode().
Referenced by listDefinitions(), and listTermByGiven().
Here is the call graph for this function:
Here is the caller graph for this function:| ilGlossaryPresentationGUI::setLocator | ( | $a_tree = "", |
|
$a_id = "" |
|||
| ) |
set Locator
| object | tree object |
| integer | reference id @access public |
Definition at line 966 of file class.ilGlossaryPresentationGUI.php.
Referenced by listDefinitions(), and prepareOutput().
Here is the caller graph for this function:| ilGlossaryPresentationGUI::setOfflineDirectory | ( | $a_dir | ) |
Set offline directory.
Definition at line 254 of file class.ilGlossaryPresentationGUI.php.
Referenced by __construct().
Here is the caller graph for this function:| ilGlossaryPresentationGUI::setOfflineMode | ( | $a_offline = true | ) |
set offline mode (content is generated for offline package)
Definition at line 238 of file class.ilGlossaryPresentationGUI.php.
| ilGlossaryPresentationGUI::setTabs | ( | ) |
output tabs
Definition at line 1001 of file class.ilGlossaryPresentationGUI.php.
References getTabs().
Referenced by executeCommand(), listTermByGiven(), outputInfoScreen(), printViewSelection(), and showDownloadList().
Here is the call graph for this function:
Here is the caller graph for this function:| ilGlossaryPresentationGUI::showDefinitionTabs | ( | $a_act | ) |
Definitions tabs.
return
Definition at line 708 of file class.ilGlossaryPresentationGUI.php.
References $ctrl, $help, $lng, $tabs_gui, ilGlossaryTerm\_lookGlossaryID(), and offlineMode().
Referenced by listDefinitions(), and printViewSelection().
Here is the call graph for this function:
Here is the caller graph for this function:| ilGlossaryPresentationGUI::showDownloadList | ( | ) |
show download list
Definition at line 836 of file class.ilGlossaryPresentationGUI.php.
References $access, $cols, $i, $ilErr, $lng, $size, $tabs_gui, $type, ilUtil\getImagePath(), setTabs(), and ilUtil\switchColor().
Here is the call graph for this function:| ilGlossaryPresentationGUI::showTaxonomy | ( | ) |
Show taxonomy.
| ilCtrlException |
Definition at line 1384 of file class.ilGlossaryPresentationGUI.php.
References $ctrl, $DIC, $tax_id, $tpl, 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().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 28 of file class.ilGlossaryPresentationGUI.php.
Referenced by downloadExportFile(), downloadFile(), executeCommand(), getTabs(), listDefinitions(), listTermByGiven(), listTerms(), outputInfoScreen(), printView(), and showDownloadList().
|
protected |
Definition at line 18 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 downloadExportFile(), downloadFile(), executeCommand(), listDefinitions(), and listTerms().
|
protected |
Definition at line 58 of file class.ilGlossaryPresentationGUI.php.
|
protected |
Definition at line 63 of file class.ilGlossaryPresentationGUI.php.
|
protected |
Definition at line 53 of file class.ilGlossaryPresentationGUI.php.
Referenced by getTabs(), and showDefinitionTabs().
|
protected |
Definition at line 73 of file class.ilGlossaryPresentationGUI.php.
Referenced by __construct(), downloadExportFile(), downloadFile(), executeCommand(), getTabs(), initPrintViewSelectionForm(), listDefinitions(), listTermByGiven(), listTerms(), printViewSelection(), showDefinitionTabs(), and showDownloadList().
|
protected |
Definition at line 38 of file class.ilGlossaryPresentationGUI.php.
Referenced by listTerms().
|
protected |
Definition at line 114 of file class.ilGlossaryPresentationGUI.php.
|
protected |
Definition at line 134 of file class.ilGlossaryPresentationGUI.php.
|
protected |
Definition at line 124 of file class.ilGlossaryPresentationGUI.php.
|
protected |
Definition at line 109 of file class.ilGlossaryPresentationGUI.php.
|
protected |
Definition at line 129 of file class.ilGlossaryPresentationGUI.php.
|
protected |
Definition at line 104 of file class.ilGlossaryPresentationGUI.php.
|
protected |
Definition at line 119 of file class.ilGlossaryPresentationGUI.php.
|
protected |
Definition at line 94 of file class.ilGlossaryPresentationGUI.php.
|
protected |
Definition at line 23 of file class.ilGlossaryPresentationGUI.php.
Referenced by applyFilter(), listTerms(), outputInfoScreen(), printViewSelection(), showDefinitionTabs(), and showDownloadList().
|
protected |
Definition at line 88 of file class.ilGlossaryPresentationGUI.php.
|
protected |
Definition at line 83 of file class.ilGlossaryPresentationGUI.php.
Referenced by showTaxonomy().
|
protected |
Definition at line 78 of file class.ilGlossaryPresentationGUI.php.
|
protected |
Definition at line 99 of file class.ilGlossaryPresentationGUI.php.
Referenced by listDefinitions().
|
protected |
Definition at line 43 of file class.ilGlossaryPresentationGUI.php.
Referenced by listTerms(), and printViewSelection().
|
protected |
Definition at line 68 of file class.ilGlossaryPresentationGUI.php.
Referenced by __construct(), injectTemplate(), listDefinitions(), listTermByGiven(), printView(), printViewSelection(), setContentStyles(), and showTaxonomy().
|
protected |
Definition at line 48 of file class.ilGlossaryPresentationGUI.php.
Referenced by listDefinitions(), and printViewSelection().