|
ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
Class ilGlossaryPresentationGUI. More...
Collaboration diagram for ilGlossaryPresentationGUI:Public Member Functions | |
| __construct () | |
| Constructor @access public. 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 () | |
| 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=IL_PAGE_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... | |
| getLinkXML ($a_int_links) | |
| get link targets 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... | |
| download_paragraph () | |
| 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 call from inside learning module More... | |
| chooseLetter () | |
| Choose first letter. More... | |
| showTaxonomy () | |
| Show taxonomy. More... | |
Data Fields | |
| $admin_tabs | |
| $glossary | |
| $tpl | |
| $lng | |
Protected Attributes | |
| $ctrl | |
| $tabs_gui | |
| $access | |
| $error | |
| $nav_history | |
| $toolbar | |
| $user | |
| $help | |
Class ilGlossaryPresentationGUI.
GUI class for glossary presentation
@ilCtrl_Calls ilGlossaryPresentationGUI: ilNoteGUI, ilInfoScreenGUI, ilPresentationListTableGUI
Definition at line 24 of file class.ilGlossaryPresentationGUI.php.
| ilGlossaryPresentationGUI::__construct | ( | ) |
Constructor @access public.
Definition at line 75 of file class.ilGlossaryPresentationGUI.php.
References $_GET, $DIC, $ilCtrl, $lng, $tpl, ilGlossaryTerm\_lookGlossaryID(), error(), ilGlossaryTermReferences\isReferenced(), and user().
Here is the call graph for this function:| ilGlossaryPresentationGUI::applyFilter | ( | ) |
Apply filter.
Definition at line 367 of file class.ilGlossaryPresentationGUI.php.
References $tabs_gui, getPresentationTable(), and listTerms().
Here is the call graph for this function:| ilGlossaryPresentationGUI::chooseLetter | ( | ) |
Choose first letter.
return
Definition at line 1496 of file class.ilGlossaryPresentationGUI.php.
| ilGlossaryPresentationGUI::download_paragraph | ( | ) |
Definition at line 1402 of file class.ilGlossaryPresentationGUI.php.
References $_GET.
| ilGlossaryPresentationGUI::downloadExportFile | ( | ) |
send download file (xml/html)
Definition at line 874 of file class.ilGlossaryPresentationGUI.php.
References $_GET, $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 920 of file class.ilGlossaryPresentationGUI.php.
| ilGlossaryPresentationGUI::executeCommand | ( | ) |
execute command
Definition at line 168 of file class.ilGlossaryPresentationGUI.php.
References $_GET, $access, $error, $ilErr, $lng, $ret, getPresentationTable(), listDefinitions(), outputInfoScreen(), prepareOutput(), and setTabs().
Here is the call graph for this function:| ilGlossaryPresentationGUI::fullscreen | ( | ) |
show fullscreen view
Definition at line 681 of file class.ilGlossaryPresentationGUI.php.
References $html, and 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 1070 of file class.ilGlossaryPresentationGUI.php.
References $a_type, and offlineMode().
Referenced by listDefinitions(), and media().
Here is the call graph for this function:
Here is the caller graph for this function:| ilGlossaryPresentationGUI::getLinkXML | ( | $a_int_links | ) |
get link targets
Definition at line 948 of file class.ilGlossaryPresentationGUI.php.
References $target, $target_arr, $target_id, $type, ilFrameTargetInfo\_getFrame(), ilGlossaryTerm\_lookGlossaryID(), ilLMObject\_lookupContObjID(), ilObject\_lookupObjId(), ilObject\_lookupType(), ilWikiPage\getGotoForWikiPageTarget(), ilUserUtil\getNamePresentation(), ilUserUtil\hasPublicProfile(), and offlineMode().
Referenced by listDefinitions().
Here is the call graph for this function:
Here is the caller graph for this function:| ilGlossaryPresentationGUI::getOfflineDirectory | ( | ) |
Get offline directory.
Definition at line 159 of file class.ilGlossaryPresentationGUI.php.
Referenced by listDefinitions().
Here is the caller graph for this function:| ilGlossaryPresentationGUI::getPresentationTable | ( | ) |
Get presentation table.
return
Definition at line 350 of file class.ilGlossaryPresentationGUI.php.
References $table, and 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 1333 of file class.ilGlossaryPresentationGUI.php.
References $_GET, $access, $ctrl, $help, $ilCtrl, $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 1415 of file class.ilGlossaryPresentationGUI.php.
References outputInfoScreen().
Here is the call graph for this function:| ilGlossaryPresentationGUI::initPrintViewSelectionForm | ( | ) |
Init print view selection form.
Definition at line 1178 of file class.ilGlossaryPresentationGUI.php.
References $ctrl, $ilCtrl, $lng, $si, and $t.
Referenced by printViewSelection().
Here is the caller graph for this function:| ilGlossaryPresentationGUI::listDefinitions | ( | $a_ref_id = 0, |
|
$a_term_id = 0, |
|||
$a_get_html = false, |
|||
$a_page_mode = IL_PAGE_PRESENTATION |
|||
| ) |
list definitions of a term
Definition at line 392 of file class.ilGlossaryPresentationGUI.php.
References $_GET, $access, $def, $error, $ilErr, $ilUser, $lng, Sabre\VObject\$output, $title, $tpl, $type, $user, $w, ilObject\_getAllReferences(), ilUserSearchCache\_getInstance(), ilLMPageObject\_getPresentationTitle(), ilInternalLink\_getSourcesOfTarget(), ilLMObject\_lookupContObjID(), ilObject\_lookupTitle(), ilObjStyleSheet\getContentStylePath(), ilGlossaryDefinition\getDefinitionList(), ilUtil\getImagePath(), getLink(), getLinkXML(), getOfflineDirectory(), ilObjStyleSheet\getSyntaxStylePath(), ilTextHighlighterGUI\highlight(), IL_PAGE_PRESENTATION, ilUserSearchCache\LAST_QUERY, offlineMode(), 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 284 of file class.ilGlossaryPresentationGUI.php.
References $_GET, $access, $ctrl, $ilCtrl, $ilErr, $lng, $table, $tpl, ilObjStyleSheet\getContentStylePath(), getPresentationTable(), ilObjStyleSheet\getSyntaxStylePath(), offlineMode(), 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 228 of file class.ilGlossaryPresentationGUI.php.
References $_GET, $access, $ai, $ctrl, $error, $ilCtrl, $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 690 of file class.ilGlossaryPresentationGUI.php.
References $_GET, $html, Sabre\VObject\$output, PHPMailer\PHPMailer\$params, $xml, ilMediaItem\_getMapAreasIntLinks(), ilObjStyleSheet\getContentStylePath(), ilUtil\getImagePath(), getLink(), ilUtil\getStyleSheetLocation(), ilUtil\getWebspaceDir(), IL_MODE_ALIAS, IL_MODE_OUTPUT, 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 142 of file class.ilGlossaryPresentationGUI.php.
Referenced by getLink(), getLinkXML(), getPresentationTable(), getTabs(), listDefinitions(), listTermByGiven(), listTerms(), media(), outputInfoScreen(), showDefinitionTabs(), and showTaxonomy().
Here is the caller graph for this function:| ilGlossaryPresentationGUI::outputInfoScreen | ( | ) |
info screen call from inside learning module
info screen
Definition at line 1434 of file class.ilGlossaryPresentationGUI.php.
References $_GET, $access, $info, $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 213 of file class.ilGlossaryPresentationGUI.php.
References $title, 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 1252 of file class.ilGlossaryPresentationGUI.php.
References $_GET, $_POST, $access, $i, $t, $tpl, exit, ilObjStyleSheet\getContentPrintStyle(), ilObjTaxonomy\getSubTreeItems(), IL_PAGE_PRINT, iljQueryUtil\initjQuery(), and listDefinitions().
Here is the call graph for this function:| ilGlossaryPresentationGUI::printViewSelection | ( | ) |
Print view selection.
return
Definition at line 1149 of file class.ilGlossaryPresentationGUI.php.
References $ctrl, $ilCtrl, $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 381 of file class.ilGlossaryPresentationGUI.php.
References getPresentationTable(), and listTerms().
Here is the call graph for this function:| ilGlossaryPresentationGUI::setLocator | ( | $a_tree = "", |
|
$a_id = "" |
|||
| ) |
set Locator
| object | tree object |
| integer | reference id @access public |
Definition at line 902 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 150 of file class.ilGlossaryPresentationGUI.php.
| ilGlossaryPresentationGUI::setOfflineMode | ( | $a_offline = true | ) |
set offline mode (content is generated for offline package)
Definition at line 134 of file class.ilGlossaryPresentationGUI.php.
| ilGlossaryPresentationGUI::setTabs | ( | ) |
output tabs
Definition at line 940 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 627 of file class.ilGlossaryPresentationGUI.php.
References $_GET, $ctrl, $help, $ilCtrl, $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 758 of file class.ilGlossaryPresentationGUI.php.
References $_GET, $access, $cols, $i, $ilErr, $lng, $size, $tabs_gui, $tbl, $type, ilUtil\getImagePath(), setTabs(), and ilUtil\switchColor().
Here is the call graph for this function:| ilGlossaryPresentationGUI::showTaxonomy | ( | ) |
Show taxonomy.
return
Definition at line 1509 of file class.ilGlossaryPresentationGUI.php.
References $lng, $tpl, ilObjTaxonomyGUI\getTreeHTML(), ilObjTaxonomy\getUsageOfObject(), and offlineMode().
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 39 of file class.ilGlossaryPresentationGUI.php.
Referenced by downloadExportFile(), downloadFile(), executeCommand(), getTabs(), listDefinitions(), listTermByGiven(), listTerms(), outputInfoScreen(), printView(), and showDownloadList().
| ilGlossaryPresentationGUI::$admin_tabs |
Definition at line 66 of file class.ilGlossaryPresentationGUI.php.
|
protected |
Definition at line 29 of file class.ilGlossaryPresentationGUI.php.
Referenced by chooseLetter(), getTabs(), initPrintViewSelectionForm(), listTermByGiven(), listTerms(), printViewSelection(), and showDefinitionTabs().
|
protected |
Definition at line 44 of file class.ilGlossaryPresentationGUI.php.
Referenced by downloadExportFile(), downloadFile(), executeCommand(), listDefinitions(), and listTerms().
| ilGlossaryPresentationGUI::$glossary |
Definition at line 67 of file class.ilGlossaryPresentationGUI.php.
|
protected |
Definition at line 64 of file class.ilGlossaryPresentationGUI.php.
Referenced by getTabs(), and showDefinitionTabs().
| ilGlossaryPresentationGUI::$lng |
Definition at line 69 of file class.ilGlossaryPresentationGUI.php.
Referenced by __construct(), downloadExportFile(), downloadFile(), executeCommand(), getTabs(), initPrintViewSelectionForm(), listDefinitions(), listTermByGiven(), listTerms(), printViewSelection(), showDefinitionTabs(), showDownloadList(), and showTaxonomy().
|
protected |
Definition at line 49 of file class.ilGlossaryPresentationGUI.php.
Referenced by listTerms().
|
protected |
Definition at line 34 of file class.ilGlossaryPresentationGUI.php.
Referenced by applyFilter(), listTerms(), outputInfoScreen(), printViewSelection(), showDefinitionTabs(), and showDownloadList().
|
protected |
Definition at line 54 of file class.ilGlossaryPresentationGUI.php.
Referenced by listTerms(), and printViewSelection().
| ilGlossaryPresentationGUI::$tpl |
Definition at line 68 of file class.ilGlossaryPresentationGUI.php.
Referenced by __construct(), listDefinitions(), listTermByGiven(), printView(), printViewSelection(), and showTaxonomy().
|
protected |
Definition at line 59 of file class.ilGlossaryPresentationGUI.php.
Referenced by listDefinitions(), and printViewSelection().