|
ILIAS
Release_3_10_x_branch Revision 61812
|
Class ilGlossaryPresentationGUI. More...
Collaboration diagram for ilGlossaryPresentationGUI:Public Member Functions | |
| ilGlossaryPresentationGUI () | |
| Constructor public. | |
| setOfflineMode ($a_offline=true) | |
| set offline mode (content is generated for offline package) | |
| offlineMode () | |
| checks wether offline content generation is activated | |
| setOfflineDirectory ($a_dir) | |
| Set offline directory. | |
| getOfflineDirectory () | |
| Get offline directory. | |
| & | executeCommand () |
| executer command ("listTerms" | "listDefinitions") | |
| prepareOutput () | |
| clearTerms () | |
| searchTerms () | |
| listTerms () | |
| listTermByGiven ($term_list, $filter="") | |
| list glossary terms | |
| listDefinitions () | |
| list definitions of a term | |
| fullscreen () | |
| show fullscreen view | |
| media ($a_mode="media") | |
| show media object | |
| showDownloadList () | |
| show download list | |
| downloadExportFile () | |
| send download file (xml/html) | |
| setLocator ($a_tree="", $a_id="") | |
| set Locator | |
| downloadFile () | |
| download file of file lists | |
| setTabs () | |
| output tabs | |
| getLinkXML ($a_int_links) | |
| get link targets | |
| getLink ($a_ref_id, $a_cmd="", $a_term_id="", $a_def_id="", $a_frame="", $a_type="") | |
| handles links for learning module presentation | |
| getTabs (&$tabs_gui) | |
| get tabs | |
| 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 | |
| outputInfoScreen () | |
| info screen call from inside learning module | |
Data Fields | |
| $admin_tabs | |
| $glossary | |
| $ilias | |
| $tpl | |
| $lng | |
Class ilGlossaryPresentationGUI.
GUI class for glossary presentation
ilGlossaryPresentationGUI: ilNoteGUI, ilInfoScreenGUI
Definition at line 43 of file class.ilGlossaryPresentationGUI.php.
| ilGlossaryPresentationGUI::clearTerms | ( | ) |
Definition at line 168 of file class.ilGlossaryPresentationGUI.php.
References $_GET, and searchTerms().
Here is the call graph for this function:| ilGlossaryPresentationGUI::download_paragraph | ( | ) |
Definition at line 1130 of file class.ilGlossaryPresentationGUI.php.
References $_GET.
| ilGlossaryPresentationGUI::downloadExportFile | ( | ) |
send download file (xml/html)
Definition at line 803 of file class.ilGlossaryPresentationGUI.php.
References $_GET, $dir, $file, ilUtil\deliverFile(), and exit.
Here is the call graph for this function:| ilGlossaryPresentationGUI::downloadFile | ( | ) |
download file of file lists
Definition at line 846 of file class.ilGlossaryPresentationGUI.php.
| & ilGlossaryPresentationGUI::executeCommand | ( | ) |
executer command ("listTerms" | "listDefinitions")
Definition at line 112 of file class.ilGlossaryPresentationGUI.php.
References $_GET, $cmd, $ilias, $lng, $ret, listDefinitions(), outputInfoScreen(), prepareOutput(), and setTabs().
Here is the call graph for this function:| ilGlossaryPresentationGUI::fullscreen | ( | ) |
show fullscreen view
Definition at line 608 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 978 of file class.ilGlossaryPresentationGUI.php.
References 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 873 of file class.ilGlossaryPresentationGUI.php.
References $target_arr, $target_id, ilFrameTargetInfo\_getFrame(), ilGlossaryTerm\_lookGlossaryID(), ilLMObject\_lookupContObjID(), ilObject\_lookupObjId(), ilObject\_lookupType(), 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 103 of file class.ilGlossaryPresentationGUI.php.
Referenced by listDefinitions(), and listTermByGiven().
Here is the caller graph for this function:| ilGlossaryPresentationGUI::getTabs | ( | & | $tabs_gui | ) |
get tabs
Definition at line 1061 of file class.ilGlossaryPresentationGUI.php.
References $_GET, and offlineMode().
Referenced by setTabs().
Here is the call graph for this function:
Here is the caller graph for this function:| ilGlossaryPresentationGUI::ilGlossaryPresentationGUI | ( | ) |
Constructor public.
Definition at line 55 of file class.ilGlossaryPresentationGUI.php.
References $_GET, $ilCtrl, $ilias, $lng, and $tpl.
| 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 1142 of file class.ilGlossaryPresentationGUI.php.
References outputInfoScreen().
Here is the call graph for this function:| ilGlossaryPresentationGUI::listDefinitions | ( | ) |
list definitions of a term
Definition at line 436 of file class.ilGlossaryPresentationGUI.php.
References $_GET, $title, ilObject\_getAllReferences(), ilLMPageObject\_getPresentationTitle(), ilInternalLink\_getSourcesOfTarget(), ilLMObject\_lookupContObjID(), ilObject\_lookupTitle(), ilObjStyleSheet\getContentStylePath(), ilGlossaryDefinition\getDefinitionList(), ilUtil\getImagePath(), getLink(), getLinkXML(), getOfflineDirectory(), ilObjStyleSheet\getSyntaxStylePath(), offlineMode(), setLocator(), and setTabs().
Referenced by executeCommand().
Here is the call graph for this function:
Here is the caller graph for this function:| ilGlossaryPresentationGUI::listTermByGiven | ( | $term_list, | |
$filter = "" |
|||
| ) |
list glossary terms
Definition at line 200 of file class.ilGlossaryPresentationGUI.php.
References $_GET, $ilCtrl, ilObject\_lookupTitle(), ilUtil\buildLatexImages(), ilGlossaryDefinition\getDefinitionList(), getOfflineDirectory(), ilUtil\insertLatexImages(), offlineMode(), setTabs(), ilUtil\shortenText(), ilUtil\switchColor(), and ilPCParagraph\xml2output().
Referenced by listTerms(), and searchTerms().
Here is the call graph for this function:
Here is the caller graph for this function:| ilGlossaryPresentationGUI::listTerms | ( | ) |
Definition at line 182 of file class.ilGlossaryPresentationGUI.php.
References $_GET, listTermByGiven(), and offlineMode().
Here is the call graph for this function:| ilGlossaryPresentationGUI::media | ( | $a_mode = "media" | ) |
show media object
Definition at line 617 of file class.ilGlossaryPresentationGUI.php.
References $_GET, ilMediaItem\_getMapAreasIntLinks(), ilObjStyleSheet\getContentStylePath(), ilUtil\getImagePath(), getLink(), ilUtil\getStyleSheetLocation(), ilUtil\getWebspaceDir(), IL_MODE_ALIAS, IL_MODE_OUTPUT, offlineMode(), xslt_create(), xslt_error(), xslt_free(), and xslt_process().
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 86 of file class.ilGlossaryPresentationGUI.php.
Referenced by getLink(), getLinkXML(), getTabs(), listDefinitions(), listTermByGiven(), listTerms(), media(), and outputInfoScreen().
Here is the caller graph for this function:| ilGlossaryPresentationGUI::outputInfoScreen | ( | ) |
info screen call from inside learning module
info screen
Definition at line 1161 of file class.ilGlossaryPresentationGUI.php.
References $_GET, $ilBench, 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 153 of file class.ilGlossaryPresentationGUI.php.
References $title, ilUtil\getImagePath(), ilUtil\sendInfo(), and setLocator().
Referenced by executeCommand().
Here is the call graph for this function:
Here is the caller graph for this function:| ilGlossaryPresentationGUI::searchTerms | ( | ) |
Definition at line 175 of file class.ilGlossaryPresentationGUI.php.
References listTermByGiven().
Referenced by clearTerms().
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 public |
Definition at line 825 of file class.ilGlossaryPresentationGUI.php.
References $_GET.
Referenced by listDefinitions(), and prepareOutput().
Here is the caller graph for this function:| ilGlossaryPresentationGUI::setOfflineDirectory | ( | $a_dir | ) |
Set offline directory.
Definition at line 94 of file class.ilGlossaryPresentationGUI.php.
| ilGlossaryPresentationGUI::setOfflineMode | ( | $a_offline = true | ) |
set offline mode (content is generated for offline package)
Definition at line 77 of file class.ilGlossaryPresentationGUI.php.
| ilGlossaryPresentationGUI::setTabs | ( | ) |
output tabs
Definition at line 858 of file class.ilGlossaryPresentationGUI.php.
References getTabs().
Referenced by executeCommand(), listDefinitions(), listTermByGiven(), outputInfoScreen(), and showDownloadList().
Here is the call graph for this function:
Here is the caller graph for this function:| ilGlossaryPresentationGUI::showDownloadList | ( | ) |
show download list
Definition at line 688 of file class.ilGlossaryPresentationGUI.php.
References $_GET, $dir, $ilBench, $size, ilUtil\getImagePath(), setTabs(), and ilUtil\switchColor().
Here is the call graph for this function:| ilGlossaryPresentationGUI::$admin_tabs |
Definition at line 45 of file class.ilGlossaryPresentationGUI.php.
| ilGlossaryPresentationGUI::$glossary |
Definition at line 46 of file class.ilGlossaryPresentationGUI.php.
| ilGlossaryPresentationGUI::$ilias |
Definition at line 47 of file class.ilGlossaryPresentationGUI.php.
Referenced by executeCommand(), and ilGlossaryPresentationGUI().
| ilGlossaryPresentationGUI::$lng |
Definition at line 49 of file class.ilGlossaryPresentationGUI.php.
Referenced by executeCommand(), and ilGlossaryPresentationGUI().
| ilGlossaryPresentationGUI::$tpl |
Definition at line 48 of file class.ilGlossaryPresentationGUI.php.
Referenced by ilGlossaryPresentationGUI().