|
ILIAS
release_9 Revision v9.13-25-g2c18ec4c24f
|
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V. More...
Collaboration diagram for ilLMContentRendererGUI: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().
Here is the call graph for this function:
|
protected |
Definition at line 102 of file class.ilLMContentRendererGUI.php.
References $current_page, $user, ilObjContentObject\_checkPreconditionsOfPage(), ilLMObject\_isPagePublic(), ilLMObject\_lookupType(), ANONYMOUS_USER_ID, ilObject\getId(), and ilPageObject\lookupParentId().
Referenced by render().
Here is the call graph for this function:
Here is the caller graph for this function:| ilLMContentRendererGUI::getLMPageGUI | ( | int | $a_id | ) |
Definition at line 298 of file class.ilLMContentRendererGUI.php.
References $concrete_lang, ilPageObject\_exists(), and ilPageObjectGUI\OFFLINE.
Referenced by render().
Here is the call graph for this function:
Here is the caller graph for this function:| ilLMContentRendererGUI::handleCodeParagraph | ( | int | $page_id, |
| int | $paragraph_id, | ||
| string | $title, | ||
| string | $text | ||
| ) |
Definition at line 315 of file class.ilLMContentRendererGUI.php.
References ilFileUtils\makeDirParents().
Here is the call graph for this function:
|
protected |
Definition at line 94 of file class.ilLMContentRendererGUI.php.
References $help, and ilHelpGUI\setScreenIdComponent().
Referenced by render().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 154 of file class.ilLMContentRendererGUI.php.
References $user, ilUserSearchCache\_getInstance(), ilObject\getId(), and ilUserSearchCache\LAST_QUERY.
Referenced by render().
Here is the call graph for this function:
Here is the caller graph for this function:| ilLMContentRendererGUI::render | ( | int | $a_head_foot_page_id = 0 | ) |
Definition at line 180 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().
Here is the call graph for this function:
|
protected |
Definition at line 467 of file class.ilLMContentRendererGUI.php.
References ilPageObject\_lookupActivationData(), ilLMObject\_lookupTitle(), ilDatePresentation\formatDate(), IL_CAL_DATETIME, ILIAS\Repository\lng(), and ilUtil\now().
Referenced by render().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 333 of file class.ilLMContentRendererGUI.php.
References $path, ilObject\_lookupType(), ILIAS\Repository\ctrl(), and ILIAS\Repository\lng().
Referenced by render().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Render message screen.
Definition at line 414 of file class.ilLMContentRendererGUI.php.
Referenced by renderNavRestrictionDueToQuestions(), renderNoPageAccess(), renderNoPageFoundMessage(), and renderNoPublicAccess().
Here is the caller graph for this function:
|
protected |
Render message if navigation to page is not allowed due to unanswered questions.
Definition at line 435 of file class.ilLMContentRendererGUI.php.
References ILIAS\Repository\lng(), and renderMessageScreen().
Referenced by render().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Render info message, if page is not accessible in public area.
Definition at line 406 of file class.ilLMContentRendererGUI.php.
References ILIAS\Repository\lng(), and renderMessageScreen().
Referenced by render().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Render no page found message.
Definition at line 462 of file class.ilLMContentRendererGUI.php.
References ILIAS\Repository\lng(), and renderMessageScreen().
Referenced by render().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Render no page in chapter message.
Definition at line 443 of file class.ilLMContentRendererGUI.php.
References ilLMObject\_lookupTitle(), and ILIAS\Repository\lng().
Referenced by render().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Render info message, if page is not accessible in public area.
Definition at line 426 of file class.ilLMContentRendererGUI.php.
References ILIAS\Repository\lng(), and renderMessageScreen().
Referenced by render().
Here is the call graph for this function:
Here is the caller graph for this function:| ilLMContentRendererGUI::renderPreconditionsOfPage | ( | ) |
Render preconditions of the page.
Definition at line 499 of file class.ilLMContentRendererGUI.php.
References $current_page, ilObjContentObject\_getMissingPreconditionsOfPage(), ilObjContentObject\_getMissingPreconditionsTopChapter(), ilLMObject\_lookupTitle(), ilObject\_lookupTitle(), and ILIAS\Repository\lng().
Referenced by render().
Here is the call graph for this function:
Here is the caller graph for this function:
|
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.