ILIAS
trunk Revision v11.0_alpha-1744-gb0451eebef4
|
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V. More...
Public Member Functions | |
__construct (ilLMPresentationService $service, ilLMPresentationGUI $parent_gui, ilLanguage $lng, ilCtrl $ctrl, ilAccessHandler $access, ilObjUser $user, ilHelpGUI $help, int $requested_obj_id) | |
render (int $a_head_foot_page_id=0) | |
getLMPageGUI (int $a_id) | |
handleCodeParagraph (int $page_id, int $paragraph_id, string $title, string $text) | |
renderPreconditionsOfPage () | |
Render preconditions of the page. More... | |
Data Fields | |
const | STATUS_ACCESS = 0 |
const | STATUS_NO_ACCESS = 1 |
const | STATUS_NO_PUBLIC_ACCESS = 2 |
const | STATUS_FAILED_PRECONDITIONS = 3 |
const | STATUS_CORRECT_ANSWER_MISSING = 4 |
const | STATUS_NO_PAGE_IN_CHAPTER = 5 |
const | STATUS_DEACTIVATED_PAGE = 6 |
const | STATUS_NO_PAGE_FOUND = 7 |
Protected Member Functions | |
initHelp () | |
determineStatus () | |
initSearchHighlighting () | |
renderFocusMessage () | |
renderNoPageAccess () | |
Render info message, if page is not accessible in public area. More... | |
renderMessageScreen (string $a_content) | |
Render message screen. More... | |
renderNoPublicAccess () | |
Render info message, if page is not accessible in public area. More... | |
renderNavRestrictionDueToQuestions () | |
Render message if navigation to page is not allowed due to unanswered questions. More... | |
renderNoPageInChapterMessage () | |
Render no page in chapter message. More... | |
renderNoPageFoundMessage () | |
Render no page found message. More... | |
renderDeactivatedPageMessage () | |
Protected Attributes | |
ilLMNavigationStatus | $navigation_status |
int | $requested_focus_return |
int | $requested_obj_id = 0 |
string | $search_string |
int | $focus_id |
bool | $deactivated_page |
bool | $chapter_has_no_active_page |
ilAccessHandler | $access |
ilObjUser | $user |
ilHelpGUI | $help |
int | $current_page = null |
ilObjLearningModule | $lm |
ilLanguage | $lng |
bool | $offline |
ilLMTracker | $tracker |
ilCtrl | $ctrl |
ilLMTree | $lm_tree |
ilLMPresentationGUI | $parent_gui |
ilSetting | $lm_set |
string | $lang |
ilLMPresentationLinker | $linker |
string | $requested_frame |
ilObjectTranslation | $ot |
string | $concrete_lang = "" |
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V.
ILIAS is licensed with the GPL-3.0, see https://www.gnu.org/licenses/gpl-3.0.en.html You should have received a copy of said license along with the source code, too.
If this is not the case or you just want to try ILIAS, you'll find us at: https://www.ilias.de https://github.com/ILIAS-eLearning
Definition at line 22 of file class.ilLMContentRendererGUI.php.
ilLMContentRendererGUI::__construct | ( | ilLMPresentationService | $service, |
ilLMPresentationGUI | $parent_gui, | ||
ilLanguage | $lng, | ||
ilCtrl | $ctrl, | ||
ilAccessHandler | $access, | ||
ilObjUser | $user, | ||
ilHelpGUI | $help, | ||
int | $requested_obj_id | ||
) |
Definition at line 58 of file class.ilLMContentRendererGUI.php.
References $access, $ctrl, $help, $lng, $parent_gui, $requested_obj_id, $user, ILIAS\Repository\access(), ILIAS\Repository\ctrl(), ilObjectTranslation\getInstance(), ilLMPresentationService\getLearningModule(), ilLMPresentationService\getLinker(), ilLMPresentationService\getLMTree(), ilLMPresentationService\getNavigationStatus(), ilLMPresentationService\getPresentationStatus(), ilLMPresentationService\getRequest(), ilLMPresentationService\getSettings(), ilLMPresentationService\getTracker(), ILIAS\Repository\help(), ILIAS\Repository\lng(), and ILIAS\Repository\user().
|
protected |
Definition at line 102 of file class.ilLMContentRendererGUI.php.
References $current_page, $user, ilObjContentObject\_checkPreconditionsOfPage(), ilLMObject\_lookupType(), and ilPageObject\lookupParentId().
Referenced by render().
ilLMContentRendererGUI::getLMPageGUI | ( | int | $a_id | ) |
Definition at line 288 of file class.ilLMContentRendererGUI.php.
References $concrete_lang, ilPageObject\_exists(), and ilPageObjectGUI\OFFLINE.
Referenced by render().
ilLMContentRendererGUI::handleCodeParagraph | ( | int | $page_id, |
int | $paragraph_id, | ||
string | $title, | ||
string | $text | ||
) |
Definition at line 305 of file class.ilLMContentRendererGUI.php.
References ilFileUtils\makeDirParents().
|
protected |
Definition at line 94 of file class.ilLMContentRendererGUI.php.
References $help, and ilHelpGUI\setScreenIdComponent().
Referenced by render().
|
protected |
Definition at line 144 of file class.ilLMContentRendererGUI.php.
References $user, ilUserSearchCache\_getInstance(), ilObject\getId(), and ilUserSearchCache\LAST_QUERY.
Referenced by render().
ilLMContentRendererGUI::render | ( | int | $a_head_foot_page_id = 0 | ) |
Definition at line 170 of file class.ilLMContentRendererGUI.php.
References $current_page, $lang, $user, ilLMObject\_exists(), ilLMPageObject\_getPresentationTitle(), ilCourseLMHistory\_updateLastAccess(), determineStatus(), getLMPageGUI(), initHelp(), initSearchHighlighting(), renderDeactivatedPageMessage(), renderFocusMessage(), renderNavRestrictionDueToQuestions(), renderNoPageAccess(), renderNoPageFoundMessage(), renderNoPageInChapterMessage(), renderNoPublicAccess(), and renderPreconditionsOfPage().
|
protected |
Definition at line 457 of file class.ilLMContentRendererGUI.php.
References ilPageObject\_lookupActivationData(), ilLMObject\_lookupTitle(), ilDatePresentation\formatDate(), IL_CAL_DATETIME, ILIAS\Repository\lng(), and ilUtil\now().
Referenced by render().
|
protected |
Definition at line 323 of file class.ilLMContentRendererGUI.php.
References $path, ilObject\_lookupType(), ILIAS\Repository\ctrl(), ILIAS\Repository\lng(), and null.
Referenced by render().
|
protected |
Render message screen.
Definition at line 404 of file class.ilLMContentRendererGUI.php.
Referenced by renderNavRestrictionDueToQuestions(), renderNoPageAccess(), renderNoPageFoundMessage(), and renderNoPublicAccess().
|
protected |
Render message if navigation to page is not allowed due to unanswered questions.
Definition at line 425 of file class.ilLMContentRendererGUI.php.
References ILIAS\Repository\lng(), and renderMessageScreen().
Referenced by render().
|
protected |
Render info message, if page is not accessible in public area.
Definition at line 396 of file class.ilLMContentRendererGUI.php.
References ILIAS\Repository\lng(), and renderMessageScreen().
Referenced by render().
|
protected |
Render no page found message.
Definition at line 452 of file class.ilLMContentRendererGUI.php.
References ILIAS\Repository\lng(), and renderMessageScreen().
Referenced by render().
|
protected |
Render no page in chapter message.
Definition at line 433 of file class.ilLMContentRendererGUI.php.
References ilLMObject\_lookupTitle(), and ILIAS\Repository\lng().
Referenced by render().
|
protected |
Render info message, if page is not accessible in public area.
Definition at line 416 of file class.ilLMContentRendererGUI.php.
References ILIAS\Repository\lng(), and renderMessageScreen().
Referenced by render().
ilLMContentRendererGUI::renderPreconditionsOfPage | ( | ) |
Render preconditions of the page.
Definition at line 489 of file class.ilLMContentRendererGUI.php.
References $current_page, ilObjContentObject\_getMissingPreconditionsOfPage(), ilObjContentObject\_getMissingPreconditionsTopChapter(), ilLMObject\_lookupTitle(), ilObject\_lookupTitle(), and ILIAS\Repository\lng().
Referenced by render().
|
protected |
Definition at line 40 of file class.ilLMContentRendererGUI.php.
Referenced by __construct().
|
protected |
Definition at line 39 of file class.ilLMContentRendererGUI.php.
|
protected |
Definition at line 56 of file class.ilLMContentRendererGUI.php.
Referenced by getLMPageGUI().
|
protected |
Definition at line 48 of file class.ilLMContentRendererGUI.php.
Referenced by __construct().
|
protected |
Definition at line 43 of file class.ilLMContentRendererGUI.php.
Referenced by determineStatus(), render(), and renderPreconditionsOfPage().
|
protected |
Definition at line 38 of file class.ilLMContentRendererGUI.php.
|
protected |
Definition at line 37 of file class.ilLMContentRendererGUI.php.
|
protected |
Definition at line 42 of file class.ilLMContentRendererGUI.php.
Referenced by __construct(), and initHelp().
|
protected |
Definition at line 52 of file class.ilLMContentRendererGUI.php.
Referenced by render().
|
protected |
Definition at line 53 of file class.ilLMContentRendererGUI.php.
|
protected |
Definition at line 44 of file class.ilLMContentRendererGUI.php.
|
protected |
Definition at line 51 of file class.ilLMContentRendererGUI.php.
|
protected |
Definition at line 49 of file class.ilLMContentRendererGUI.php.
|
protected |
Definition at line 45 of file class.ilLMContentRendererGUI.php.
Referenced by __construct().
|
protected |
Definition at line 32 of file class.ilLMContentRendererGUI.php.
|
protected |
Definition at line 46 of file class.ilLMContentRendererGUI.php.
|
protected |
Definition at line 55 of file class.ilLMContentRendererGUI.php.
|
protected |
Definition at line 50 of file class.ilLMContentRendererGUI.php.
Referenced by __construct().
|
protected |
Definition at line 34 of file class.ilLMContentRendererGUI.php.
|
protected |
Definition at line 54 of file class.ilLMContentRendererGUI.php.
|
protected |
Definition at line 35 of file class.ilLMContentRendererGUI.php.
Referenced by __construct().
|
protected |
Definition at line 36 of file class.ilLMContentRendererGUI.php.
|
protected |
Definition at line 47 of file class.ilLMContentRendererGUI.php.
|
protected |
Definition at line 41 of file class.ilLMContentRendererGUI.php.
Referenced by __construct(), determineStatus(), initSearchHighlighting(), and render().
const ilLMContentRendererGUI::STATUS_ACCESS = 0 |
Definition at line 24 of file class.ilLMContentRendererGUI.php.
const ilLMContentRendererGUI::STATUS_CORRECT_ANSWER_MISSING = 4 |
Definition at line 28 of file class.ilLMContentRendererGUI.php.
const ilLMContentRendererGUI::STATUS_DEACTIVATED_PAGE = 6 |
Definition at line 30 of file class.ilLMContentRendererGUI.php.
const ilLMContentRendererGUI::STATUS_FAILED_PRECONDITIONS = 3 |
Definition at line 27 of file class.ilLMContentRendererGUI.php.
const ilLMContentRendererGUI::STATUS_NO_ACCESS = 1 |
Definition at line 25 of file class.ilLMContentRendererGUI.php.
const ilLMContentRendererGUI::STATUS_NO_PAGE_FOUND = 7 |
Definition at line 31 of file class.ilLMContentRendererGUI.php.
const ilLMContentRendererGUI::STATUS_NO_PAGE_IN_CHAPTER = 5 |
Definition at line 29 of file class.ilLMContentRendererGUI.php.
const ilLMContentRendererGUI::STATUS_NO_PUBLIC_ACCESS = 2 |
Definition at line 26 of file class.ilLMContentRendererGUI.php.