ILIAS
trunk Revision v11.0_alpha-3011-gc6b235a2e85
|
Public Member Functions | |
__construct (ilLMPresentationService $service, ilLMPresentationGUI $parent_gui, ilLanguage $lng, Translations $translation, 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 |
Translations | $ot |
string | $concrete_lang = "" |
Definition at line 24 of file class.ilLMContentRendererGUI.php.
ilLMContentRendererGUI::__construct | ( | ilLMPresentationService | $service, |
ilLMPresentationGUI | $parent_gui, | ||
ilLanguage | $lng, | ||
Translations | $translation, | ||
ilCtrl | $ctrl, | ||
ilAccessHandler | $access, | ||
ilObjUser | $user, | ||
ilHelpGUI | $help, | ||
int | $requested_obj_id | ||
) |
Definition at line 60 of file class.ilLMContentRendererGUI.php.
References $access, $ctrl, $help, $lng, $parent_gui, $requested_obj_id, $service, $user, ILIAS\Repository\access(), ILIAS\Repository\ctrl(), ILIAS\Repository\help(), ILIAS\Repository\lng(), and ILIAS\Repository\user().
|
protected |
Definition at line 105 of file class.ilLMContentRendererGUI.php.
References $user, ilObjContentObject\_checkPreconditionsOfPage(), ilLMObject\_lookupType(), ilPageObject\lookupParentId(), STATUS_ACCESS, STATUS_CORRECT_ANSWER_MISSING, STATUS_DEACTIVATED_PAGE, STATUS_FAILED_PRECONDITIONS, STATUS_NO_ACCESS, STATUS_NO_PAGE_FOUND, and STATUS_NO_PAGE_IN_CHAPTER.
ilLMContentRendererGUI::getLMPageGUI | ( | int | $a_id | ) |
Definition at line 292 of file class.ilLMContentRendererGUI.php.
References ilPageObject\_exists(), and ilPageObjectGUI\OFFLINE.
ilLMContentRendererGUI::handleCodeParagraph | ( | int | $page_id, |
int | $paragraph_id, | ||
string | $title, | ||
string | $text | ||
) |
Definition at line 309 of file class.ilLMContentRendererGUI.php.
|
protected |
Definition at line 97 of file class.ilLMContentRendererGUI.php.
References $help, and ilHelpGUI\setScreenIdComponent().
|
protected |
Definition at line 148 of file class.ilLMContentRendererGUI.php.
References $search_string, $user, ilUserSearchCache\_getInstance(), ilObject\getId(), and ilUserSearchCache\LAST_QUERY.
ilLMContentRendererGUI::render | ( | int | $a_head_foot_page_id = 0 | ) |
Definition at line 174 of file class.ilLMContentRendererGUI.php.
|
protected |
Definition at line 461 of file class.ilLMContentRendererGUI.php.
References ilPageObject\_lookupActivationData(), ilLMObject\_lookupTitle(), ilDatePresentation\formatDate(), IL_CAL_DATETIME, ILIAS\Repository\lng(), and ilUtil\now().
|
protected |
Definition at line 327 of file class.ilLMContentRendererGUI.php.
References $path, ilObject\_lookupType(), ILIAS\Repository\ctrl(), and ILIAS\Repository\lng().
|
protected |
Render message screen.
Definition at line 408 of file class.ilLMContentRendererGUI.php.
|
protected |
Render message if navigation to page is not allowed due to unanswered questions.
Definition at line 429 of file class.ilLMContentRendererGUI.php.
References ILIAS\Repository\lng().
|
protected |
Render info message, if page is not accessible in public area.
Definition at line 400 of file class.ilLMContentRendererGUI.php.
References ILIAS\Repository\lng().
|
protected |
Render no page found message.
Definition at line 456 of file class.ilLMContentRendererGUI.php.
References ILIAS\Repository\lng().
|
protected |
Render no page in chapter message.
Definition at line 437 of file class.ilLMContentRendererGUI.php.
References ilLMObject\_lookupTitle(), and ILIAS\Repository\lng().
|
protected |
Render info message, if page is not accessible in public area.
Definition at line 420 of file class.ilLMContentRendererGUI.php.
References ILIAS\Repository\lng().
ilLMContentRendererGUI::renderPreconditionsOfPage | ( | ) |
Render preconditions of the page.
Definition at line 493 of file class.ilLMContentRendererGUI.php.
References ilObjContentObject\_getMissingPreconditionsOfPage(), ilObjContentObject\_getMissingPreconditionsTopChapter(), ilLMObject\_lookupTitle(), ilObject\_lookupTitle(), and ILIAS\Repository\lng().
|
protected |
Definition at line 42 of file class.ilLMContentRendererGUI.php.
Referenced by __construct().
|
protected |
Definition at line 41 of file class.ilLMContentRendererGUI.php.
|
protected |
Definition at line 58 of file class.ilLMContentRendererGUI.php.
|
protected |
Definition at line 50 of file class.ilLMContentRendererGUI.php.
Referenced by __construct().
|
protected |
Definition at line 45 of file class.ilLMContentRendererGUI.php.
|
protected |
Definition at line 40 of file class.ilLMContentRendererGUI.php.
|
protected |
Definition at line 39 of file class.ilLMContentRendererGUI.php.
|
protected |
Definition at line 44 of file class.ilLMContentRendererGUI.php.
Referenced by __construct(), and initHelp().
|
protected |
Definition at line 54 of file class.ilLMContentRendererGUI.php.
|
protected |
Definition at line 55 of file class.ilLMContentRendererGUI.php.
|
protected |
Definition at line 46 of file class.ilLMContentRendererGUI.php.
|
protected |
Definition at line 53 of file class.ilLMContentRendererGUI.php.
|
protected |
Definition at line 51 of file class.ilLMContentRendererGUI.php.
|
protected |
Definition at line 47 of file class.ilLMContentRendererGUI.php.
Referenced by __construct().
|
protected |
Definition at line 34 of file class.ilLMContentRendererGUI.php.
|
protected |
Definition at line 48 of file class.ilLMContentRendererGUI.php.
|
protected |
Definition at line 57 of file class.ilLMContentRendererGUI.php.
|
protected |
Definition at line 52 of file class.ilLMContentRendererGUI.php.
Referenced by __construct().
|
protected |
Definition at line 36 of file class.ilLMContentRendererGUI.php.
|
protected |
Definition at line 56 of file class.ilLMContentRendererGUI.php.
|
protected |
Definition at line 37 of file class.ilLMContentRendererGUI.php.
Referenced by __construct().
|
protected |
Definition at line 38 of file class.ilLMContentRendererGUI.php.
Referenced by initSearchHighlighting().
|
protected |
Definition at line 49 of file class.ilLMContentRendererGUI.php.
|
protected |
Definition at line 43 of file class.ilLMContentRendererGUI.php.
Referenced by __construct(), determineStatus(), and initSearchHighlighting().
const ilLMContentRendererGUI::STATUS_ACCESS = 0 |
Definition at line 26 of file class.ilLMContentRendererGUI.php.
Referenced by determineStatus().
const ilLMContentRendererGUI::STATUS_CORRECT_ANSWER_MISSING = 4 |
Definition at line 30 of file class.ilLMContentRendererGUI.php.
Referenced by determineStatus().
const ilLMContentRendererGUI::STATUS_DEACTIVATED_PAGE = 6 |
Definition at line 32 of file class.ilLMContentRendererGUI.php.
Referenced by determineStatus().
const ilLMContentRendererGUI::STATUS_FAILED_PRECONDITIONS = 3 |
Definition at line 29 of file class.ilLMContentRendererGUI.php.
Referenced by determineStatus().
const ilLMContentRendererGUI::STATUS_NO_ACCESS = 1 |
Definition at line 27 of file class.ilLMContentRendererGUI.php.
Referenced by determineStatus().
const ilLMContentRendererGUI::STATUS_NO_PAGE_FOUND = 7 |
Definition at line 33 of file class.ilLMContentRendererGUI.php.
Referenced by determineStatus().
const ilLMContentRendererGUI::STATUS_NO_PAGE_IN_CHAPTER = 5 |
Definition at line 31 of file class.ilLMContentRendererGUI.php.
Referenced by determineStatus().
const ilLMContentRendererGUI::STATUS_NO_PUBLIC_ACCESS = 2 |
Definition at line 28 of file class.ilLMContentRendererGUI.php.