ILIAS
trunk Revision v11.0_alpha-1769-g99a433fe2dc
|
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V. More...
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 () | |
listTermByGivenAsTable () | |
list glossary terms More... | |
listTermByGivenAsPanel () | |
list glossary terms More... | |
getPresentationTable () | |
Get presentation table. More... | |
listDefinitions (int $a_ref_id=0, int $a_term_id=0, bool $a_get_html=false, bool $render_term=true, string $a_page_mode=ilPageObjectGUI::PRESENTATION, bool $render_page_container=true) | |
list definitions of a term More... | |
fullscreen () | |
media (string $a_mode="media") | |
show media object More... | |
setLocator () | |
downloadFile () | |
setTabs () | |
getLink (int $a_ref_id, string $a_cmd="", int $a_term_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 () | |
showTaxonomy () | |
showFlashcards () | |
Protected Member Functions | |
setContentStyles () | |
Protected Attributes | |
ILIAS Glossary Taxonomy TaxonomyManager | $tax_manager |
ILIAS COPage Xsl XslManager | $xsl |
ILIAS GlobalScreen Services | $global_screen |
ILIAS Glossary InternalGUIService | $gui |
array | $mobs |
bool | $fill_on_load_code |
string | $offline_dir |
ilPropertyFormGUI | $form |
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 |
ILIAS Style Content Service | $content_style_service |
ILIAS Style Content GUIService | $content_style_gui |
ILIAS Style Content Object ObjectFacade | $content_style_domain |
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V.
ILIAS is licensed with the GPL-3.0, see https://www.gnu.org/licenses/gpl-3.0.en.html You should have received a copy of said license along with the source code, too.
If this is not the case or you just want to try ILIAS, you'll find us at: https://www.ilias.de https://github.com/ILIAS-eLearning
Definition at line 25 of file class.ilGlossaryPresentationGUI.php.
ilGlossaryPresentationGUI::__construct | ( | string | $export_format = "" , |
string | $export_dir = "" |
||
) |
Definition at line 62 of file class.ilGlossaryPresentationGUI.php.
References $DIC, $export_format, $service, ILIAS\Repository\access(), ILIAS\Repository\ctrl(), ILIAS\Repository\help(), initByRequest(), ILIAS\Repository\lng(), setOfflineDirectory(), ILIAS\Repository\toolbar(), and ILIAS\Repository\user().
ilGlossaryPresentationGUI::basicPageGuiInit | ( | \ilPageObjectGUI | $a_page_gui | ) |
Basic page gui initialisation.
Definition at line 269 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::downloadFile | ( | ) |
Definition at line 615 of file class.ilGlossaryPresentationGUI.php.
References $access, $lng, and exit.
ilGlossaryPresentationGUI::executeCommand | ( | ) |
execute command
Definition at line 180 of file class.ilGlossaryPresentationGUI.php.
References $access, $lng, basicPageGuiInit(), ILIAS\Repository\ctrl(), listDefinitions(), offlineMode(), outputInfoScreen(), prepareOutput(), setTabs(), and showTaxonomy().
ilGlossaryPresentationGUI::fullscreen | ( | ) |
Definition at line 535 of file class.ilGlossaryPresentationGUI.php.
References media().
ilGlossaryPresentationGUI::getLink | ( | int | $a_ref_id, |
string | $a_cmd = "" , |
||
int | $a_term_id = 0 , |
||
string | $a_frame = "" , |
||
string | $a_type = "" |
||
) |
Definition at line 635 of file class.ilGlossaryPresentationGUI.php.
References ILIAS\Repository\ctrl(), and offlineMode().
Referenced by basicPageGuiInit(), listDefinitions(), and media().
ilGlossaryPresentationGUI::getOfflineDirectory | ( | ) |
Definition at line 172 of file class.ilGlossaryPresentationGUI.php.
References $offline_dir.
Referenced by basicPageGuiInit(), and listDefinitions().
ilGlossaryPresentationGUI::getPresentationTable | ( | ) |
Get presentation table.
Definition at line 359 of file class.ilGlossaryPresentationGUI.php.
References offlineMode().
ilGlossaryPresentationGUI::getTabs | ( | ) |
Definition at line 815 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 879 of file class.ilGlossaryPresentationGUI.php.
References ILIAS\Repository\ctrl().
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 104 of file class.ilGlossaryPresentationGUI.php.
References ilGlossaryTerm\_lookGlossaryID(), and ilGlossaryTermReferences\isReferenced().
Referenced by __construct().
ilGlossaryPresentationGUI::initPrintViewSelectionForm | ( | ) |
Init print view selection form.
Definition at line 705 of file class.ilGlossaryPresentationGUI.php.
References $ctrl, $lng, ILIAS\Repository\form(), ilRadioGroupInputGUI\setValue(), and ilSelectInputGUI\setValue().
Referenced by printView(), and printViewSelection().
ilGlossaryPresentationGUI::injectTemplate | ( | ilGlobalTemplateInterface | $tpl | ) |
Definition at line 146 of file class.ilGlossaryPresentationGUI.php.
References $tpl.
ilGlossaryPresentationGUI::listDefinitions | ( | int | $a_ref_id = 0 , |
int | $a_term_id = 0 , |
||
bool | $a_get_html = false , |
||
bool | $render_term = true , |
||
string | $a_page_mode = ilPageObjectGUI::PRESENTATION , |
||
bool | $render_page_container = true |
||
) |
list definitions of a term
Definition at line 373 of file class.ilGlossaryPresentationGUI.php.
References $access, Vendor\Package\$e, $lng, $ref_id, $requested_ref_id, $term_id, $tpl, $user, ilObject\_getAllReferences(), ilUserSearchCache\_getInstance(), ilLMPageObject\_getPresentationTitle(), ilInternalLink\_getSourcesOfTarget(), ilLMObject\_lookupContObjID(), ilObject\_lookupTitle(), basicPageGuiInit(), ILIAS\Repository\ctrl(), ilUtil\getImagePath(), getLink(), getOfflineDirectory(), ilUserSearchCache\LAST_QUERY, ILIAS\Repository\lng(), null, offlineMode(), setContentStyles(), setLocator(), and showTaxonomy().
Referenced by executeCommand(), and printView().
ilGlossaryPresentationGUI::listTermByGivenAsPanel | ( | ) |
list glossary terms
Definition at line 336 of file class.ilGlossaryPresentationGUI.php.
References $ctrl, and ilCtrl\redirectByClass().
Referenced by listTerms().
ilGlossaryPresentationGUI::listTermByGivenAsTable | ( | ) |
list glossary terms
Definition at line 319 of file class.ilGlossaryPresentationGUI.php.
References $access, $ctrl, $lng, and $tpl.
Referenced by listTerms().
ilGlossaryPresentationGUI::listTerms | ( | ) |
Definition at line 288 of file class.ilGlossaryPresentationGUI.php.
References $access, $ctrl, $lng, $nav_history, $tabs_gui, $toolbar, ILIAS\Repository\ctrl(), listTermByGivenAsPanel(), listTermByGivenAsTable(), and offlineMode().
ilGlossaryPresentationGUI::media | ( | string | $a_mode = "media" | ) |
show media object
Definition at line 544 of file class.ilGlossaryPresentationGUI.php.
References $params, ilMediaItem\_getMapAreasIntLinks(), ILIAS\Repository\ctrl(), ilObjStyleSheet\getContentStylePath(), ilUtil\getImagePath(), getLink(), ilUtil\getStyleSheetLocation(), ilFileUtils\getWebspaceDir(), IL_MODE_ALIAS, IL_MODE_OUTPUT, ilObjMediaObject\isTypeAllowed(), and offlineMode().
Referenced by fullscreen().
ilGlossaryPresentationGUI::offlineMode | ( | ) |
checks wether offline content generation is activated
Definition at line 162 of file class.ilGlossaryPresentationGUI.php.
References $offline.
Referenced by basicPageGuiInit(), executeCommand(), getLink(), getPresentationTable(), getTabs(), listDefinitions(), listTerms(), media(), outputInfoScreen(), setContentStyles(), and showTaxonomy().
ilGlossaryPresentationGUI::outputInfoScreen | ( | ) |
Definition at line 884 of file class.ilGlossaryPresentationGUI.php.
References $access, $tabs_gui, ilObjGlossaryGUI\addUsagesToInfo(), ILIAS\Repository\ctrl(), ILIAS\Repository\lng(), offlineMode(), and setTabs().
Referenced by executeCommand().
ilGlossaryPresentationGUI::prepareOutput | ( | ) |
Definition at line 254 of file class.ilGlossaryPresentationGUI.php.
References ilUtil\getImagePath(), and setLocator().
Referenced by executeCommand().
ilGlossaryPresentationGUI::printView | ( | ) |
Definition at line 762 of file class.ilGlossaryPresentationGUI.php.
References $access, $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 688 of file class.ilGlossaryPresentationGUI.php.
References $ctrl, $tabs_gui, $tpl, ILIAS\Repository\form(), initPrintViewSelectionForm(), and setTabs().
|
protected |
Definition at line 343 of file class.ilGlossaryPresentationGUI.php.
References $tpl, ILIAS\UICore\GlobalTemplate\addCss(), ilObjStyleSheet\getSyntaxStylePath(), and offlineMode().
Referenced by listDefinitions().
ilGlossaryPresentationGUI::setLocator | ( | ) |
Definition at line 603 of file class.ilGlossaryPresentationGUI.php.
Referenced by listDefinitions(), and prepareOutput().
ilGlossaryPresentationGUI::setOfflineDirectory | ( | string | $a_dir | ) |
Definition at line 167 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 154 of file class.ilGlossaryPresentationGUI.php.
ilGlossaryPresentationGUI::setTabs | ( | ) |
Definition at line 630 of file class.ilGlossaryPresentationGUI.php.
References getTabs().
Referenced by executeCommand(), outputInfoScreen(), printViewSelection(), and showFlashcards().
ilGlossaryPresentationGUI::showFlashcards | ( | ) |
Definition at line 956 of file class.ilGlossaryPresentationGUI.php.
References $nav_history, $tabs_gui, ILIAS\Repository\ctrl(), and setTabs().
ilGlossaryPresentationGUI::showTaxonomy | ( | ) |
Definition at line 922 of file class.ilGlossaryPresentationGUI.php.
References $ctrl, 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 executeCommand(), and listDefinitions().
|
protected |
Definition at line 39 of file class.ilGlossaryPresentationGUI.php.
Referenced by downloadFile(), executeCommand(), getTabs(), listDefinitions(), listTermByGivenAsTable(), listTerms(), outputInfoScreen(), and printView().
Definition at line 60 of file class.ilGlossaryPresentationGUI.php.
|
protected |
Definition at line 59 of file class.ilGlossaryPresentationGUI.php.
|
protected |
Definition at line 58 of file class.ilGlossaryPresentationGUI.php.
|
protected |
Definition at line 37 of file class.ilGlossaryPresentationGUI.php.
Referenced by getTabs(), initPrintViewSelectionForm(), listTermByGivenAsPanel(), listTermByGivenAsTable(), listTerms(), printViewSelection(), and showTaxonomy().
|
protected |
Definition at line 36 of file class.ilGlossaryPresentationGUI.php.
Referenced by __construct().
|
protected |
Definition at line 32 of file class.ilGlossaryPresentationGUI.php.
|
protected |
Definition at line 34 of file class.ilGlossaryPresentationGUI.php.
|
protected |
Definition at line 29 of file class.ilGlossaryPresentationGUI.php.
|
protected |
Definition at line 44 of file class.ilGlossaryPresentationGUI.php.
|
protected |
Definition at line 45 of file class.ilGlossaryPresentationGUI.php.
|
protected |
Definition at line 30 of file class.ilGlossaryPresentationGUI.php.
|
protected |
Definition at line 43 of file class.ilGlossaryPresentationGUI.php.
Referenced by getTabs().
|
protected |
Definition at line 47 of file class.ilGlossaryPresentationGUI.php.
Referenced by downloadFile(), executeCommand(), getTabs(), initPrintViewSelectionForm(), listDefinitions(), listTermByGivenAsTable(), and listTerms().
|
protected |
Definition at line 31 of file class.ilGlossaryPresentationGUI.php.
|
protected |
Definition at line 40 of file class.ilGlossaryPresentationGUI.php.
Referenced by listTerms(), and showFlashcards().
|
protected |
Definition at line 35 of file class.ilGlossaryPresentationGUI.php.
Referenced by offlineMode().
|
protected |
Definition at line 33 of file class.ilGlossaryPresentationGUI.php.
Referenced by getOfflineDirectory().
|
protected |
Definition at line 54 of file class.ilGlossaryPresentationGUI.php.
|
protected |
Definition at line 56 of file class.ilGlossaryPresentationGUI.php.
|
protected |
Definition at line 53 of file class.ilGlossaryPresentationGUI.php.
|
protected |
Definition at line 57 of file class.ilGlossaryPresentationGUI.php.
|
protected |
Definition at line 52 of file class.ilGlossaryPresentationGUI.php.
Referenced by getTabs(), and listDefinitions().
|
protected |
Definition at line 55 of file class.ilGlossaryPresentationGUI.php.
|
protected |
Definition at line 38 of file class.ilGlossaryPresentationGUI.php.
Referenced by listTerms(), outputInfoScreen(), printViewSelection(), and showFlashcards().
|
protected |
Definition at line 50 of file class.ilGlossaryPresentationGUI.php.
|
protected |
Definition at line 49 of file class.ilGlossaryPresentationGUI.php.
|
protected |
Definition at line 27 of file class.ilGlossaryPresentationGUI.php.
|
protected |
Definition at line 48 of file class.ilGlossaryPresentationGUI.php.
|
protected |
Definition at line 51 of file class.ilGlossaryPresentationGUI.php.
Referenced by listDefinitions().
|
protected |
Definition at line 41 of file class.ilGlossaryPresentationGUI.php.
Referenced by listTerms().
|
protected |
Definition at line 46 of file class.ilGlossaryPresentationGUI.php.
Referenced by injectTemplate(), listDefinitions(), listTermByGivenAsTable(), printView(), printViewSelection(), and setContentStyles().
|
protected |
Definition at line 42 of file class.ilGlossaryPresentationGUI.php.
Referenced by listDefinitions().
|
protected |
Definition at line 28 of file class.ilGlossaryPresentationGUI.php.