ILIAS
Release_5_0_x_branch Revision 61816
|
Class ilLMPresentationGUI. More...
Public Member Functions | |
ilLMPresentationGUI () | |
executeCommand () | |
execute command | |
setOfflineMode ($a_offline=true) | |
set offline mode (content is generated for offline package) | |
offlineMode () | |
checks wether offline content generation is activated | |
setExportFormat ($a_format) | |
set export format | |
getExportFormat () | |
get export format | |
nop () | |
this dummy function is needed for offline package creation | |
export () | |
calls export of digilib-object at this point other lm-objects can be exported | |
getTracker () | |
Get tracker. | |
attrib2arr ($a_attributes) | |
getCurrentFrameSet () | |
get frames of current frame set | |
determineLayout () | |
Determine layout. | |
layout ($a_xml="main.xml", $doShow=true) | |
generates frame layout | |
saveFrameUrl () | |
Save frame url. | |
fullscreen () | |
media () | |
glossary () | |
ilMainMenu () | |
output main menu | |
ilTOC ($a_get_explorer=false) | |
table of contents | |
ilLMMenu () | |
output learning module menu | |
ilLMHead () | |
output lm header | |
ilLMSubMenu () | |
output learning module submenu | |
redrawHeaderAction () | |
Redraw header action. | |
addHeaderAction ($a_redraw=false) | |
Add header action. | |
ilLMNotes () | |
output notes of page | |
ilLocator () | |
locator | |
getCurrentPageId () | |
Get the current page id. | |
ilCitation () | |
getLayoutLinkTargets () | |
ilPage (&$a_page_node, $a_page_id=0) | |
process <ilPage> content tag | |
updatePageRating () | |
basicPageGuiInit ($a_page_gui) | |
Basic page gui initialisation. | |
showPreconditionsOfPage () | |
show preconditions of the page | |
getLinkXML ($a_int_links, $a_layoutframes) | |
get xml for links | |
getLinkTargetsXML () | |
Get XMl for Link Targets. | |
ilGlossary () | |
show glossary term | |
ilMedia () | |
output media | |
ilJavaScript ($a_inline="", $a_file="", $a_location="") | |
Puts JS into template. | |
getSuccessorPage () | |
Get successor page. | |
ilLMNavigation () | |
inserts sequential learning module navigation at template variable LMNAVIGATION_CONTENT | |
processNodes (&$a_content, &$a_node) | |
buildTag ($type, $name, $attr="") | |
generate a tag with given name and attributes | |
showTableOfContents () | |
table of contents | |
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 | |
showInfoScreen () | |
info screen call from inside learning module | |
outputInfoScreen ($a_standard_locator=false) | |
info screen | |
showPrintViewSelection () | |
show selection screen for print view | |
initPrintViewSelectionForm () | |
Init print view selection form. | |
showPrintView () | |
show print view | |
downloadFile () | |
download file of file lists | |
download_paragraph () | |
download source code paragraph | |
showDownloadList () | |
show download list | |
downloadExportFile () | |
send download file (xml/html) | |
getFocusLink ($a_ref_id, $a_obj_id, $a_return_ref_id) | |
Get focused link (used in learning objectives courses) | |
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 | |
showMessageScreen ($a_content) | |
Show message screen. | |
showNoPublicAccess () | |
Show info message, if page is not accessible in public area. | |
showNavRestrictionDueToQuestions () | |
Show message if navigation to page is not allowed due to unanswered questions. | |
getSourcecodeDownloadLink () | |
setOfflineDirectory ($offdir) | |
set offline directory to offdir | |
getOfflineDirectory () | |
get offline directory | |
handleCodeParagraph ($page_id, $paragraph_id, $title, $text) | |
store paragraph into file directory files/codefile_$pg_id_$paragraph_id/downloadtitle | |
getLMPageGUI ($a_id) | |
Get lm page gui object. | |
getLMPage ($a_id) | |
Get lm page object. | |
refreshToc () | |
Refresh toc (called if questions have been answered correctly) |
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
ilLMPresentationGUI: ilNoteGUI, ilInfoScreenGUI, ilShopPurchaseGUI ilLMPresentationGUI: ilLMPageGUI, ilGlossaryDefPageGUI, ilCommonActionDispatcherGUI ilLMPresentationGUI: ilLearningProgressGUI, ilAssGenFeedbackPageGUI ilLMPresentationGUI: ilRatingGUI
Definition at line 23 of file class.ilLMPresentationGUI.php.
ilLMPresentationGUI::addHeaderAction | ( | $a_redraw = false | ) |
Add header action.
Definition at line 945 of file class.ilLMPresentationGUI.php.
References $_GET, $tpl, getCurrentPageId(), ilCommonActionDispatcherGUI\setSubObject(), 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 1700 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 2642 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 3715 of file class.ilLMPresentationGUI.php.
References $_GET, and getLMPage().
ilLMPresentationGUI::downloadExportFile | ( | ) |
send download file (xml/html)
Definition at line 3894 of file class.ilLMPresentationGUI.php.
References $_GET, $file, ilUtil\deliverFile(), and exit.
ilLMPresentationGUI::downloadFile | ( | ) |
download file of file lists
Definition at line 3702 of file class.ilLMPresentationGUI.php.
ilLMPresentationGUI::executeCommand | ( | ) |
execute command
Definition at line 112 of file class.ilLMPresentationGUI.php.
References $_GET, $_POST, $cmd, $ilCtrl, $ilias, $ilUser, $lng, $needs_to_be_purchased, $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 682 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 1172 of file class.ilLMPresentationGUI.php.
References $_GET, $current_page_id, $ilUser, $needs_to_be_purchased, $path, ilLMObject\_isPagePublic(), ilPageObject\_lookupActive(), ilLMObject\_lookupType(), and offlineMode().
Referenced by addHeaderAction(), determineLayout(), getLink(), getSuccessorPage(), getTracker(), ilCitation(), ilLMMenu(), 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(), 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 3922 of file class.ilLMPresentationGUI.php.
ilLMPresentationGUI::getLayoutLinkTargets | ( | ) |
Definition at line 1284 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 3932 of file class.ilLMPresentationGUI.php.
References $_GET, $ilCtrl, 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 1984 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 1810 of file class.ilLMPresentationGUI.php.
References $_GET, $ilCtrl, $target_arr, $target_id, ilFrameTargetInfo\_getFrame(), ilLMObject\_lookupContObjID(), ilObject\_lookupObjId(), ilObject\_lookupType(), getExportFormat(), ilWikiPage\getGotoForWikiPageTarget(), getLink(), and offlineMode().
Referenced by ilGlossary(), ilMedia(), and ilPage().
ilLMPresentationGUI::getLMPage | ( | $a_id | ) |
Get lm page object.
@return |
Definition at line 4244 of file class.ilLMPresentationGUI.php.
References ilPageObject\_exists().
Referenced by download_paragraph(), ilCitation(), and ilMedia().
ilLMPresentationGUI::getLMPageGUI | ( | $a_id | ) |
Get lm page gui object.
@return |
Definition at line 4227 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 4191 of file class.ilLMPresentationGUI.php.
References $offline_directory.
Referenced by basicPageGuiInit(), handleCodeParagraph(), and ilGlossary().
ilLMPresentationGUI::getSourcecodeDownloadLink | ( | ) |
Definition at line 4159 of file class.ilLMPresentationGUI.php.
References ilUtil\appendUrlParameterString(), and offlineMode().
Referenced by ilPage().
ilLMPresentationGUI::getSuccessorPage | ( | ) |
Get successor page.
@return |
Definition at line 2180 of file class.ilLMPresentationGUI.php.
References $_GET, $ilUser, $needs_to_be_purchased, 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 699 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 4199 of file class.ilLMPresentationGUI.php.
References $file, getOfflineDirectory(), and ilUtil\makeDirParents().
ilLMPresentationGUI::ilCitation | ( | ) |
Definition at line 1268 of file class.ilLMPresentationGUI.php.
References getCurrentPageId(), getLMPage(), and ilLocator().
ilLMPresentationGUI::ilGlossary | ( | ) |
show glossary term
Definition at line 1998 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 2164 of file class.ilLMPresentationGUI.php.
Referenced by layout().
ilLMPresentationGUI::ilLMHead | ( | ) |
output lm header
Definition at line 839 of file class.ilLMPresentationGUI.php.
References ilUtil\getImagePath(), and offlineMode().
Referenced by layout().
ilLMPresentationGUI::ilLMMenu | ( | ) |
output learning module menu
Definition at line 830 of file class.ilLMPresentationGUI.php.
References getCurrentPageId(), and getExportFormat().
Referenced by layout().
ilLMPresentationGUI::ilLMNavigation | ( | ) |
inserts sequential learning module navigation at template variable LMNAVIGATION_CONTENT
Definition at line 2258 of file class.ilLMPresentationGUI.php.
References $_GET, $ilUser, $lang, $needs_to_be_purchased, 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 984 of file class.ilLMPresentationGUI.php.
References $_GET, $ilSetting, addHeaderAction(), ilNoteGUI\enablePublicNotesDeletion(), getCurrentPageId(), and offlineMode().
Referenced by layout().
ilLMPresentationGUI::ilLMPresentationGUI | ( | ) |
Definition at line 37 of file class.ilLMPresentationGUI.php.
References $_GET, $ilCtrl, $ilias, $ilUser, $lng, $tpl, ilPaymentObject\_requiresPurchaseToAccess(), ilLMTree\getInstance(), and ilObjectTranslation\getInstance().
ilLMPresentationGUI::ilLMSubMenu | ( | ) |
output learning module submenu
Definition at line 859 of file class.ilLMPresentationGUI.php.
References $_GET, $lang, ilFrameTargetInfo\_getFrame(), ilLMPageObject\_getPresentationTitle(), getCurrentPageId(), ilPermanentLinkGUI\getTitle(), offlineMode(), and ilPermanentLinkGUI\setTitle().
Referenced by layout().
ilLMPresentationGUI::ilLocator | ( | ) |
locator
Definition at line 1061 of file class.ilLMPresentationGUI.php.
References $_GET, $ilCtrl, $lang, $path, $row, ilFrameTargetInfo\_getFrame(), ilStructureObject\_getPresentationTitle(), ilObject\_lookupObjId(), ilObject\_lookupTitle(), ilLMObjectFactory\getInstance(), getLink(), offlineMode(), and ilUtil\shortenText().
Referenced by executeCommand(), ilCitation(), initScreenHead(), layout(), showDownloadList(), showPrintViewSelection(), and showTableOfContents().
ilLMPresentationGUI::ilMainMenu | ( | ) |
output main menu
Definition at line 739 of file class.ilLMPresentationGUI.php.
References getCurrentPageId(), and offlineMode().
Referenced by layout().
ilLMPresentationGUI::ilMedia | ( | ) |
output media
Definition at line 2056 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 1312 of file class.ilLMPresentationGUI.php.
References $_GET, $ilUser, $lang, $needs_to_be_purchased, $path, $ret, ilObjContentObject\_checkPreconditionsOfPage(), ilLMObject\_exists(), 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, ilUtil\now(), offlineMode(), showNavRestrictionDueToQuestions(), showNoPublicAccess(), and showPreconditionsOfPage().
Referenced by layout().
ilLMPresentationGUI::ilTOC | ( | $a_get_explorer = false | ) |
table of contents
Definition at line 768 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 2773 of file class.ilLMPresentationGUI.php.
References outputInfoScreen().
ilLMPresentationGUI::initPrintViewSelectionForm | ( | ) |
Init print view selection form.
Definition at line 3073 of file class.ilLMPresentationGUI.php.
References $ilCtrl, $lng, and ilRadioGroupInputGUI\setValue().
Referenced by showPrintViewSelection().
|
protected |
Definition at line 2788 of file class.ilLMPresentationGUI.php.
References $_GET, $ilUser, getExportFormat(), 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 687 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 2827 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 2576 of file class.ilLMPresentationGUI.php.
References $_GET, attrib2arr(), buildTag(), and getLink().
Referenced by layout().
ilLMPresentationGUI::redrawHeaderAction | ( | ) |
Redraw header action.
Definition at line 936 of file class.ilLMPresentationGUI.php.
References addHeaderAction(), and exit.
ilLMPresentationGUI::refreshToc | ( | ) |
Refresh toc (called if questions have been answered correctly)
Definition at line 4257 of file class.ilLMPresentationGUI.php.
|
protected |
Definition at line 4214 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 667 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 4180 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 3725 of file class.ilLMPresentationGUI.php.
References $_GET, $size, ilMDUtils\_parseCopyright(), ilDatePresentation\formatDate(), ilFormat\formatSize(), ilObjStyleSheet\getContentStylePath(), getExportFormat(), 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 2783 of file class.ilLMPresentationGUI.php.
References outputInfoScreen().
ilLMPresentationGUI::showMessageScreen | ( | $a_content | ) |
Show message screen.
@return |
Definition at line 4119 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 4153 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 4144 of file class.ilLMPresentationGUI.php.
References showMessageScreen().
Referenced by ilPage().
ilLMPresentationGUI::showPreconditionsOfPage | ( | ) |
show preconditions of the page
Definition at line 1723 of file class.ilLMPresentationGUI.php.
References $_GET, ilObjContentObject\_getMissingPreconditionsOfPage(), ilObjContentObject\_getMissingPreconditionsTopChapter(), ilLMObject\_lookupTitle(), ilObject\_lookupTitle(), ilRepositoryExplorer\buildFrameTarget(), ilRepositoryExplorer\buildLinkTarget(), ilObjStyleSheet\getContentStylePath(), getCurrentPageId(), getLink(), and offlineMode().
Referenced by ilPage().
ilLMPresentationGUI::showPrintView | ( | ) |
show print view
Definition at line 3109 of file class.ilLMPresentationGUI.php.
References $_GET, $_POST, $ilCtrl, $ilUser, $lang, $lng, $needs_to_be_purchased, $path, $t, 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(), 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 2892 of file class.ilLMPresentationGUI.php.
References $_GET, $_POST, $ilUser, $lang, $lng, $needs_to_be_purchased, ilObjContentObject\_checkPreconditionsOfPage(), ilStructureObject\_getPresentationTitle(), ilLMPageObject\_getPresentationTitle(), ilLMObject\_isPagePublic(), ilPageObject\_lookupActive(), ilObjStyleSheet\getContentStylePath(), getExportFormat(), ilUtil\getImagePath(), ilUtil\getStyleSheetLocation(), ilLocator(), initPrintViewSelectionForm(), offlineMode(), and renderPageTitle().
ilLMPresentationGUI::showTableOfContents | ( | ) |
table of contents
Definition at line 2669 of file class.ilLMPresentationGUI.php.
References $_GET, $ilUser, ilLMObject\_lookupType(), ilObjStyleSheet\getContentStylePath(), getCurrentPageId(), getExportFormat(), ilUtil\getImagePath(), ilUtil\getStyleSheetLocation(), getTracker(), ilLocator(), offlineMode(), and renderPageTitle().
ilLMPresentationGUI::updatePageRating | ( | ) |
Definition at line 1660 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.
Referenced by executeCommand(), getCurrentPageId(), getSuccessorPage(), ilLMNavigation(), ilPage(), showPrintView(), and showPrintViewSelection().
ilLMPresentationGUI::$offline |
Definition at line 30 of file class.ilLMPresentationGUI.php.
Referenced by offlineMode().
ilLMPresentationGUI::$offline_directory |
Definition at line 31 of file class.ilLMPresentationGUI.php.
Referenced by getOfflineDirectory().
ilLMPresentationGUI::$tpl |
Definition at line 27 of file class.ilLMPresentationGUI.php.
Referenced by addHeaderAction(), glossary(), ilLMPresentationGUI(), layout(), and showMessageScreen().