ILIAS
release_4-3 Revision
|
Class ilGlossaryPresentationGUI. More...
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 () | |
listTerms () | |
List all terms. | |
listTermByGiven ($term_list, $filter="") | |
list glossary terms | |
applyFilter () | |
Apply filter. | |
resetFilter () | |
Reset filter (note: this function existed before data table filter has been introduced. | |
listDefinitions ($a_ref_id=0, $a_term_id=0, $a_get_html=false) | |
list definitions of a term | |
showDefinitionTabs ($a_act) | |
Definitions tabs. | |
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 | |
printViewSelection () | |
Print view selection. | |
initPrintViewSelectionForm () | |
Init print view selection form. | |
printView () | |
Print View. | |
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 | |
chooseLetter () | |
Choose first letter. | |
showTaxonomy () | |
Show taxonomy. |
Data Fields | |
$admin_tabs | |
$glossary | |
$ilias | |
$tpl | |
$lng |
Class ilGlossaryPresentationGUI.
GUI class for glossary presentation
ilGlossaryPresentationGUI: ilNoteGUI, ilInfoScreenGUI, ilShopPurchaseGUI
Definition at line 24 of file class.ilGlossaryPresentationGUI.php.
ilGlossaryPresentationGUI::applyFilter | ( | ) |
Apply filter.
Definition at line 262 of file class.ilGlossaryPresentationGUI.php.
References listTerms(), and offlineMode().
ilGlossaryPresentationGUI::chooseLetter | ( | ) |
Choose first letter.
@return |
Definition at line 1421 of file class.ilGlossaryPresentationGUI.php.
References $ilCtrl.
ilGlossaryPresentationGUI::download_paragraph | ( | ) |
Definition at line 1323 of file class.ilGlossaryPresentationGUI.php.
References $_GET.
ilGlossaryPresentationGUI::downloadExportFile | ( | ) |
send download file (xml/html)
Definition at line 799 of file class.ilGlossaryPresentationGUI.php.
References $_GET, $file, $ilias, $lng, ilUtil\deliverFile(), and exit.
ilGlossaryPresentationGUI::downloadFile | ( | ) |
download file of file lists
Definition at line 847 of file class.ilGlossaryPresentationGUI.php.
References $_GET, $file, $ilias, $lng, and exit.
& ilGlossaryPresentationGUI::executeCommand | ( | ) |
executer command ("listTerms" | "listDefinitions")
Definition at line 117 of file class.ilGlossaryPresentationGUI.php.
References $_GET, $cmd, $ilias, $lng, $ret, ilPaymentObject\_requiresPurchaseToAccess(), listDefinitions(), outputInfoScreen(), prepareOutput(), and setTabs().
ilGlossaryPresentationGUI::fullscreen | ( | ) |
show fullscreen view
Definition at line 599 of file class.ilGlossaryPresentationGUI.php.
References media().
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 991 of file class.ilGlossaryPresentationGUI.php.
References offlineMode().
Referenced by listDefinitions(), and media().
ilGlossaryPresentationGUI::getLinkXML | ( | $a_int_links | ) |
get link targets
Definition at line 875 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().
ilGlossaryPresentationGUI::getOfflineDirectory | ( | ) |
Get offline directory.
Definition at line 108 of file class.ilGlossaryPresentationGUI.php.
Referenced by listDefinitions().
ilGlossaryPresentationGUI::getTabs | ( | & | $tabs_gui | ) |
get tabs
Definition at line 1263 of file class.ilGlossaryPresentationGUI.php.
References $_GET, $ilCtrl, $lng, and offlineMode().
Referenced by setTabs().
ilGlossaryPresentationGUI::ilGlossaryPresentationGUI | ( | ) |
Constructor public.
Definition at line 36 of file class.ilGlossaryPresentationGUI.php.
References $_GET, $ilCtrl, $ilias, $lng, $tpl, and ilGlossaryTerm\_lookGlossaryID().
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 1335 of file class.ilGlossaryPresentationGUI.php.
References outputInfoScreen().
ilGlossaryPresentationGUI::initPrintViewSelectionForm | ( | ) |
Init print view selection form.
Definition at line 1102 of file class.ilGlossaryPresentationGUI.php.
References $ilCtrl, $lng, $si, $t, ilRadioGroupInputGUI\setValue(), and ilRadioOption\setValue().
Referenced by printViewSelection().
ilGlossaryPresentationGUI::listDefinitions | ( | $a_ref_id = 0 , |
|
$a_term_id = 0 , |
|||
$a_get_html = false |
|||
) |
list definitions of a term
Definition at line 292 of file class.ilGlossaryPresentationGUI.php.
References $_GET, $ilCtrl, $ilias, $ilUser, $lng, $ref_id, $title, $tpl, 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(), ilUserSearchCache\LAST_QUERY, offlineMode(), setLocator(), and showDefinitionTabs().
Referenced by executeCommand(), and printView().
ilGlossaryPresentationGUI::listTermByGiven | ( | $term_list, | |
$filter = "" |
|||
) |
list glossary terms
Definition at line 226 of file class.ilGlossaryPresentationGUI.php.
References $_GET, $ilCtrl, $ilias, $lng, $tpl, offlineMode(), and setTabs().
Referenced by listTerms().
ilGlossaryPresentationGUI::listTerms | ( | ) |
List all terms.
Definition at line 185 of file class.ilGlossaryPresentationGUI.php.
References $_GET, $ilCtrl, $ilias, $lng, $ret, listTermByGiven(), offlineMode(), ilAlphabetInputGUI\setLetters(), and showTaxonomy().
Referenced by applyFilter(), and resetFilter().
ilGlossaryPresentationGUI::media | ( | $a_mode = "media" | ) |
show media object
Definition at line 608 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().
ilGlossaryPresentationGUI::offlineMode | ( | ) |
checks wether offline content generation is activated
Definition at line 91 of file class.ilGlossaryPresentationGUI.php.
Referenced by applyFilter(), getLink(), getLinkXML(), getTabs(), listDefinitions(), listTermByGiven(), listTerms(), media(), outputInfoScreen(), resetFilter(), showDefinitionTabs(), and showTaxonomy().
ilGlossaryPresentationGUI::outputInfoScreen | ( | ) |
info screen call from inside learning module
info screen
Definition at line 1354 of file class.ilGlossaryPresentationGUI.php.
References $_GET, $ilBench, ilObjGlossaryGUI\addUsagesToInfo(), offlineMode(), and setTabs().
Referenced by executeCommand(), and infoScreen().
ilGlossaryPresentationGUI::prepareOutput | ( | ) |
Definition at line 170 of file class.ilGlossaryPresentationGUI.php.
References $title, ilUtil\getImagePath(), and setLocator().
Referenced by executeCommand().
ilGlossaryPresentationGUI::printView | ( | ) |
Print View.
@return |
Definition at line 1174 of file class.ilGlossaryPresentationGUI.php.
References $_GET, $_POST, $t, $tpl, exit, ilObjStyleSheet\getContentPrintStyle(), ilObjTaxonomy\getSubTreeItems(), iljQueryUtil\initjQuery(), and listDefinitions().
ilGlossaryPresentationGUI::printViewSelection | ( | ) |
Print view selection.
@return |
Definition at line 1075 of file class.ilGlossaryPresentationGUI.php.
References $ilCtrl, $ilUser, $lng, $tpl, ilUtil\getImagePath(), initPrintViewSelectionForm(), setTabs(), and showDefinitionTabs().
ilGlossaryPresentationGUI::resetFilter | ( | ) |
Reset filter (note: this function existed before data table filter has been introduced.
Definition at line 279 of file class.ilGlossaryPresentationGUI.php.
References listTerms(), and offlineMode().
ilGlossaryPresentationGUI::setLocator | ( | $a_tree = "" , |
|
$a_id = "" |
|||
) |
set Locator
object | tree object |
integer | reference id public |
Definition at line 828 of file class.ilGlossaryPresentationGUI.php.
Referenced by listDefinitions(), and prepareOutput().
ilGlossaryPresentationGUI::setOfflineDirectory | ( | $a_dir | ) |
Set offline directory.
Definition at line 99 of file class.ilGlossaryPresentationGUI.php.
ilGlossaryPresentationGUI::setOfflineMode | ( | $a_offline = true | ) |
set offline mode (content is generated for offline package)
Definition at line 83 of file class.ilGlossaryPresentationGUI.php.
ilGlossaryPresentationGUI::setTabs | ( | ) |
output tabs
Definition at line 866 of file class.ilGlossaryPresentationGUI.php.
References getTabs().
Referenced by executeCommand(), listTermByGiven(), outputInfoScreen(), printViewSelection(), and showDownloadList().
ilGlossaryPresentationGUI::showDefinitionTabs | ( | $a_act | ) |
Definitions tabs.
@return |
Definition at line 554 of file class.ilGlossaryPresentationGUI.php.
References $_GET, $_REQUEST, $ilCtrl, $lng, and offlineMode().
Referenced by listDefinitions(), and printViewSelection().
ilGlossaryPresentationGUI::showDownloadList | ( | ) |
show download list
Definition at line 679 of file class.ilGlossaryPresentationGUI.php.
References $_GET, $ilBench, $ilias, $lng, $size, ilUtil\getImagePath(), setTabs(), and ilUtil\switchColor().
ilGlossaryPresentationGUI::showTaxonomy | ( | ) |
Show taxonomy.
@return |
Definition at line 1434 of file class.ilGlossaryPresentationGUI.php.
References $lng, $tpl, ilObjTaxonomyGUI\getTreeHTML(), ilObjTaxonomy\getUsageOfObject(), and offlineMode().
Referenced by listTerms().
ilGlossaryPresentationGUI::$admin_tabs |
Definition at line 26 of file class.ilGlossaryPresentationGUI.php.
ilGlossaryPresentationGUI::$glossary |
Definition at line 27 of file class.ilGlossaryPresentationGUI.php.
ilGlossaryPresentationGUI::$ilias |
Definition at line 28 of file class.ilGlossaryPresentationGUI.php.
Referenced by downloadExportFile(), downloadFile(), executeCommand(), ilGlossaryPresentationGUI(), listDefinitions(), listTermByGiven(), listTerms(), and showDownloadList().
ilGlossaryPresentationGUI::$lng |
Definition at line 30 of file class.ilGlossaryPresentationGUI.php.
Referenced by downloadExportFile(), downloadFile(), executeCommand(), getTabs(), ilGlossaryPresentationGUI(), initPrintViewSelectionForm(), listDefinitions(), listTermByGiven(), listTerms(), printViewSelection(), showDefinitionTabs(), showDownloadList(), and showTaxonomy().
ilGlossaryPresentationGUI::$tpl |
Definition at line 29 of file class.ilGlossaryPresentationGUI.php.
Referenced by ilGlossaryPresentationGUI(), listDefinitions(), listTermByGiven(), printView(), printViewSelection(), and showTaxonomy().