ILIAS
release_5-0 Revision 5.0.0-1144-gc4397b1f870
|
Class ilLMPresentationGUI. More...
Public Member Functions | |
ilLMPresentationGUI () | |
executeCommand () | |
execute command More... | |
setOfflineMode ($a_offline=true) | |
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... | |
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... | |
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 () | |
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... | |
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 | |
Private Attributes | |
$needs_to_be_purchased = false | |
Class ilLMPresentationGUI.
GUI class for learning module presentation
@ilCtrl_Calls ilLMPresentationGUI: ilNoteGUI, ilInfoScreenGUI, ilShopPurchaseGUI @ilCtrl_Calls ilLMPresentationGUI: ilLMPageGUI, ilGlossaryDefPageGUI, ilCommonActionDispatcherGUI @ilCtrl_Calls ilLMPresentationGUI: ilLearningProgressGUI, ilAssGenFeedbackPageGUI @ilCtrl_Calls ilLMPresentationGUI: ilRatingGUI
Definition at line 23 of file class.ilLMPresentationGUI.php.
ilLMPresentationGUI::addHeaderAction | ( | $a_redraw = false | ) |
Add header action.
Definition at line 946 of file class.ilLMPresentationGUI.php.
References $_GET, $tpl, getCurrentPageId(), and ilCommonActionDispatcherGUI\TYPE_REPOSITORY.
Referenced by ilLMNotes(), and redrawHeaderAction().
ilLMPresentationGUI::attrib2arr | ( | $a_attributes | ) |
Definition at line 288 of file class.ilLMPresentationGUI.php.
Referenced by layout(), and processNodes().
ilLMPresentationGUI::basicPageGuiInit | ( | $a_page_gui | ) |
Basic page gui initialisation.
return
Definition at line 1701 of file class.ilLMPresentationGUI.php.
References $_GET, 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 2645 of file class.ilLMPresentationGUI.php.
Referenced by layout(), and processNodes().
ilLMPresentationGUI::determineLayout | ( | ) |
Determine layout.
Definition at line 313 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 3737 of file class.ilLMPresentationGUI.php.
References $_GET, and getLMPage().
ilLMPresentationGUI::downloadExportFile | ( | ) |
send download file (xml/html)
Definition at line 3916 of file class.ilLMPresentationGUI.php.
References $_GET, $file, ilUtil\deliverFile(), and exit.
ilLMPresentationGUI::downloadFile | ( | ) |
download file of file lists
Definition at line 3705 of file class.ilLMPresentationGUI.php.
References $_GET, $file, exit, getCurrentPageId(), and getLMPage().
ilLMPresentationGUI::executeCommand | ( | ) |
execute command
Definition at line 112 of file class.ilLMPresentationGUI.php.
References $_GET, $_POST, $cmd, $ilCtrl, $ilias, $ilUser, $lng, $ret, ilLMObject\_isPagePublic(), basicPageGuiInit(), ilCommonActionDispatcherGUI\getInstanceFromAjaxCall(), getLMPageGUI(), ilLocator(), initScreenHead(), layout(), ilLearningProgressBaseGUI\LP_CONTEXT_REPOSITORY, and outputInfoScreen().
ilLMPresentationGUI::export | ( | ) |
calls export of digilib-object at this point other lm-objects can be exported
access public
Definition at line 265 of file class.ilLMPresentationGUI.php.
ilLMPresentationGUI::fullscreen | ( | ) |
Definition at line 683 of file class.ilLMPresentationGUI.php.
References layout(), and offlineMode().
ilLMPresentationGUI::getCurrentFrameSet | ( | ) |
get frames of current frame set
Definition at line 305 of file class.ilLMPresentationGUI.php.
ilLMPresentationGUI::getCurrentPageId | ( | ) |
Get the current page id.
Definition at line 1173 of file class.ilLMPresentationGUI.php.
References $_GET, $current_page_id, $ilUser, $path, ilLMObject\_isPagePublic(), ilPageObject\_lookupActive(), ilLMObject\_lookupType(), and offlineMode().
Referenced by addHeaderAction(), determineLayout(), downloadFile(), getLink(), getLinkXML(), getSuccessorPage(), getTracker(), ilCitation(), ilLMNavigation(), ilLMNotes(), ilLMSubMenu(), ilMainMenu(), ilPage(), ilTOC(), showPreconditionsOfPage(), showPrintView(), and showTableOfContents().
ilLMPresentationGUI::getExportFormat | ( | ) |
get export format
Definition at line 245 of file class.ilLMPresentationGUI.php.
Referenced by determineLayout(), and getLinkXML().
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 3944 of file class.ilLMPresentationGUI.php.
ilLMPresentationGUI::getLayoutLinkTargets | ( | ) |
Definition at line 1285 of file class.ilLMPresentationGUI.php.
References $path, $res, 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 3954 of file class.ilLMPresentationGUI.php.
References $_GET, $ilCtrl, getCurrentPageId(), ilLMObject\getExportId(), and offlineMode().
Referenced by basicPageGuiInit(), getLinkXML(), ilLMNavigation(), ilMedia(), processNodes(), and showPreconditionsOfPage().
ilLMPresentationGUI::getLinkTargetsXML | ( | ) |
Get XMl for Link Targets.
Definition at line 1987 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 1811 of file class.ilLMPresentationGUI.php.
References $_GET, $ilCtrl, $target_arr, $target_id, ilFrameTargetInfo\_getFrame(), ilLMObject\_lookupContObjID(), ilObject\_lookupObjId(), ilObject\_lookupType(), getCurrentPageId(), getExportFormat(), ilWikiPage\getGotoForWikiPageTarget(), getLink(), and offlineMode().
Referenced by ilGlossary(), ilMedia(), and ilPage().
ilLMPresentationGUI::getLMPage | ( | $a_id | ) |
Get lm page object.
return
Definition at line 4266 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.
return
Definition at line 4249 of file class.ilLMPresentationGUI.php.
References ilPageObject\_exists().
Referenced by executeCommand(), ilPage(), and showPrintView().
ilLMPresentationGUI::getOfflineDirectory | ( | ) |
get offline directory
current used in code paragraph
Definition at line 4213 of file class.ilLMPresentationGUI.php.
References $offline_directory.
Referenced by basicPageGuiInit(), handleCodeParagraph(), and ilGlossary().
ilLMPresentationGUI::getSourcecodeDownloadLink | ( | ) |
Definition at line 4181 of file class.ilLMPresentationGUI.php.
References ilUtil\appendUrlParameterString(), and offlineMode().
Referenced by ilPage().
ilLMPresentationGUI::getSuccessorPage | ( | ) |
Get successor page.
return
Definition at line 2183 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 280 of file class.ilLMPresentationGUI.php.
References getCurrentPageId(), and ilLMTracker\getInstance().
Referenced by ilLMNavigation(), ilPage(), ilTOC(), and showTableOfContents().
ilLMPresentationGUI::glossary | ( | ) |
Definition at line 700 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 4221 of file class.ilLMPresentationGUI.php.
References $file, getOfflineDirectory(), and ilUtil\makeDirParents().
ilLMPresentationGUI::ilCitation | ( | ) |
Definition at line 1269 of file class.ilLMPresentationGUI.php.
References getCurrentPageId(), getLMPage(), and ilLocator().
ilLMPresentationGUI::ilGlossary | ( | ) |
show glossary term
Definition at line 2001 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 2167 of file class.ilLMPresentationGUI.php.
Referenced by layout().
ilLMPresentationGUI::ilLMHead | ( | ) |
output lm header
Definition at line 840 of file class.ilLMPresentationGUI.php.
References ilUtil\getImagePath(), and offlineMode().
Referenced by layout().
ilLMPresentationGUI::ilLMMenu | ( | ) |
output learning module menu
Definition at line 831 of file class.ilLMPresentationGUI.php.
Referenced by layout().
ilLMPresentationGUI::ilLMNavigation | ( | ) |
inserts sequential learning module navigation at template variable LMNAVIGATION_CONTENT
Definition at line 2261 of file class.ilLMPresentationGUI.php.
References $_GET, $ilUser, 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 985 of file class.ilLMPresentationGUI.php.
References $_GET, $ilSetting, addHeaderAction(), getCurrentPageId(), and offlineMode().
Referenced by layout().
ilLMPresentationGUI::ilLMPresentationGUI | ( | ) |
Definition at line 37 of file class.ilLMPresentationGUI.php.
References $_GET, $data, $ilCtrl, $ilias, $ilUser, $lng, $tpl, ilPaymentObject\_requiresPurchaseToAccess(), ilObjectTranslation\getInstance(), and ilLMTree\getInstance().
ilLMPresentationGUI::ilLMSubMenu | ( | ) |
output learning module submenu
Definition at line 860 of file class.ilLMPresentationGUI.php.
References $_GET, ilFrameTargetInfo\_getFrame(), ilLMPageObject\_getPresentationTitle(), getCurrentPageId(), and offlineMode().
Referenced by layout().
ilLMPresentationGUI::ilLocator | ( | ) |
locator
Definition at line 1062 of file class.ilLMPresentationGUI.php.
References $_GET, $ilCtrl, $path, $row, ilFrameTargetInfo\_getFrame(), ilStructureObject\_getPresentationTitle(), ilObject\_lookupObjId(), ilObject\_lookupTitle(), DEBUG, ilLMObjectFactory\getInstance(), offlineMode(), and ilUtil\shortenText().
Referenced by executeCommand(), ilCitation(), initScreenHead(), layout(), showDownloadList(), showPrintViewSelection(), and showTableOfContents().
ilLMPresentationGUI::ilMainMenu | ( | ) |
output main menu
Definition at line 740 of file class.ilLMPresentationGUI.php.
References getCurrentPageId(), and offlineMode().
Referenced by layout().
ilLMPresentationGUI::ilMedia | ( | ) |
output media
Definition at line 2059 of file class.ilLMPresentationGUI.php.
References $_GET, $ilUser, 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
object | page node |
integer | footer/header page id |
Definition at line 1313 of file class.ilLMPresentationGUI.php.
References $_GET, $ilUser, $path, $ret, ilObjContentObject\_checkPreconditionsOfPage(), ilLMObject\_exists(), ilUserSearchCache\_getInstance(), ilLink\_getLink(), ilLMPageObject\_getPresentationTitle(), ilLMObject\_isPagePublic(), ilPageObject\_lookupActivationData(), ilLMObject\_lookupTitle(), ilObject\_lookupType(), ilLMObject\_lookupType(), ilCourseLMHistory\_updateLastAccess(), basicPageGuiInit(), ilDatePresentation\formatDate(), ilObjStyleSheet\getContentStylePath(), getCurrentPageId(), getLayoutLinkTargets(), getLinkTargetsXML(), getLinkXML(), getLMPageGUI(), getSourcecodeDownloadLink(), getSuccessorPage(), ilObjStyleSheet\getSyntaxStylePath(), getTracker(), ilTextHighlighterGUI\highlight(), IL_CAL_DATETIME, ilPage(), ilUserSearchCache\LAST_QUERY, ilUtil\now(), offlineMode(), showNavRestrictionDueToQuestions(), showNoPublicAccess(), and showPreconditionsOfPage().
Referenced by ilPage(), and layout().
ilLMPresentationGUI::ilTOC | ( | $a_get_explorer = false | ) |
table of contents
Definition at line 769 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 2776 of file class.ilLMPresentationGUI.php.
References outputInfoScreen().
ilLMPresentationGUI::initPrintViewSelectionForm | ( | ) |
Init print view selection form.
Definition at line 3076 of file class.ilLMPresentationGUI.php.
Referenced by showPrintViewSelection().
|
protected |
Definition at line 2791 of file class.ilLMPresentationGUI.php.
References $_GET, $ilUser, ilUtil\getImagePath(), 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 354 of file class.ilLMPresentationGUI.php.
References $_GET, $_SESSION, $GLOBALS, $ilCtrl, $ilSetting, $ilUser, $path, $result, $tpl, ilAccordionGUI\addCss(), ilAccordionGUI\addJavaScript(), attrib2arr(), buildTag(), ilGlyphGUI\CLOSE, determineLayout(), domxml_open_mem(), exit, ilUtil\getStyleSheetLocation(), ilObjContentObject\getSupplyingExportFiles(), 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(), and media().
ilLMPresentationGUI::media | ( | ) |
Definition at line 688 of file class.ilLMPresentationGUI.php.
References $_GET, layout(), and offlineMode().
ilLMPresentationGUI::nop | ( | ) |
this dummy function is needed for offline package creation
Definition at line 253 of file class.ilLMPresentationGUI.php.
ilLMPresentationGUI::offlineMode | ( | ) |
checks wether offline content generation is activated
Definition at line 225 of file class.ilLMPresentationGUI.php.
References $offline.
Referenced by basicPageGuiInit(), fullscreen(), getCurrentPageId(), getLink(), getLinkXML(), 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 2830 of file class.ilLMPresentationGUI.php.
References $_GET, 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, attrib2arr(), buildTag(), getLink(), and processNodes().
Referenced by layout(), and processNodes().
ilLMPresentationGUI::redrawHeaderAction | ( | ) |
Redraw header action.
Definition at line 937 of file class.ilLMPresentationGUI.php.
References addHeaderAction(), and exit.
ilLMPresentationGUI::refreshToc | ( | ) |
Refresh toc (called if questions have been answered correctly)
Definition at line 4279 of file class.ilLMPresentationGUI.php.
|
protected |
Definition at line 4236 of file class.ilLMPresentationGUI.php.
Referenced by glossary(), ilMedia(), initScreenHead(), layout(), showDownloadList(), showPrintView(), showPrintViewSelection(), and showTableOfContents().
ilLMPresentationGUI::saveFrameUrl | ( | ) |
Save frame url.
return
Definition at line 668 of file class.ilLMPresentationGUI.php.
References $_GET.
ilLMPresentationGUI::setExportFormat | ( | $a_format | ) |
set export format
string | $a_format | "html" / "scorm" |
Definition at line 235 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 4202 of file class.ilLMPresentationGUI.php.
ilLMPresentationGUI::setOfflineMode | ( | $a_offline = true | ) |
set offline mode (content is generated for offline package)
Definition at line 216 of file class.ilLMPresentationGUI.php.
ilLMPresentationGUI::showDownloadList | ( | ) |
show download list
Definition at line 3747 of file class.ilLMPresentationGUI.php.
References $_GET, $size, ilMDUtils\_parseCopyright(), ilDatePresentation\formatDate(), ilFormat\formatSize(), ilObjStyleSheet\getContentStylePath(), ilUtil\getImagePath(), ilUtil\getStyleSheetLocation(), IL_CAL_UNIX, ilLocator(), offlineMode(), renderPageTitle(), ilUtil\sendInfo(), ilDatePresentation\setUseRelativeDates(), and ilUtil\switchColor().
ilLMPresentationGUI::showInfoScreen | ( | ) |
info screen call from inside learning module
Definition at line 2786 of file class.ilLMPresentationGUI.php.
References outputInfoScreen().
ilLMPresentationGUI::showMessageScreen | ( | $a_content | ) |
Show message screen.
return
Definition at line 4141 of file class.ilLMPresentationGUI.php.
References $tpl, ilObjStyleSheet\getContentStylePath(), and offlineMode().
Referenced by showNavRestrictionDueToQuestions(), and showNoPublicAccess().
ilLMPresentationGUI::showNavRestrictionDueToQuestions | ( | ) |
Show message if navigation to page is not allowed due to unanswered questions.
Definition at line 4175 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 4166 of file class.ilLMPresentationGUI.php.
References showMessageScreen().
Referenced by ilPage().
ilLMPresentationGUI::showPreconditionsOfPage | ( | ) |
show preconditions of the page
Definition at line 1724 of file class.ilLMPresentationGUI.php.
References $_GET, ilObjContentObject\_getMissingPreconditionsOfPage(), ilObjContentObject\_getMissingPreconditionsTopChapter(), ilObject\_lookupTitle(), ilLMObject\_lookupTitle(), ilRepositoryExplorer\buildFrameTarget(), ilRepositoryExplorer\buildLinkTarget(), ilObjStyleSheet\getContentStylePath(), getCurrentPageId(), getLink(), and offlineMode().
Referenced by ilPage().
ilLMPresentationGUI::showPrintView | ( | ) |
show print view
Definition at line 3112 of file class.ilLMPresentationGUI.php.
References $_GET, $_POST, $ilCtrl, $ilUser, $lng, $path, $t, ilObjContentObject\_checkPreconditionsOfPage(), ilLMObject\_exists(), ilLMPageObject\_getPresentationTitle(), ilStructureObject\_getPresentationTitle(), ilInternalLink\_getTargetsOfSource(), ilLMObject\_isPagePublic(), ilGlossaryTerm\_lookGlossaryTerm(), ilPageObject\_lookupActive(), ilLMObject\_lookupType(), ilMDUtils\_parseCopyright(), ilObjStyleSheet\getContentPrintStyle(), ilObjStyleSheet\getContentStylePath(), getCurrentPageId(), ilGlossaryDefinition\getDefinitionList(), ilObjStyleSheet\getEffectiveContentStyleId(), ilUtil\getImagePath(), getLMPageGUI(), 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 2895 of file class.ilLMPresentationGUI.php.
References $_GET, $_POST, $ilUser, $lng, ilObjContentObject\_checkPreconditionsOfPage(), ilLMPageObject\_getPresentationTitle(), ilStructureObject\_getPresentationTitle(), ilLMObject\_isPagePublic(), ilPageObject\_lookupActive(), ilObjStyleSheet\getContentStylePath(), ilUtil\getImagePath(), ilUtil\getStyleSheetLocation(), ilLocator(), initPrintViewSelectionForm(), offlineMode(), and renderPageTitle().
ilLMPresentationGUI::showTableOfContents | ( | ) |
table of contents
Definition at line 2672 of file class.ilLMPresentationGUI.php.
References $_GET, $ilUser, ilLMObject\_lookupType(), ilObjStyleSheet\getContentStylePath(), getCurrentPageId(), ilUtil\getImagePath(), ilUtil\getStyleSheetLocation(), getTracker(), ilLocator(), offlineMode(), and renderPageTitle().
ilLMPresentationGUI::updatePageRating | ( | ) |
Definition at line 1661 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 33 of file class.ilLMPresentationGUI.php.
ilLMPresentationGUI::$ilias |
Definition at line 25 of file class.ilLMPresentationGUI.php.
Referenced by executeCommand(), and ilLMPresentationGUI().
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 executeCommand(), ilLMPresentationGUI(), initPrintViewSelectionForm(), showPrintView(), and showPrintViewSelection().
|
private |
Definition at line 35 of file class.ilLMPresentationGUI.php.
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 addHeaderAction(), glossary(), ilLMPresentationGUI(), layout(), and showMessageScreen().