|
ILIAS
release_7 Revision v7.30-3-g800a261c036
|
Checks current navigation request status. More...
Collaboration diagram for ilLMNavigationStatus:Public Member Functions | |
| __construct (ilObjUser $user, int $request_obj_id, ilLMTree $lm_tree, ilObjLearningModule $lm, ilSetting $lm_set, $requested_back_page, string $cmd, int $focus_id) | |
| Constructor. More... | |
| isChapterWithoutActivePage () | |
| Has current chapter no avtive page? More... | |
| isDeactivatedPage () | |
| Has current chapter no avtive page? More... | |
| getCurrentPage () | |
| Has current chapter no avtive page? More... | |
| getBackPageId () | |
| Get back link page id. More... | |
| getSuccessorPageId () | |
| getPredecessorPageId () | |
| Get predecessor page id. More... | |
Protected Member Functions | |
| determineStatus () | |
| Determine status. More... | |
Protected Attributes | |
| $current_page_id = null | |
| $chapter_has_no_active_page = false | |
| $deactivated_page = false | |
| $lm | |
| $lm_tree | |
| $user | |
| $lm_set | |
| $requested_back_page | |
| $cmd | |
| $focus_id | |
| $requested_obj_id | |
Checks current navigation request status.
Definition at line 13 of file class.ilLMNavigationStatus.php.
| ilLMNavigationStatus::__construct | ( | ilObjUser | $user, |
| int | $request_obj_id, | ||
| ilLMTree | $lm_tree, | ||
| ilObjLearningModule | $lm, | ||
| ilSetting | $lm_set, | ||
| $requested_back_page, | |||
| string | $cmd, | ||
| int | $focus_id | ||
| ) |
Constructor.
| ilObjUser | $user | |
| $request_obj_id | ||
| ilLMTree | $lm_tree | |
| ilObjLearningModule | $lm | |
| ilSetting | $lm_set | |
| string | $cmd | |
| int | $focus_id |
Definition at line 81 of file class.ilLMNavigationStatus.php.
References $cmd, $focus_id, $lm, $lm_set, $lm_tree, $requested_back_page, $user, determineStatus(), and user().
Here is the call graph for this function:
|
protected |
Determine status.
Definition at line 137 of file class.ilLMNavigationStatus.php.
References $requested_obj_id, $user, ilObjContentObjectAccess\_getLastAccessedPage(), ilLMObject\_isPagePublic(), ilPageObject\_lookupActive(), ilLMObject\_lookupContObjID(), ilLMObject\_lookupType(), and ANONYMOUS_USER_ID.
Referenced by __construct().
Here is the call graph for this function:
Here is the caller graph for this function:| ilLMNavigationStatus::getBackPageId | ( | ) |
Get back link page id.
Definition at line 242 of file class.ilLMNavigationStatus.php.
References $current_page_id, and $requested_back_page.
| ilLMNavigationStatus::getCurrentPage | ( | ) |
Has current chapter no avtive page?
Definition at line 128 of file class.ilLMNavigationStatus.php.
References $current_page_id.
| ilLMNavigationStatus::getPredecessorPageId | ( | ) |
Get predecessor page id.
Definition at line 322 of file class.ilLMNavigationStatus.php.
References $current_page_id, $requested_obj_id, ilLMObject\_isPagePublic(), ilPageObject\_lookupActivationData(), ilPageObject\_lookupActive(), ANONYMOUS_USER_ID, ilUtil\now(), and user().
Here is the call graph for this function:| ilLMNavigationStatus::getSuccessorPageId | ( | ) |
Definition at line 262 of file class.ilLMNavigationStatus.php.
References $current_page_id, $requested_obj_id, ilLMObject\_isPagePublic(), ilPageObject\_lookupActivationData(), ilPageObject\_lookupActive(), ilLMObject\_lookupType(), ANONYMOUS_USER_ID, ilUtil\now(), and user().
Here is the call graph for this function:| ilLMNavigationStatus::isChapterWithoutActivePage | ( | ) |
Has current chapter no avtive page?
Definition at line 108 of file class.ilLMNavigationStatus.php.
References $chapter_has_no_active_page.
| ilLMNavigationStatus::isDeactivatedPage | ( | ) |
Has current chapter no avtive page?
Definition at line 118 of file class.ilLMNavigationStatus.php.
References $deactivated_page.
|
protected |
Definition at line 24 of file class.ilLMNavigationStatus.php.
Referenced by isChapterWithoutActivePage().
|
protected |
Definition at line 59 of file class.ilLMNavigationStatus.php.
Referenced by __construct().
|
protected |
Definition at line 19 of file class.ilLMNavigationStatus.php.
Referenced by getBackPageId(), getCurrentPage(), getPredecessorPageId(), and getSuccessorPageId().
|
protected |
Definition at line 29 of file class.ilLMNavigationStatus.php.
Referenced by isDeactivatedPage().
|
protected |
Definition at line 64 of file class.ilLMNavigationStatus.php.
Referenced by __construct().
|
protected |
Definition at line 34 of file class.ilLMNavigationStatus.php.
Referenced by __construct().
|
protected |
Definition at line 49 of file class.ilLMNavigationStatus.php.
Referenced by __construct().
|
protected |
Definition at line 39 of file class.ilLMNavigationStatus.php.
Referenced by __construct().
|
protected |
Definition at line 54 of file class.ilLMNavigationStatus.php.
Referenced by __construct(), and getBackPageId().
|
protected |
Definition at line 69 of file class.ilLMNavigationStatus.php.
Referenced by determineStatus(), getPredecessorPageId(), and getSuccessorPageId().
|
protected |
Definition at line 44 of file class.ilLMNavigationStatus.php.
Referenced by __construct(), and determineStatus().