ILIAS
release_5-2 Revision v5.2.25-18-g3f80b828510
|
Class ilLMPresentationGUI. More...
Public Member Functions | |
__construct () | |
executeCommand () | |
execute command More... | |
setOfflineMode ($a_offline=true, $a_all_languages=false) | |
set offline mode (content is generated for offline package) More... | |
offlineMode () | |
checks wether offline content generation is activated More... | |
setExportFormat ($a_format) | |
set export format More... | |
getExportFormat () | |
get export format More... | |
nop () | |
this dummy function is needed for offline package creation More... | |
export () | |
calls export of digilib-object at this point other lm-objects can be exported More... | |
getTracker () | |
Get tracker. More... | |
attrib2arr ($a_attributes) | |
getCurrentFrameSet () | |
get frames of current frame set More... | |
determineLayout () | |
Determine layout. More... | |
resume () | |
layout ($a_xml="main.xml", $doShow=true) | |
generates frame layout More... | |
saveFrameUrl () | |
Save frame url. More... | |
fullscreen () | |
media () | |
glossary () | |
ilMainMenu () | |
output main menu More... | |
ilTOC ($a_get_explorer=false) | |
table of contents More... | |
getLMPresentationTitle () | |
Get lm presentationtitle. More... | |
ilLMMenu () | |
output learning module menu More... | |
ilLMHead () | |
output lm header More... | |
ilLMSubMenu () | |
output learning module submenu More... | |
redrawHeaderAction () | |
Redraw header action. More... | |
addHeaderAction ($a_redraw=false) | |
Add header action. More... | |
ilLMNotes () | |
output notes of page More... | |
ilLocator ($a_std_templ_loaded=false) | |
locator More... | |
getCurrentPageId () | |
Get the current page id. More... | |
ilCitation () | |
getLayoutLinkTargets () | |
ilPage (&$a_page_node, $a_page_id=0) | |
process <ilPage> content tag More... | |
updatePageRating () | |
basicPageGuiInit ($a_page_gui) | |
Basic page gui initialisation. More... | |
showPreconditionsOfPage () | |
show preconditions of the page More... | |
getLinkXML ($a_int_links, $a_layoutframes) | |
get xml for links More... | |
getLinkTargetsXML () | |
Get XMl for Link Targets. More... | |
ilGlossary () | |
show glossary term More... | |
ilMedia () | |
output media More... | |
ilJavaScript ($a_inline="", $a_file="", $a_location="") | |
Puts JS into template. More... | |
getSuccessorPage () | |
Get successor page. More... | |
ilLMNavigation () | |
inserts sequential learning module navigation at template variable LMNAVIGATION_CONTENT More... | |
processNodes (&$a_content, &$a_node) | |
buildTag ($type, $name, $attr="") | |
generate a tag with given name and attributes More... | |
showTableOfContents () | |
table of contents 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... | |
showInfoScreen () | |
info screen call from inside learning module More... | |
outputInfoScreen ($a_standard_locator=false) | |
info screen More... | |
showPrintViewSelection () | |
show selection screen for print view More... | |
initPrintViewSelectionForm () | |
Init print view selection form. More... | |
showPrintView () | |
show print view More... | |
downloadFile () | |
download file of file lists More... | |
download_paragraph () | |
download source code paragraph More... | |
showDownloadList () | |
show download list More... | |
downloadExportFile () | |
send download file (xml/html) More... | |
getFocusLink ($a_ref_id, $a_obj_id, $a_return_ref_id) | |
Get focused link (used in learning objectives courses) More... | |
getLink ($a_ref_id, $a_cmd="", $a_obj_id="", $a_frame="", $a_type="", $a_back_link="append", $a_anchor="", $a_srcstring="") | |
handles links for learning module presentation More... | |
showMessageScreen ($a_content) | |
Show message screen. More... | |
showNoPublicAccess () | |
Show info message, if page is not accessible in public area. More... | |
showNoPageAccess () | |
Show info message, if page is not accessible in public area. More... | |
showNavRestrictionDueToQuestions () | |
Show message if navigation to page is not allowed due to unanswered questions. More... | |
getSourcecodeDownloadLink () | |
setOfflineDirectory ($offdir) | |
set offline directory to offdir More... | |
getOfflineDirectory () | |
get offline directory More... | |
handleCodeParagraph ($page_id, $paragraph_id, $title, $text) | |
store paragraph into file directory files/codefile_$pg_id_$paragraph_id/downloadtitle More... | |
getLMPageGUI ($a_id) | |
Get lm page gui object. More... | |
getLMPage ($a_id) | |
Get lm page object. More... | |
refreshToc () | |
Refresh toc (called if questions have been answered correctly) More... | |
Data Fields | |
$ilias | |
$lm | |
$tpl | |
$lng | |
$layout_doc | |
$offline | |
$offline_directory | |
Protected Member Functions | |
initScreenHead ($a_active_tab="info") | |
renderPageTitle () | |
Protected Attributes | |
$current_page_id = false | |
$focus_id = 0 | |
$export_all_languages = false | |
Class ilLMPresentationGUI.
GUI class for learning module presentation
ilLMPresentationGUI: ilNoteGUI, ilInfoScreenGUI ilLMPresentationGUI: ilLMPageGUI, ilGlossaryDefPageGUI, ilCommonActionDispatcherGUI ilLMPresentationGUI: ilLearningProgressGUI, ilAssGenFeedbackPageGUI ilLMPresentationGUI: ilRatingGUI
Definition at line 23 of file class.ilLMPresentationGUI.php.
ilLMPresentationGUI::__construct | ( | ) |
Definition at line 36 of file class.ilLMPresentationGUI.php.
References $_GET, $data, $ilCtrl, $ilUser, $lng, $tpl, array, ilLMTree\getInstance(), and ilObjectTranslation\getInstance().
ilLMPresentationGUI::addHeaderAction | ( | $a_redraw = false | ) |
Add header action.
Definition at line 955 of file class.ilLMPresentationGUI.php.
References $_GET, $lg, $tpl, array, getCurrentPageId(), offlineMode(), ilCommonActionDispatcherGUI\setSubObject(), and ilCommonActionDispatcherGUI\TYPE_REPOSITORY.
Referenced by ilLMNotes(), and redrawHeaderAction().
ilLMPresentationGUI::attrib2arr | ( | $a_attributes | ) |
Definition at line 251 of file class.ilLMPresentationGUI.php.
References array.
Referenced by layout(), and processNodes().
ilLMPresentationGUI::basicPageGuiInit | ( | $a_page_gui | ) |
Basic page gui initialisation.
Definition at line 1736 of file class.ilLMPresentationGUI.php.
References $_GET, getCurrentPageId(), ilObjStyleSheet\getEffectiveContentStyleId(), getLink(), getOfflineDirectory(), and offlineMode().
Referenced by executeCommand(), and ilPage().
ilLMPresentationGUI::buildTag | ( | $type, | |
$name, | |||
$attr = "" |
|||
) |
generate a tag with given name and attributes
string | "start" | "end" | "" for starting or ending tag or complete tag |
string | element/tag name |
array | array of attributes |
Definition at line 2693 of file class.ilLMPresentationGUI.php.
Referenced by layout(), and processNodes().
ilLMPresentationGUI::determineLayout | ( | ) |
Determine layout.
Definition at line 276 of file class.ilLMPresentationGUI.php.
References $_GET, $layout, array, getCurrentPageId(), getExportFormat(), and ilLMObject\lookupLayout().
Referenced by layout().
ilLMPresentationGUI::download_paragraph | ( | ) |
download source code paragraph
Definition at line 3815 of file class.ilLMPresentationGUI.php.
References $_GET, and getLMPage().
ilLMPresentationGUI::downloadExportFile | ( | ) |
send download file (xml/html)
Definition at line 3898 of file class.ilLMPresentationGUI.php.
References $_GET, $file, ilUtil\deliverFile(), and exit.
ilLMPresentationGUI::downloadFile | ( | ) |
download file of file lists
Definition at line 3783 of file class.ilLMPresentationGUI.php.
References $_GET, $file, exit, getCurrentPageId(), and getLMPage().
ilLMPresentationGUI::executeCommand | ( | ) |
execute command
Definition at line 104 of file class.ilLMPresentationGUI.php.
References $_GET, $_POST, $cmd, $ilCtrl, $ilias, $ilUser, $lng, $ret, array, basicPageGuiInit(), ilCommonActionDispatcherGUI\getInstanceFromAjaxCall(), getLMPageGUI(), initScreenHead(), layout(), ilLearningProgressBaseGUI\LP_CONTEXT_REPOSITORY, and outputInfoScreen().
ilLMPresentationGUI::export | ( | ) |
calls export of digilib-object at this point other lm-objects can be exported
Definition at line 234 of file class.ilLMPresentationGUI.php.
ilLMPresentationGUI::fullscreen | ( | ) |
Definition at line 669 of file class.ilLMPresentationGUI.php.
References layout(), and offlineMode().
ilLMPresentationGUI::getCurrentFrameSet | ( | ) |
get frames of current frame set
Definition at line 268 of file class.ilLMPresentationGUI.php.
ilLMPresentationGUI::getCurrentPageId | ( | ) |
Get the current page id.
Definition at line 1179 of file class.ilLMPresentationGUI.php.
References $_GET, $current_page_id, $ilUser, $path, ilLMObject\_isPagePublic(), ilPageObject\_lookupActive(), ilLMObject\_lookupType(), and offlineMode().
Referenced by addHeaderAction(), basicPageGuiInit(), determineLayout(), downloadFile(), getLink(), getLinkXML(), getSuccessorPage(), getTracker(), ilCitation(), ilLMMenu(), ilLMNavigation(), ilLMNotes(), ilLMSubMenu(), ilMainMenu(), ilPage(), ilTOC(), showPreconditionsOfPage(), showPrintView(), and showTableOfContents().
ilLMPresentationGUI::getExportFormat | ( | ) |
get export format
Definition at line 214 of file class.ilLMPresentationGUI.php.
Referenced by determineLayout(), getLinkXML(), ilLMMenu(), initScreenHead(), showDownloadList(), showPrintViewSelection(), and showTableOfContents().
ilLMPresentationGUI::getFocusLink | ( | $a_ref_id, | |
$a_obj_id, | |||
$a_return_ref_id | |||
) |
Get focused link (used in learning objectives courses)
int | $a_ref_id | reference id of learning module |
int | $a_obj_id | chapter or page id |
int | $a_return_ref_id | return ref id |
Definition at line 3928 of file class.ilLMPresentationGUI.php.
ilLMPresentationGUI::getLayoutLinkTargets | ( | ) |
Definition at line 1291 of file class.ilLMPresentationGUI.php.
References $path, $res, array, xpath_eval(), and xpath_new_context().
Referenced by getLinkTargetsXML(), ilGlossary(), ilMedia(), and ilPage().
ilLMPresentationGUI::getLink | ( | $a_ref_id, | |
$a_cmd = "" , |
|||
$a_obj_id = "" , |
|||
$a_frame = "" , |
|||
$a_type = "" , |
|||
$a_back_link = "append" , |
|||
$a_anchor = "" , |
|||
$a_srcstring = "" |
|||
) |
handles links for learning module presentation
Definition at line 3938 of file class.ilLMPresentationGUI.php.
References $_GET, $a_type, $ilCtrl, array, getCurrentPageId(), ilLMObject\getExportId(), and offlineMode().
Referenced by basicPageGuiInit(), getLinkXML(), ilLMNavigation(), ilLocator(), ilMedia(), processNodes(), and showPreconditionsOfPage().
ilLMPresentationGUI::getLinkTargetsXML | ( | ) |
Get XMl for Link Targets.
Definition at line 2035 of file class.ilLMPresentationGUI.php.
References $t, and getLayoutLinkTargets().
Referenced by ilGlossary(), ilMedia(), and ilPage().
ilLMPresentationGUI::getLinkXML | ( | $a_int_links, | |
$a_layoutframes | |||
) |
get xml for links
Definition at line 1852 of file class.ilLMPresentationGUI.php.
References $_GET, $ilCtrl, $target, $target_arr, $target_id, ilFrameTargetInfo\_getFrame(), ilLMObject\_lookupContObjID(), ilObject\_lookupObjId(), ilObject\_lookupType(), array, getCurrentPageId(), getExportFormat(), ilWikiPage\getGotoForWikiPageTarget(), getLink(), and offlineMode().
Referenced by ilGlossary(), ilMedia(), and ilPage().
ilLMPresentationGUI::getLMPage | ( | $a_id | ) |
Get lm page object.
Definition at line 4272 of file class.ilLMPresentationGUI.php.
References ilPageObject\_exists().
Referenced by download_paragraph(), downloadFile(), ilCitation(), and ilMedia().
ilLMPresentationGUI::getLMPageGUI | ( | $a_id | ) |
Get lm page gui object.
Definition at line 4255 of file class.ilLMPresentationGUI.php.
References ilPageObject\_exists().
Referenced by executeCommand(), ilPage(), and showPrintView().
ilLMPresentationGUI::getLMPresentationTitle | ( | ) |
Get lm presentationtitle.
Definition at line 820 of file class.ilLMPresentationGUI.php.
References $data, $lang, ilObjectTranslation\getInstance(), and offlineMode().
Referenced by ilLMHead(), ilLMSubMenu(), ilLocator(), initScreenHead(), renderPageTitle(), showDownloadList(), showPrintView(), showPrintViewSelection(), and showTableOfContents().
ilLMPresentationGUI::getOfflineDirectory | ( | ) |
get offline directory
current used in code paragraph
Definition at line 4218 of file class.ilLMPresentationGUI.php.
References $offline_directory.
Referenced by basicPageGuiInit(), handleCodeParagraph(), and ilGlossary().
ilLMPresentationGUI::getSourcecodeDownloadLink | ( | ) |
Definition at line 4186 of file class.ilLMPresentationGUI.php.
References $target, ilUtil\appendUrlParameterString(), and offlineMode().
Referenced by ilPage().
ilLMPresentationGUI::getSuccessorPage | ( | ) |
Get successor page.
Definition at line 2231 of file class.ilLMPresentationGUI.php.
References $_GET, $ilUser, ilLMObject\_isPagePublic(), ilPageObject\_lookupActivationData(), ilPageObject\_lookupActive(), ilLMObject\_lookupType(), getCurrentPageId(), and ilUtil\now().
Referenced by ilPage().
ilLMPresentationGUI::getTracker | ( | ) |
Get tracker.
Definition at line 243 of file class.ilLMPresentationGUI.php.
References $tracker, getCurrentPageId(), and ilLMTracker\getInstance().
Referenced by ilLMNavigation(), ilPage(), ilTOC(), and showTableOfContents().
ilLMPresentationGUI::glossary | ( | ) |
Definition at line 686 of file class.ilLMPresentationGUI.php.
References $_GET, $GLOBALS, $ilUser, $tpl, ilUtil\getStyleSheetLocation(), ilGlossary(), layout(), offlineMode(), and renderPageTitle().
ilLMPresentationGUI::handleCodeParagraph | ( | $page_id, | |
$paragraph_id, | |||
$title, | |||
$text | |||
) |
store paragraph into file directory files/codefile_$pg_id_$paragraph_id/downloadtitle
Definition at line 4226 of file class.ilLMPresentationGUI.php.
References $file, $text, $title, getOfflineDirectory(), and ilUtil\makeDirParents().
ilLMPresentationGUI::ilCitation | ( | ) |
Definition at line 1275 of file class.ilLMPresentationGUI.php.
References getCurrentPageId(), getLMPage(), and ilLocator().
ilLMPresentationGUI::ilGlossary | ( | ) |
show glossary term
Definition at line 2049 of file class.ilLMPresentationGUI.php.
References $_GET, $ilCtrl, ilObjStyleSheet\getContentStylePath(), getLayoutLinkTargets(), getLinkTargetsXML(), getLinkXML(), getOfflineDirectory(), ilObjStyleSheet\getSyntaxStylePath(), and offlineMode().
Referenced by glossary(), and layout().
ilLMPresentationGUI::ilJavaScript | ( | $a_inline = "" , |
|
$a_file = "" , |
|||
$a_location = "" |
|||
) |
Puts JS into template.
Definition at line 2215 of file class.ilLMPresentationGUI.php.
References $js.
Referenced by layout().
ilLMPresentationGUI::ilLMHead | ( | ) |
output lm header
Definition at line 850 of file class.ilLMPresentationGUI.php.
References ilUtil\getImagePath(), getLMPresentationTitle(), and offlineMode().
Referenced by layout().
ilLMPresentationGUI::ilLMMenu | ( | ) |
output learning module menu
Definition at line 840 of file class.ilLMPresentationGUI.php.
References $export_all_languages, $lang, getCurrentPageId(), and getExportFormat().
Referenced by layout().
ilLMPresentationGUI::ilLMNavigation | ( | ) |
inserts sequential learning module navigation at template variable LMNAVIGATION_CONTENT
Definition at line 2309 of file class.ilLMPresentationGUI.php.
References $_GET, $ilUser, $lang, $output, ilLMPageObject\_getPresentationTitle(), ilLMObject\_isPagePublic(), ilPageObject\_lookupActivationData(), ilPageObject\_lookupActive(), ilLMObject\_lookupType(), ilAccessKeyGUI\getAttribute(), getCurrentPageId(), ilUtil\getImagePath(), getLink(), getTracker(), ilAccessKey\NEXT, ilUtil\now(), offlineMode(), ilAccessKey\PREVIOUS, and ilUtil\shortenText().
Referenced by layout().
ilLMPresentationGUI::ilLMNotes | ( | ) |
output notes of page
Definition at line 994 of file class.ilLMPresentationGUI.php.
References $_GET, $html, $ilSetting, addHeaderAction(), ilNoteGUI\enablePublicNotesDeletion(), getCurrentPageId(), and offlineMode().
Referenced by layout().
ilLMPresentationGUI::ilLMSubMenu | ( | ) |
output learning module submenu
Definition at line 870 of file class.ilLMPresentationGUI.php.
References $_GET, $lang, $title, ilFrameTargetInfo\_getFrame(), ilLMPageObject\_getPresentationTitle(), getCurrentPageId(), getLMPresentationTitle(), offlineMode(), and ilPermanentLinkGUI\setTitle().
Referenced by layout().
ilLMPresentationGUI::ilLocator | ( | $a_std_templ_loaded = false | ) |
locator
Definition at line 1065 of file class.ilLMPresentationGUI.php.
References $_GET, $ilCtrl, $lang, $path, $row, ilFrameTargetInfo\_getFrame(), ilStructureObject\_getPresentationTitle(), ilObject\_lookupObjId(), ilObject\_lookupTitle(), DEBUG, ilLMObjectFactory\getInstance(), getLink(), getLMPresentationTitle(), IL_CHAPTER_TITLE, offlineMode(), and ilUtil\shortenText().
Referenced by ilCitation(), initScreenHead(), layout(), showDownloadList(), showPrintViewSelection(), and showTableOfContents().
ilLMPresentationGUI::ilMainMenu | ( | ) |
output main menu
Definition at line 726 of file class.ilLMPresentationGUI.php.
References getCurrentPageId(), and offlineMode().
Referenced by layout().
ilLMPresentationGUI::ilMedia | ( | ) |
output media
Definition at line 2107 of file class.ilLMPresentationGUI.php.
References $_GET, $ilUser, $output, $params, ilMediaItem\_getMapAreasIntLinks(), array, ilObjStyleSheet\getContentStylePath(), ilUtil\getImagePath(), getLayoutLinkTargets(), getLink(), getLinkTargetsXML(), getLinkXML(), getLMPage(), ilUtil\getStyleSheetLocation(), ilUtil\getWebspaceDir(), IL_MODE_ALIAS, IL_MODE_OUTPUT, ilObjMediaObjectGUI\includePresentationJS(), offlineMode(), renderPageTitle(), xslt_create(), xslt_error(), and xslt_free().
Referenced by layout().
ilLMPresentationGUI::ilPage | ( | & | $a_page_node, |
$a_page_id = 0 |
|||
) |
process <ilPage> content tag
$a_page_node | page node | |
int | $a_page_id | header / footer page id |
Definition at line 1320 of file class.ilLMPresentationGUI.php.
References $_GET, $ilUser, $lang, $path, $ref_id, $ret, $w, ilObjContentObject\_checkPreconditionsOfPage(), ilLMObject\_exists(), ilObject\_getAllReferences(), ilUserSearchCache\_getInstance(), ilLink\_getLink(), ilLMPageObject\_getPresentationTitle(), ilLMObject\_isPagePublic(), ilPageObject\_lookupActivationData(), ilLMObject\_lookupTitle(), ilLMObject\_lookupType(), ilObject\_lookupType(), ilCourseLMHistory\_updateLastAccess(), array, basicPageGuiInit(), ilDatePresentation\formatDate(), ilObjStyleSheet\getContentStylePath(), getCurrentPageId(), getLayoutLinkTargets(), getLinkTargetsXML(), getLinkXML(), getLMPageGUI(), getSourcecodeDownloadLink(), getSuccessorPage(), ilObjStyleSheet\getSyntaxStylePath(), getTracker(), ilTextHighlighterGUI\highlight(), IL_CAL_DATETIME, ilUserSearchCache\LAST_QUERY, ilPageObject\lookupParentId(), ilUtil\now(), offlineMode(), showNavRestrictionDueToQuestions(), showNoPageAccess(), showNoPublicAccess(), and showPreconditionsOfPage().
Referenced by layout().
ilLMPresentationGUI::ilTOC | ( | $a_get_explorer = false | ) |
table of contents
Definition at line 755 of file class.ilLMPresentationGUI.php.
References $_GET, ilLMObject\_lookupType(), getCurrentPageId(), getTracker(), and offlineMode().
Referenced by layout(), and refreshToc().
ilLMPresentationGUI::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 2852 of file class.ilLMPresentationGUI.php.
References outputInfoScreen().
ilLMPresentationGUI::initPrintViewSelectionForm | ( | ) |
Init print view selection form.
Definition at line 3154 of file class.ilLMPresentationGUI.php.
References $ilCtrl, $lng, and ilRadioGroupInputGUI\setValue().
Referenced by showPrintViewSelection().
|
protected |
Definition at line 2867 of file class.ilLMPresentationGUI.php.
References $_GET, $export_all_languages, $ilUser, $lang, getExportFormat(), ilUtil\getImagePath(), getLMPresentationTitle(), ilUtil\getStyleSheetLocation(), ilLocator(), offlineMode(), and renderPageTitle().
Referenced by executeCommand(), and outputInfoScreen().
ilLMPresentationGUI::layout | ( | $a_xml = "main.xml" , |
|
$doShow = true |
|||
) |
generates frame layout
Definition at line 336 of file class.ilLMPresentationGUI.php.
References $_GET, $_SESSION, $GLOBALS, $ilCtrl, $ilSetting, $ilUser, $layout, $path, $result, $tpl, ilAccordionGUI\addCss(), ilAccordionGUI\addJavaScript(), array, attrib2arr(), buildTag(), ilGlyphGUI\CLOSE, determineLayout(), domxml_open_mem(), ilUtil\getStyleSheetLocation(), ilObjContentObject\getSupplyingExportFiles(), header, ilGlossary(), ilJavaScript(), ilLMHead(), ilLMMenu(), ilLMNavigation(), ilLMNotes(), ilLMSubMenu(), ilLocator(), ilMainMenu(), ilMedia(), ilPage(), ilTOC(), ilUIFramework\init(), iljQueryUtil\initjQuery(), iljQueryUtil\initjQueryUI(), offlineMode(), processNodes(), renderPageTitle(), xpath_eval(), and xpath_new_context().
Referenced by executeCommand(), fullscreen(), glossary(), media(), and resume().
ilLMPresentationGUI::media | ( | ) |
Definition at line 674 of file class.ilLMPresentationGUI.php.
References $_GET, layout(), and offlineMode().
ilLMPresentationGUI::nop | ( | ) |
this dummy function is needed for offline package creation
Definition at line 222 of file class.ilLMPresentationGUI.php.
ilLMPresentationGUI::offlineMode | ( | ) |
checks wether offline content generation is activated
Definition at line 194 of file class.ilLMPresentationGUI.php.
References $offline.
Referenced by addHeaderAction(), basicPageGuiInit(), fullscreen(), getCurrentPageId(), getLink(), getLinkXML(), getLMPresentationTitle(), getSourcecodeDownloadLink(), glossary(), ilGlossary(), ilLMHead(), ilLMNavigation(), ilLMNotes(), ilLMSubMenu(), ilLocator(), ilMainMenu(), ilMedia(), ilPage(), ilTOC(), initScreenHead(), layout(), media(), outputInfoScreen(), showDownloadList(), showMessageScreen(), showPreconditionsOfPage(), showPrintView(), showPrintViewSelection(), and showTableOfContents().
ilLMPresentationGUI::outputInfoScreen | ( | $a_standard_locator = false | ) |
info screen
Definition at line 2907 of file class.ilLMPresentationGUI.php.
References $_GET, $info, initScreenHead(), and offlineMode().
Referenced by executeCommand(), infoScreen(), and showInfoScreen().
ilLMPresentationGUI::processNodes | ( | & | $a_content, |
& | $a_node | ||
) |
Definition at line 2627 of file class.ilLMPresentationGUI.php.
References $_GET, $a_content, attrib2arr(), buildTag(), and getLink().
Referenced by layout().
ilLMPresentationGUI::redrawHeaderAction | ( | ) |
Redraw header action.
Definition at line 946 of file class.ilLMPresentationGUI.php.
References addHeaderAction(), and exit.
ilLMPresentationGUI::refreshToc | ( | ) |
Refresh toc (called if questions have been answered correctly)
Definition at line 4285 of file class.ilLMPresentationGUI.php.
|
protected |
Definition at line 4241 of file class.ilLMPresentationGUI.php.
References getLMPresentationTitle().
Referenced by glossary(), ilMedia(), initScreenHead(), layout(), showDownloadList(), showPrintView(), showPrintViewSelection(), and showTableOfContents().
ilLMPresentationGUI::resume | ( | ) |
Definition at line 313 of file class.ilLMPresentationGUI.php.
References $_GET, $ilUser, ilObjContentObjectAccess\_getLastAccessedPage(), and layout().
ilLMPresentationGUI::saveFrameUrl | ( | ) |
Save frame url.
Definition at line 654 of file class.ilLMPresentationGUI.php.
References $_GET.
ilLMPresentationGUI::setExportFormat | ( | $a_format | ) |
set export format
string | $a_format | "html" / "scorm" |
Definition at line 204 of file class.ilLMPresentationGUI.php.
ilLMPresentationGUI::setOfflineDirectory | ( | $offdir | ) |
set offline directory to offdir
offdir | contains diretory where to store files |
current used in code paragraph
Definition at line 4207 of file class.ilLMPresentationGUI.php.
ilLMPresentationGUI::setOfflineMode | ( | $a_offline = true , |
|
$a_all_languages = false |
|||
) |
set offline mode (content is generated for offline package)
Definition at line 184 of file class.ilLMPresentationGUI.php.
ilLMPresentationGUI::showDownloadList | ( | ) |
show download list
Definition at line 3825 of file class.ilLMPresentationGUI.php.
References $export_all_languages, $lang, ilMDUtils\_parseCopyright(), ilObjStyleSheet\getContentStylePath(), getExportFormat(), ilUtil\getImagePath(), getLMPresentationTitle(), ilUtil\getStyleSheetLocation(), ilLocator(), offlineMode(), and renderPageTitle().
ilLMPresentationGUI::showInfoScreen | ( | ) |
info screen call from inside learning module
Definition at line 2862 of file class.ilLMPresentationGUI.php.
References outputInfoScreen().
ilLMPresentationGUI::showMessageScreen | ( | $a_content | ) |
Show message screen.
Definition at line 4138 of file class.ilLMPresentationGUI.php.
References $a_content, ilObjStyleSheet\getContentStylePath(), and offlineMode().
Referenced by showNavRestrictionDueToQuestions(), showNoPageAccess(), and showNoPublicAccess().
ilLMPresentationGUI::showNavRestrictionDueToQuestions | ( | ) |
Show message if navigation to page is not allowed due to unanswered questions.
Definition at line 4180 of file class.ilLMPresentationGUI.php.
References showMessageScreen().
Referenced by ilPage().
ilLMPresentationGUI::showNoPageAccess | ( | ) |
Show info message, if page is not accessible in public area.
Definition at line 4171 of file class.ilLMPresentationGUI.php.
References showMessageScreen().
Referenced by ilPage().
ilLMPresentationGUI::showNoPublicAccess | ( | ) |
Show info message, if page is not accessible in public area.
Definition at line 4163 of file class.ilLMPresentationGUI.php.
References showMessageScreen().
Referenced by ilPage().
ilLMPresentationGUI::showPreconditionsOfPage | ( | ) |
show preconditions of the page
Definition at line 1767 of file class.ilLMPresentationGUI.php.
References $_GET, ilLink\_getLink(), ilObjContentObject\_getMissingPreconditionsOfPage(), ilObjContentObject\_getMissingPreconditionsTopChapter(), ilLMObject\_lookupTitle(), ilObject\_lookupTitle(), ilObjStyleSheet\getContentStylePath(), getCurrentPageId(), getLink(), and offlineMode().
Referenced by ilPage().
ilLMPresentationGUI::showPrintView | ( | ) |
show print view
Definition at line 3190 of file class.ilLMPresentationGUI.php.
References $_GET, $_POST, $ilCtrl, $ilUser, $lang, $lng, $output, $path, $t, ilObjContentObject\_checkPreconditionsOfPage(), ilLMObject\_exists(), ilStructureObject\_getPresentationTitle(), ilLMPageObject\_getPresentationTitle(), ilInternalLink\_getTargetsOfSource(), ilLMObject\_isPagePublic(), ilGlossaryTerm\_lookGlossaryTerm(), ilPageObject\_lookupActive(), ilLMObject\_lookupType(), ilMDUtils\_parseCopyright(), array, ilObjStyleSheet\getContentPrintStyle(), ilObjStyleSheet\getContentStylePath(), getCurrentPageId(), ilGlossaryDefinition\getDefinitionList(), ilObjStyleSheet\getEffectiveContentStyleId(), ilMD\getGeneral(), ilUtil\getImagePath(), getLMPageGUI(), getLMPresentationTitle(), ilObjStyleSheet\getSyntaxStylePath(), ilUtil\getWebspaceDir(), IL_CHAPTER_TITLE, IL_PAGE_TITLE, offlineMode(), renderPageTitle(), ilUtil\sendFailure(), and ilUtil\sortArray().
ilLMPresentationGUI::showPrintViewSelection | ( | ) |
show selection screen for print view
Definition at line 2972 of file class.ilLMPresentationGUI.php.
References $_GET, $_POST, $export_all_languages, $ilUser, $lang, $lng, $text, ilObjContentObject\_checkPreconditionsOfPage(), ilStructureObject\_getPresentationTitle(), ilLMPageObject\_getPresentationTitle(), ilLMObject\_isPagePublic(), ilPageObject\_lookupActive(), ilObjStyleSheet\getContentStylePath(), getExportFormat(), ilUtil\getImagePath(), getLMPresentationTitle(), ilUtil\getStyleSheetLocation(), IL_CHAPTER_TITLE, ilLocator(), initPrintViewSelectionForm(), offlineMode(), and renderPageTitle().
ilLMPresentationGUI::showTableOfContents | ( | ) |
table of contents
Definition at line 2720 of file class.ilLMPresentationGUI.php.
References $_GET, $export_all_languages, $ilUser, $lang, ilLMObject\_lookupType(), ilObjStyleSheet\getContentStylePath(), getCurrentPageId(), getExportFormat(), ilUtil\getImagePath(), getLMPresentationTitle(), ilUtil\getStyleSheetLocation(), ilObjContentObject\getSupplyingExportFiles(), getTracker(), ilLocator(), offlineMode(), and renderPageTitle().
ilLMPresentationGUI::updatePageRating | ( | ) |
Definition at line 1696 of file class.ilLMPresentationGUI.php.
References $_GET, $_POST, $ilUser, exit, ilRating\resetRatingForUserAndObject(), and ilRating\writeRatingForUserAndObject().
|
protected |
Definition at line 32 of file class.ilLMPresentationGUI.php.
Referenced by getCurrentPageId().
|
protected |
Definition at line 34 of file class.ilLMPresentationGUI.php.
Referenced by ilLMMenu(), initScreenHead(), showDownloadList(), showPrintViewSelection(), and showTableOfContents().
|
protected |
Definition at line 33 of file class.ilLMPresentationGUI.php.
ilLMPresentationGUI::$ilias |
Definition at line 25 of file class.ilLMPresentationGUI.php.
Referenced by executeCommand().
ilLMPresentationGUI::$layout_doc |
Definition at line 29 of file class.ilLMPresentationGUI.php.
ilLMPresentationGUI::$lm |
Definition at line 26 of file class.ilLMPresentationGUI.php.
ilLMPresentationGUI::$lng |
Definition at line 28 of file class.ilLMPresentationGUI.php.
Referenced by __construct(), executeCommand(), initPrintViewSelectionForm(), showPrintView(), and showPrintViewSelection().
ilLMPresentationGUI::$offline |
Definition at line 30 of file class.ilLMPresentationGUI.php.
Referenced by offlineMode().
ilLMPresentationGUI::$offline_directory |
Definition at line 31 of file class.ilLMPresentationGUI.php.
Referenced by getOfflineDirectory().
ilLMPresentationGUI::$tpl |
Definition at line 27 of file class.ilLMPresentationGUI.php.
Referenced by __construct(), addHeaderAction(), glossary(), and layout().