ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
|
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 | |
$lm | |
$tpl | |
$lng | |
$layout_doc | |
$offline | |
$offline_directory | |
Protected Member Functions | |
initScreenHead ($a_active_tab="info") | |
filterNonAccessibleNode ($nodes) | |
renderPageTitle () | |
Protected Attributes | |
$user | |
$rbacsystem | |
$ctrl | |
$error | |
$nav_history | |
$access | |
$settings | |
$main_menu | |
$locator | |
$tree | |
$help | |
$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 90 of file class.ilLMPresentationGUI.php.
References $_GET, $data, $DIC, $ilCtrl, $ilErr, $ilUser, $lng, $rbacsystem, $tpl, array, ilLMTree\getInstance(), ilObjectTranslation\getInstance(), settings(), and user().
ilLMPresentationGUI::addHeaderAction | ( | $a_redraw = false | ) |
Add header action.
Definition at line 963 of file class.ilLMPresentationGUI.php.
References $_GET, $access, $lg, $tpl, array, getCurrentPageId(), offlineMode(), ilCommonActionDispatcherGUI\setSubObject(), and ilCommonActionDispatcherGUI\TYPE_REPOSITORY.
Referenced by ilLMNotes(), and redrawHeaderAction().
ilLMPresentationGUI::attrib2arr | ( | $a_attributes | ) |
Definition at line 315 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 2649 of file class.ilLMPresentationGUI.php.
References $name, $tag, and $type.
Referenced by layout(), and processNodes().
ilLMPresentationGUI::determineLayout | ( | ) |
Determine layout.
Definition at line 338 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 3764 of file class.ilLMPresentationGUI.php.
References $_GET, and getLMPage().
ilLMPresentationGUI::downloadExportFile | ( | ) |
send download file (xml/html)
Definition at line 3850 of file class.ilLMPresentationGUI.php.
References $_GET, $file, ilUtil\deliverFile(), and exit.
ilLMPresentationGUI::downloadFile | ( | ) |
download file of file lists
Definition at line 3754 of file class.ilLMPresentationGUI.php.
References getCurrentPageId(), and getLMPageGUI().
ilLMPresentationGUI::executeCommand | ( | ) |
execute command
Definition at line 166 of file class.ilLMPresentationGUI.php.
References $_GET, $_POST, $access, $ctrl, $ilCtrl, $ilErr, $ilUser, $lng, $nav_history, $ret, $user, 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 298 of file class.ilLMPresentationGUI.php.
|
protected |
array | $nodes |
Definition at line 3130 of file class.ilLMPresentationGUI.php.
References $tracker, getTracker(), and offlineMode().
Referenced by showPrintViewSelection().
ilLMPresentationGUI::fullscreen | ( | ) |
Definition at line 692 of file class.ilLMPresentationGUI.php.
References layout(), and offlineMode().
ilLMPresentationGUI::getCurrentFrameSet | ( | ) |
get frames of current frame set
Definition at line 330 of file class.ilLMPresentationGUI.php.
ilLMPresentationGUI::getCurrentPageId | ( | ) |
Get the current page id.
Definition at line 1189 of file class.ilLMPresentationGUI.php.
References $_GET, $current_page_id, $ilUser, $path, $user, 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 278 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 3877 of file class.ilLMPresentationGUI.php.
ilLMPresentationGUI::getLayoutLinkTargets | ( | ) |
Definition at line 1295 of file class.ilLMPresentationGUI.php.
References $i, $path, $res, $type, 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 3887 of file class.ilLMPresentationGUI.php.
References $_GET, $a_type, $ctrl, $ilCtrl, $lang, 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 2029 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 1845 of file class.ilLMPresentationGUI.php.
References $_GET, $ctrl, $ilCtrl, $target, $target_arr, $target_id, $type, ilFrameTargetInfo\_getFrame(), ilLMObject\_lookupContObjID(), ilObject\_lookupObjId(), ilObject\_lookupType(), array, getCurrentPageId(), getExportFormat(), ilWikiPage\getGotoForWikiPageTarget(), getLink(), ilUserUtil\getNamePresentation(), ilUserUtil\hasPublicProfile(), and offlineMode().
Referenced by ilGlossary(), ilMedia(), and ilPage().
ilLMPresentationGUI::getLMPage | ( | $a_id | ) |
Get lm page object.
Definition at line 4183 of file class.ilLMPresentationGUI.php.
References ilPageObject\_exists().
Referenced by download_paragraph(), ilCitation(), and ilMedia().
ilLMPresentationGUI::getLMPageGUI | ( | $a_id | ) |
Get lm page gui object.
Definition at line 4167 of file class.ilLMPresentationGUI.php.
References ilPageObject\_exists().
Referenced by downloadFile(), executeCommand(), ilPage(), and showPrintView().
ilLMPresentationGUI::getLMPresentationTitle | ( | ) |
Get lm presentationtitle.
Definition at line 827 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 4129 of file class.ilLMPresentationGUI.php.
References $offline_directory.
Referenced by basicPageGuiInit(), handleCodeParagraph(), and ilGlossary().
ilLMPresentationGUI::getSourcecodeDownloadLink | ( | ) |
Definition at line 4098 of file class.ilLMPresentationGUI.php.
References $target, ilUtil\appendUrlParameterString(), and offlineMode().
Referenced by ilPage().
ilLMPresentationGUI::getSuccessorPage | ( | ) |
Get successor page.
Definition at line 2212 of file class.ilLMPresentationGUI.php.
References $_GET, $ilUser, $user, ilLMObject\_isPagePublic(), ilPageObject\_lookupActivationData(), ilPageObject\_lookupActive(), ilLMObject\_lookupType(), getCurrentPageId(), and ilUtil\now().
Referenced by ilPage().
ilLMPresentationGUI::getTracker | ( | ) |
Get tracker.
Definition at line 307 of file class.ilLMPresentationGUI.php.
References $tracker, getCurrentPageId(), and ilLMTracker\getInstance().
Referenced by filterNonAccessibleNode(), ilLMNavigation(), ilPage(), ilTOC(), showPrintView(), and showTableOfContents().
ilLMPresentationGUI::glossary | ( | ) |
Definition at line 706 of file class.ilLMPresentationGUI.php.
References $_GET, $DIC, $GLOBALS, $ilUser, $tpl, $user, 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 4138 of file class.ilLMPresentationGUI.php.
References $file, $text, $title, getOfflineDirectory(), and ilUtil\makeDirParents().
ilLMPresentationGUI::ilCitation | ( | ) |
Definition at line 1279 of file class.ilLMPresentationGUI.php.
References $xml, getCurrentPageId(), getLMPage(), and ilLocator().
ilLMPresentationGUI::ilGlossary | ( | ) |
show glossary term
Definition at line 2042 of file class.ilLMPresentationGUI.php.
References $_GET, $ctrl, $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 2197 of file class.ilLMPresentationGUI.php.
References $js.
Referenced by layout().
ilLMPresentationGUI::ilLMHead | ( | ) |
output lm header
Definition at line 862 of file class.ilLMPresentationGUI.php.
References ilUtil\getImagePath(), getLMPresentationTitle(), and offlineMode().
Referenced by layout().
ilLMPresentationGUI::ilLMMenu | ( | ) |
output learning module menu
Definition at line 845 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 2276 of file class.ilLMPresentationGUI.php.
References $_GET, $ilUser, $lang, $output, $user, ilFrameTargetInfo\_getFrame(), 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 1011 of file class.ilLMPresentationGUI.php.
References $_GET, $access, $html, $ilSetting, $settings, addHeaderAction(), ilNoteGUI\enablePublicNotesDeletion(), getCurrentPageId(), and offlineMode().
Referenced by layout().
ilLMPresentationGUI::ilLMSubMenu | ( | ) |
output learning module submenu
Definition at line 879 of file class.ilLMPresentationGUI.php.
References $_GET, $lang, $rbacsystem, $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 1073 of file class.ilLMPresentationGUI.php.
References $_GET, $ctrl, $debug, $DIC, $ilCtrl, $key, $lang, $locator, $path, $row, $tree, 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 740 of file class.ilLMPresentationGUI.php.
References $DIC, getCurrentPageId(), and offlineMode().
Referenced by layout().
ilLMPresentationGUI::ilMedia | ( | ) |
output media
Definition at line 2098 of file class.ilLMPresentationGUI.php.
References $_GET, $ilUser, $output, $params, $user, $xml, 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 1323 of file class.ilLMPresentationGUI.php.
References $_GET, $access, $help, $ilUser, $lang, $m, $path, $ret, $user, $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 777 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 2798 of file class.ilLMPresentationGUI.php.
References outputInfoScreen().
ilLMPresentationGUI::initPrintViewSelectionForm | ( | ) |
Init print view selection form.
Definition at line 3149 of file class.ilLMPresentationGUI.php.
References $ctrl, $ilCtrl, $lng, and ilRadioGroupInputGUI\setValue().
Referenced by showPrintViewSelection().
|
protected |
Definition at line 2813 of file class.ilLMPresentationGUI.php.
References $_GET, $access, $export_all_languages, $ilUser, $lang, $locator, $user, 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 388 of file class.ilLMPresentationGUI.php.
References $_GET, $_SESSION, $attributes, $ctrl, $DIC, $GLOBALS, $ilCtrl, $ilSetting, $ilUser, $layout, $path, $result, $settings, $store, $tpl, $user, ilAccordionGUI\addCss(), ilAccordionGUI\addJavaScript(), array, attrib2arr(), buildTag(), ilGlyphGUI\CLOSE, determineLayout(), domxml_open_mem(), ilGlyphGUI\get(), ilUtil\getStyleSheetLocation(), ilObjContentObject\getSupplyingExportFiles(), header, ilGlossary(), ilJavaScript(), ilLMHead(), ilLMMenu(), ilLMNavigation(), ilLMNotes(), ilLMSubMenu(), ilLocator(), ilMainMenu(), ilMedia(), ilPage(), ilTOC(), ilUIFramework\init(), ilYuiUtil\initConnection(), 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 697 of file class.ilLMPresentationGUI.php.
References $_GET, layout(), and offlineMode().
ilLMPresentationGUI::nop | ( | ) |
this dummy function is needed for offline package creation
Definition at line 286 of file class.ilLMPresentationGUI.php.
ilLMPresentationGUI::offlineMode | ( | ) |
checks wether offline content generation is activated
Definition at line 258 of file class.ilLMPresentationGUI.php.
References $offline.
Referenced by addHeaderAction(), basicPageGuiInit(), filterNonAccessibleNode(), 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 2857 of file class.ilLMPresentationGUI.php.
References $_GET, $access, $info, initScreenHead(), and offlineMode().
Referenced by executeCommand(), infoScreen(), and showInfoScreen().
ilLMPresentationGUI::processNodes | ( | & | $a_content, |
& | $a_node | ||
) |
Definition at line 2579 of file class.ilLMPresentationGUI.php.
References $_GET, $a_content, $attributes, attrib2arr(), buildTag(), and getLink().
Referenced by layout().
ilLMPresentationGUI::redrawHeaderAction | ( | ) |
Redraw header action.
Definition at line 954 of file class.ilLMPresentationGUI.php.
References addHeaderAction(), and exit.
ilLMPresentationGUI::refreshToc | ( | ) |
Refresh toc (called if questions have been answered correctly)
Definition at line 4195 of file class.ilLMPresentationGUI.php.
|
protected |
Definition at line 4153 of file class.ilLMPresentationGUI.php.
References getLMPresentationTitle().
Referenced by glossary(), ilMedia(), initScreenHead(), layout(), showDownloadList(), showPrintView(), showPrintViewSelection(), and showTableOfContents().
ilLMPresentationGUI::resume | ( | ) |
Definition at line 367 of file class.ilLMPresentationGUI.php.
References $_GET, $ilUser, $user, ilObjContentObjectAccess\_getLastAccessedPage(), and layout().
ilLMPresentationGUI::saveFrameUrl | ( | ) |
Save frame url.
Definition at line 680 of file class.ilLMPresentationGUI.php.
ilLMPresentationGUI::setExportFormat | ( | $a_format | ) |
set export format
string | $a_format | "html" / "scorm" |
Definition at line 268 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 4117 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 248 of file class.ilLMPresentationGUI.php.
ilLMPresentationGUI::showDownloadList | ( | ) |
show download list
Definition at line 3774 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 2808 of file class.ilLMPresentationGUI.php.
References outputInfoScreen().
ilLMPresentationGUI::showMessageScreen | ( | $a_content | ) |
Show message screen.
Definition at line 4051 of file class.ilLMPresentationGUI.php.
References $a_content, $tpl, 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 4092 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 4083 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 4075 of file class.ilLMPresentationGUI.php.
References showMessageScreen().
Referenced by ilPage().
ilLMPresentationGUI::showPreconditionsOfPage | ( | ) |
show preconditions of the page
Definition at line 1764 of file class.ilLMPresentationGUI.php.
References $_GET, $i, 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 3186 of file class.ilLMPresentationGUI.php.
References $_GET, $_POST, $ctrl, $def, $description, $id, $ilCtrl, $ilUser, $key, $lang, $links, $lng, $output, $path, $t, $user, 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(), getTracker(), 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 2917 of file class.ilLMPresentationGUI.php.
References $_GET, $_POST, $export_all_languages, $id, $ilUser, $lang, $lng, $text, $user, ilObjContentObject\_checkPreconditionsOfPage(), ilStructureObject\_getPresentationTitle(), ilLMPageObject\_getPresentationTitle(), ilLMObject\_isPagePublic(), ilPageObject\_lookupActive(), filterNonAccessibleNode(), ilObjStyleSheet\getContentStylePath(), getExportFormat(), ilUtil\getImagePath(), getLMPresentationTitle(), ilUtil\getStyleSheetLocation(), IL_CHAPTER_TITLE, ilLocator(), initPrintViewSelectionForm(), offlineMode(), and renderPageTitle().
ilLMPresentationGUI::showTableOfContents | ( | ) |
table of contents
Definition at line 2678 of file class.ilLMPresentationGUI.php.
References $_GET, $export_all_languages, $ilUser, $lang, $user, ilLMObject\_lookupType(), ilObjStyleSheet\getContentStylePath(), getCurrentPageId(), getExportFormat(), ilUtil\getImagePath(), getLMPresentationTitle(), ilUtil\getStyleSheetLocation(), ilObjContentObject\getSupplyingExportFiles(), getTracker(), ilLocator(), offlineMode(), and renderPageTitle().
ilLMPresentationGUI::updatePageRating | ( | ) |
Definition at line 1689 of file class.ilLMPresentationGUI.php.
References $_GET, $_POST, $ilUser, $user, exit, ilRating\resetRatingForUserAndObject(), and ilRating\writeRatingForUserAndObject().
|
protected |
Definition at line 53 of file class.ilLMPresentationGUI.php.
Referenced by addHeaderAction(), executeCommand(), ilLMNotes(), ilPage(), initScreenHead(), and outputInfoScreen().
|
protected |
Definition at line 38 of file class.ilLMPresentationGUI.php.
Referenced by executeCommand(), getLink(), getLinkXML(), ilGlossary(), ilLocator(), initPrintViewSelectionForm(), layout(), and showPrintView().
|
protected |
Definition at line 86 of file class.ilLMPresentationGUI.php.
Referenced by getCurrentPageId().
|
protected |
Definition at line 43 of file class.ilLMPresentationGUI.php.
|
protected |
Definition at line 88 of file class.ilLMPresentationGUI.php.
Referenced by ilLMMenu(), initScreenHead(), showDownloadList(), showPrintViewSelection(), and showTableOfContents().
|
protected |
Definition at line 87 of file class.ilLMPresentationGUI.php.
|
protected |
Definition at line 78 of file class.ilLMPresentationGUI.php.
Referenced by ilPage().
ilLMPresentationGUI::$layout_doc |
Definition at line 83 of file class.ilLMPresentationGUI.php.
ilLMPresentationGUI::$lm |
Definition at line 80 of file class.ilLMPresentationGUI.php.
ilLMPresentationGUI::$lng |
Definition at line 82 of file class.ilLMPresentationGUI.php.
Referenced by __construct(), executeCommand(), initPrintViewSelectionForm(), showPrintView(), and showPrintViewSelection().
|
protected |
Definition at line 68 of file class.ilLMPresentationGUI.php.
Referenced by ilLocator(), and initScreenHead().
|
protected |
Definition at line 63 of file class.ilLMPresentationGUI.php.
|
protected |
Definition at line 48 of file class.ilLMPresentationGUI.php.
Referenced by executeCommand().
ilLMPresentationGUI::$offline |
Definition at line 84 of file class.ilLMPresentationGUI.php.
Referenced by offlineMode().
ilLMPresentationGUI::$offline_directory |
Definition at line 85 of file class.ilLMPresentationGUI.php.
Referenced by getOfflineDirectory().
|
protected |
Definition at line 33 of file class.ilLMPresentationGUI.php.
Referenced by __construct(), and ilLMSubMenu().
|
protected |
Definition at line 58 of file class.ilLMPresentationGUI.php.
Referenced by ilLMNotes(), and layout().
ilLMPresentationGUI::$tpl |
Definition at line 81 of file class.ilLMPresentationGUI.php.
Referenced by __construct(), addHeaderAction(), glossary(), layout(), and showMessageScreen().
|
protected |
Definition at line 73 of file class.ilLMPresentationGUI.php.
Referenced by ilLocator().
|
protected |
Definition at line 28 of file class.ilLMPresentationGUI.php.
Referenced by executeCommand(), getCurrentPageId(), getSuccessorPage(), glossary(), ilLMNavigation(), ilMedia(), ilPage(), initScreenHead(), layout(), resume(), showPrintView(), showPrintViewSelection(), showTableOfContents(), and updatePageRating().