ILIAS
trunk Revision v11.0_alpha-1749-g1a06bdef097
|
Last visited history for repository items. More...
Public Member Functions | |
__construct () | |
addItem (int $a_ref_id, string $a_link, string $a_type, string $a_title="", ?int $a_sub_obj_id=null, string $a_goto_link="") | |
Add an item to the stack. More... | |
getItems () | |
Get navigation item stack. More... | |
deleteDBEntries () | |
deleteSessionEntries () | |
Protected Attributes | |
ILIAS Repository LastVisited NavigationSessionRepository | $repo |
ilObjUser | $user |
ilDBInterface | $db |
ilTree | $tree |
ilObjectDefinition | $obj_definition |
ilComponentRepository | $component_repository |
Private Attributes | |
array | $items |
Last visited history for repository items.
Definition at line 26 of file class.ilNavigationHistory.php.
ilNavigationHistory::__construct | ( | ) |
Definition at line 36 of file class.ilNavigationHistory.php.
References $DIC, and ILIAS\Repository\user().
ilNavigationHistory::addItem | ( | int | $a_ref_id, |
string | $a_link, | ||
string | $a_type, | ||
string | $a_title = "" , |
||
?int | $a_sub_obj_id = null , |
||
string | $a_goto_link = "" |
||
) |
Add an item to the stack.
If ref_id is already used, the item is moved to the top.
Definition at line 55 of file class.ilNavigationHistory.php.
References $db, $id, $ilDB, $user, ilObject\_exists(), ilObject\_lookupObjId(), ilObject\_lookupTitle(), and getItems().
Referenced by ilObjIndividualAssessmentGUI\addToNavigationHistory(), ilHTLMPresentationGUI\executeCommand(), ilObjForumGUI\getSafePostCommands(), and ilObjForumGUI\viewThreadObject().
ilNavigationHistory::deleteDBEntries | ( | ) |
ilNavigationHistory::deleteSessionEntries | ( | ) |
Definition at line 201 of file class.ilNavigationHistory.php.
ilNavigationHistory::getItems | ( | ) |
Get navigation item stack.
Definition at line 117 of file class.ilNavigationHistory.php.
References $component_repository, $db, $ilDB, $items, $obj_definition, $tree, $user, ilObject\_lookupObjId(), ilObject\_lookupTitle(), ANONYMOUS_USER_ID, ilComponentRepository\getPluginById(), ilComponentRepository\hasPluginId(), and ilTree\isInTree().
Referenced by addItem().
|
protected |
Definition at line 33 of file class.ilNavigationHistory.php.
Referenced by getItems().
|
protected |
Definition at line 30 of file class.ilNavigationHistory.php.
Referenced by addItem(), deleteDBEntries(), and getItems().
|
private |
Definition at line 34 of file class.ilNavigationHistory.php.
Referenced by getItems().
|
protected |
Definition at line 32 of file class.ilNavigationHistory.php.
Referenced by getItems().
|
protected |
Definition at line 28 of file class.ilNavigationHistory.php.
|
protected |
Definition at line 31 of file class.ilNavigationHistory.php.
Referenced by getItems().
|
protected |
Definition at line 29 of file class.ilNavigationHistory.php.
Referenced by addItem(), deleteDBEntries(), and getItems().