ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
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 25 of file class.ilLMPresentationGUI.php.
ilLMPresentationGUI::__construct | ( | ) |
Definition at line 92 of file class.ilLMPresentationGUI.php.
References $_GET, $data, $DIC, $ilCtrl, $ilErr, $ilUser, $lng, $rbacsystem, $tpl, ilLMTree\getInstance(), ilObjectTranslation\getInstance(), settings(), and user().
ilLMPresentationGUI::addHeaderAction | ( | $a_redraw = false | ) |
Add header action.
Definition at line 965 of file class.ilLMPresentationGUI.php.
References $_GET, $access, $lg, $tpl, getCurrentPageId(), offlineMode(), ilCommonActionDispatcherGUI\setSubObject(), and ilCommonActionDispatcherGUI\TYPE_REPOSITORY.
Referenced by ilLMNotes(), and redrawHeaderAction().
ilLMPresentationGUI::attrib2arr | ( | $a_attributes | ) |
Definition at line 318 of file class.ilLMPresentationGUI.php.
Referenced by layout(), and processNodes().
ilLMPresentationGUI::basicPageGuiInit | ( | $a_page_gui | ) |
Basic page gui initialisation.
Definition at line 1738 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 2651 of file class.ilLMPresentationGUI.php.
References $name, $tag, and $type.
Referenced by layout(), and processNodes().
ilLMPresentationGUI::determineLayout | ( | ) |
Determine layout.
Definition at line 341 of file class.ilLMPresentationGUI.php.
References $_GET, getCurrentPageId(), getExportFormat(), and ilLMObject\lookupLayout().
Referenced by layout().
ilLMPresentationGUI::download_paragraph | ( | ) |
download source code paragraph
Definition at line 3766 of file class.ilLMPresentationGUI.php.
References $_GET, and getLMPage().
ilLMPresentationGUI::downloadExportFile | ( | ) |
send download file (xml/html)
Definition at line 3852 of file class.ilLMPresentationGUI.php.
References $_GET, ilUtil\deliverFile(), and exit.
ilLMPresentationGUI::downloadFile | ( | ) |
download file of file lists
Definition at line 3756 of file class.ilLMPresentationGUI.php.
References getCurrentPageId(), and getLMPageGUI().
ilLMPresentationGUI::executeCommand | ( | ) |
execute command
Definition at line 168 of file class.ilLMPresentationGUI.php.
References $_GET, $_POST, $access, $ctrl, $error, $ilCtrl, $ilErr, $ilUser, $lng, $nav_history, $ret, $user, 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 301 of file class.ilLMPresentationGUI.php.
|
protected |
array | $nodes |
Definition at line 3132 of file class.ilLMPresentationGUI.php.
References $nodes, getTracker(), and offlineMode().
Referenced by showPrintViewSelection().
ilLMPresentationGUI::fullscreen | ( | ) |
Definition at line 695 of file class.ilLMPresentationGUI.php.
References layout(), and offlineMode().
ilLMPresentationGUI::getCurrentFrameSet | ( | ) |
get frames of current frame set
Definition at line 333 of file class.ilLMPresentationGUI.php.
ilLMPresentationGUI::getCurrentPageId | ( | ) |
Get the current page id.
Definition at line 1191 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 281 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 3879 of file class.ilLMPresentationGUI.php.
ilLMPresentationGUI::getLayoutLinkTargets | ( | ) |
Definition at line 1297 of file class.ilLMPresentationGUI.php.
References $i, $path, $res, $type, 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 3889 of file class.ilLMPresentationGUI.php.
References $_GET, $a_type, $ctrl, $ilCtrl, $lang, 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 2031 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 1847 of file class.ilLMPresentationGUI.php.
References $_GET, $ctrl, $ilCtrl, $target, $target_arr, $target_id, $type, ilFrameTargetInfo\_getFrame(), ilLMObject\_lookupContObjID(), ilObject\_lookupObjId(), ilObject\_lookupType(), 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 4185 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 4169 of file class.ilLMPresentationGUI.php.
References ilPageObject\_exists().
Referenced by downloadFile(), executeCommand(), ilPage(), and showPrintView().
ilLMPresentationGUI::getLMPresentationTitle | ( | ) |
Get lm presentationtitle.
Definition at line 829 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 4131 of file class.ilLMPresentationGUI.php.
References $offline_directory.
Referenced by basicPageGuiInit(), handleCodeParagraph(), and ilGlossary().
ilLMPresentationGUI::getSourcecodeDownloadLink | ( | ) |
Definition at line 4100 of file class.ilLMPresentationGUI.php.
References $target, ilUtil\appendUrlParameterString(), and offlineMode().
Referenced by ilPage().
ilLMPresentationGUI::getSuccessorPage | ( | ) |
Get successor page.
Definition at line 2214 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 310 of file class.ilLMPresentationGUI.php.
References getCurrentPageId(), and ilLMTracker\getInstance().
Referenced by filterNonAccessibleNode(), ilLMNavigation(), ilPage(), ilTOC(), showPrintView(), and showTableOfContents().
ilLMPresentationGUI::glossary | ( | ) |
Definition at line 709 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 4140 of file class.ilLMPresentationGUI.php.
References $text, $title, getOfflineDirectory(), and ilUtil\makeDirParents().
ilLMPresentationGUI::ilCitation | ( | ) |
Definition at line 1281 of file class.ilLMPresentationGUI.php.
References $xml, getCurrentPageId(), getLMPage(), and ilLocator().
ilLMPresentationGUI::ilGlossary | ( | ) |
show glossary term
Definition at line 2044 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 2199 of file class.ilLMPresentationGUI.php.
References $js.
Referenced by layout().
ilLMPresentationGUI::ilLMHead | ( | ) |
output lm header
Definition at line 864 of file class.ilLMPresentationGUI.php.
References ilUtil\getImagePath(), getLMPresentationTitle(), and offlineMode().
Referenced by layout().
ilLMPresentationGUI::ilLMMenu | ( | ) |
output learning module menu
Definition at line 847 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 2278 of file class.ilLMPresentationGUI.php.
References $_GET, $ilUser, $lang, Sabre\VObject\$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 1013 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 881 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 1075 of file class.ilLMPresentationGUI.php.
References $_GET, $ctrl, Sabre\VObject\$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 743 of file class.ilLMPresentationGUI.php.
References $DIC, getCurrentPageId(), and offlineMode().
Referenced by layout().
ilLMPresentationGUI::ilMedia | ( | ) |
output media
Definition at line 2100 of file class.ilLMPresentationGUI.php.
References $_GET, $ilUser, Sabre\VObject\$output, PHPMailer\PHPMailer\$params, $user, $xml, ilMediaItem\_getMapAreasIntLinks(), 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 1325 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(), 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 780 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 2800 of file class.ilLMPresentationGUI.php.
References outputInfoScreen().
ilLMPresentationGUI::initPrintViewSelectionForm | ( | ) |
Init print view selection form.
Definition at line 3151 of file class.ilLMPresentationGUI.php.
References $ctrl, $ilCtrl, $lng, and ilRadioGroupInputGUI\setValue().
Referenced by showPrintViewSelection().
|
protected |
Definition at line 2815 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 391 of file class.ilLMPresentationGUI.php.
References $_GET, $_SESSION, $attributes, $ctrl, $DIC, $f, $GLOBALS, $ilCtrl, $ilSetting, $ilUser, $path, $result, $settings, $store, $tpl, $user, ilAccordionGUI\addCss(), ilAccordionGUI\addJavaScript(), attrib2arr(), buildTag(), ilGlyphGUI\CLOSE, determineLayout(), domxml_open_mem(), ilGlyphGUI\get(), ilUtil\getStyleSheetLocation(), ilObjContentObject\getSupplyingExportFiles(), 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 700 of file class.ilLMPresentationGUI.php.
References $_GET, layout(), and offlineMode().
ilLMPresentationGUI::nop | ( | ) |
this dummy function is needed for offline package creation
Definition at line 289 of file class.ilLMPresentationGUI.php.
ilLMPresentationGUI::offlineMode | ( | ) |
checks wether offline content generation is activated
Definition at line 261 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 2859 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 2581 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 956 of file class.ilLMPresentationGUI.php.
References addHeaderAction(), and exit.
ilLMPresentationGUI::refreshToc | ( | ) |
Refresh toc (called if questions have been answered correctly)
Definition at line 4197 of file class.ilLMPresentationGUI.php.
|
protected |
Definition at line 4155 of file class.ilLMPresentationGUI.php.
References getLMPresentationTitle().
Referenced by glossary(), ilMedia(), initScreenHead(), layout(), showDownloadList(), showPrintView(), showPrintViewSelection(), and showTableOfContents().
ilLMPresentationGUI::resume | ( | ) |
Definition at line 370 of file class.ilLMPresentationGUI.php.
References $_GET, $ilUser, $user, ilObjContentObjectAccess\_getLastAccessedPage(), and layout().
ilLMPresentationGUI::saveFrameUrl | ( | ) |
Save frame url.
Definition at line 683 of file class.ilLMPresentationGUI.php.
ilLMPresentationGUI::setExportFormat | ( | $a_format | ) |
set export format
string | $a_format | "html" / "scorm" |
Definition at line 271 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 4119 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 251 of file class.ilLMPresentationGUI.php.
ilLMPresentationGUI::showDownloadList | ( | ) |
show download list
Definition at line 3776 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 2810 of file class.ilLMPresentationGUI.php.
References outputInfoScreen().
ilLMPresentationGUI::showMessageScreen | ( | $a_content | ) |
Show message screen.
Definition at line 4053 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 4094 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 4085 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 4077 of file class.ilLMPresentationGUI.php.
References showMessageScreen().
Referenced by ilPage().
ilLMPresentationGUI::showPreconditionsOfPage | ( | ) |
show preconditions of the page
Definition at line 1766 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 3188 of file class.ilLMPresentationGUI.php.
References $_GET, $_POST, $ctrl, $def, $description, $id, $ilCtrl, $ilUser, $key, $lang, $links, $lng, $nodes, Sabre\VObject\$output, $path, $t, $user, ilObjContentObject\_checkPreconditionsOfPage(), ilLMObject\_exists(), ilStructureObject\_getPresentationTitle(), ilLMPageObject\_getPresentationTitle(), ilInternalLink\_getTargetsOfSource(), ilLMObject\_isPagePublic(), ilGlossaryTerm\_lookGlossaryTerm(), ilPageObject\_lookupActive(), ilLMObject\_lookupType(), ilMDUtils\_parseCopyright(), 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 2919 of file class.ilLMPresentationGUI.php.
References $_GET, $_POST, $export_all_languages, $f, $id, $ilUser, $lang, $lng, $nodes, $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 2680 of file class.ilLMPresentationGUI.php.
References $_GET, $export_all_languages, $f, $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 1691 of file class.ilLMPresentationGUI.php.
References $_GET, $_POST, $ilUser, $user, exit, ilRating\resetRatingForUserAndObject(), and ilRating\writeRatingForUserAndObject().
|
protected |
Definition at line 55 of file class.ilLMPresentationGUI.php.
Referenced by addHeaderAction(), executeCommand(), ilLMNotes(), ilPage(), initScreenHead(), and outputInfoScreen().
|
protected |
Definition at line 40 of file class.ilLMPresentationGUI.php.
Referenced by executeCommand(), getLink(), getLinkXML(), ilGlossary(), ilLocator(), initPrintViewSelectionForm(), layout(), and showPrintView().
|
protected |
Definition at line 88 of file class.ilLMPresentationGUI.php.
Referenced by getCurrentPageId().
|
protected |
Definition at line 45 of file class.ilLMPresentationGUI.php.
Referenced by executeCommand().
|
protected |
Definition at line 90 of file class.ilLMPresentationGUI.php.
Referenced by ilLMMenu(), initScreenHead(), showDownloadList(), showPrintViewSelection(), and showTableOfContents().
|
protected |
Definition at line 89 of file class.ilLMPresentationGUI.php.
|
protected |
Definition at line 80 of file class.ilLMPresentationGUI.php.
Referenced by ilPage().
ilLMPresentationGUI::$layout_doc |
Definition at line 85 of file class.ilLMPresentationGUI.php.
ilLMPresentationGUI::$lm |
Definition at line 82 of file class.ilLMPresentationGUI.php.
ilLMPresentationGUI::$lng |
Definition at line 84 of file class.ilLMPresentationGUI.php.
Referenced by __construct(), executeCommand(), initPrintViewSelectionForm(), showPrintView(), and showPrintViewSelection().
|
protected |
Definition at line 70 of file class.ilLMPresentationGUI.php.
Referenced by ilLocator(), and initScreenHead().
|
protected |
Definition at line 65 of file class.ilLMPresentationGUI.php.
|
protected |
Definition at line 50 of file class.ilLMPresentationGUI.php.
Referenced by executeCommand().
ilLMPresentationGUI::$offline |
Definition at line 86 of file class.ilLMPresentationGUI.php.
Referenced by offlineMode().
ilLMPresentationGUI::$offline_directory |
Definition at line 87 of file class.ilLMPresentationGUI.php.
Referenced by getOfflineDirectory().
|
protected |
Definition at line 35 of file class.ilLMPresentationGUI.php.
Referenced by __construct(), and ilLMSubMenu().
|
protected |
Definition at line 60 of file class.ilLMPresentationGUI.php.
Referenced by ilLMNotes(), and layout().
ilLMPresentationGUI::$tpl |
Definition at line 83 of file class.ilLMPresentationGUI.php.
Referenced by __construct(), addHeaderAction(), glossary(), layout(), and showMessageScreen().
|
protected |
Definition at line 75 of file class.ilLMPresentationGUI.php.
Referenced by ilLocator().
|
protected |
Definition at line 30 of file class.ilLMPresentationGUI.php.
Referenced by executeCommand(), getCurrentPageId(), getSuccessorPage(), glossary(), ilLMNavigation(), ilMedia(), ilPage(), initScreenHead(), layout(), resume(), showPrintView(), showPrintViewSelection(), showTableOfContents(), and updatePageRating().