|
ILIAS
release_5-1 Revision 5.0.0-5477-g43f3e3fab5f
|
Handles display of the main menu. More...
Collaboration diagram for ilMainMenuGUI:Public Member Functions | |
| ilMainMenuGUI ($a_target="_top", $a_use_start_template=false) | |
| setMode ($a_value) | |
| getMode () | |
| setTopBarBack ($a_url, $a_caption=null) | |
| getSpacerClass () | |
| setActive ($a_active) | |
| setTemplate (&$tpl) | |
| set output template More... | |
| getTemplate () | |
| get output template More... | |
| setLoginTargetPar ($a_val) | |
| Set target parameter for login (public sector). More... | |
| getLoginTargetPar () | |
| Get target parameter for login. More... | |
| renderStatusBox ($a_tpl) | |
| Render status box. More... | |
| renderMainMenuListEntries ($a_tpl, $a_call_get=true) | |
| desc More... | |
| renderEntry ($a_tpl, $a_id, $a_txt, $a_script, $a_target="_top") | |
| Render main menu entry. More... | |
| getScriptTarget ($a_script) | |
| generates complete script target (private) More... | |
| _checkAdministrationPermission () | |
| getHTML () | |
| renderDropDown ($a_tpl, $a_id) | |
| GetDropDownHTML. More... | |
| renderHelpButtons () | |
| Render help button. More... | |
| renderAwareness () | |
| Render awareness tool. More... | |
| showLogoOnly ($a_value) | |
| Toggle rendering of main menu, search, user info. More... | |
Static Public Member Functions | |
| static | getLanguageSelection ($a_in_topbar=false) |
Data Fields | |
| $ilias | |
| $tpl | |
| $target | |
| $start_template | |
| const | MODE_FULL = 1 |
| const | MODE_TOPBAR_ONLY = 2 |
| const | MODE_TOPBAR_REDUCED = 3 |
| const | MODE_TOPBAR_MEMBERVIEW = 4 |
Protected Member Functions | |
| initMemberView () | |
| Init member view @global type $lng. More... | |
| populateWithBuddySystem () | |
| Includes all buddy system/user connections related javascript code. More... | |
| getHeaderURL () | |
Protected Attributes | |
| $mode | |
| $topbar_back_url | |
| $topbar_back_caption | |
Handles display of the main menu.
Definition at line 13 of file class.ilMainMenuGUI.php.
| ilMainMenuGUI::_checkAdministrationPermission | ( | ) |
Definition at line 798 of file class.ilMainMenuGUI.php.
Referenced by ilObjMediaPoolGUI\createMediaFromUploadDir(), ilAdministrationGUI\executeCommand(), ilObjMediaPoolGUI\listMedia(), renderMainMenuListEntries(), and ilObjMediaPoolGUI\selectUploadDirFiles().
Here is the caller graph for this function:
|
protected |
Definition at line 1135 of file class.ilMainMenuGUI.php.
References $url, and ilUserUtil\getStartingPointAsUrl().
Here is the call graph for this function:| ilMainMenuGUI::getHTML | ( | ) |
Definition at line 810 of file class.ilMainMenuGUI.php.
|
static |
Definition at line 144 of file class.ilMainMenuGUI.php.
References $_SERVER, $ilUser, $lng, and ilUtil\appendUrlParameterString().
Referenced by ilStartUpGUI\getLanguageSelection().
Here is the call graph for this function:
Here is the caller graph for this function:| ilMainMenuGUI::getLoginTargetPar | ( | ) |
Get target parameter for login.
Definition at line 139 of file class.ilMainMenuGUI.php.
| ilMainMenuGUI::getMode | ( | ) |
Definition at line 75 of file class.ilMainMenuGUI.php.
References $mode.
Referenced by getSpacerClass(), and renderHelpButtons().
Here is the caller graph for this function:| ilMainMenuGUI::getScriptTarget | ( | $a_script | ) |
generates complete script target (private)
Definition at line 778 of file class.ilMainMenuGUI.php.
References $ilias.
| ilMainMenuGUI::getSpacerClass | ( | ) |
Definition at line 86 of file class.ilMainMenuGUI.php.
References getMode(), MODE_FULL, MODE_TOPBAR_MEMBERVIEW, MODE_TOPBAR_ONLY, and MODE_TOPBAR_REDUCED.
Here is the call graph for this function:| ilMainMenuGUI::getTemplate | ( | ) |
get output template
Definition at line 121 of file class.ilMainMenuGUI.php.
| ilMainMenuGUI::ilMainMenuGUI | ( | $a_target = "_top", |
|
$a_use_start_template = false |
|||
| ) |
| string | $a_target | target frame |
| boolean | $a_use_start_template | true means: target scripts should be called through start template |
Definition at line 40 of file class.ilMainMenuGUI.php.
References $ilias, $ilUser, ilMemberViewSettings\getInstance(), ilMailGlobalServices\getMailObjectRefId(), initMemberView(), and setMode().
Here is the call graph for this function:
|
protected |
Init member view @global type $lng.
Definition at line 828 of file class.ilMainMenuGUI.php.
References $lng, $ref_id, $url, ilLink\_getLink(), ilObject\_lookupObjId(), ilObject\_lookupType(), ilMemberViewSettings\getInstance(), setMode(), and setTopBarBack().
Referenced by ilMainMenuGUI().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Includes all buddy system/user connections related javascript code.
Definition at line 1102 of file class.ilMainMenuGUI.php.
References ilBuddySystem\getInstance().
Here is the call graph for this function:| ilMainMenuGUI::renderAwareness | ( | ) |
Render awareness tool.
Definition at line 1115 of file class.ilMainMenuGUI.php.
References ilAwarenessGUI\getInstance().
Here is the call graph for this function:| ilMainMenuGUI::renderDropDown | ( | $a_tpl, | |
| $a_id | |||
| ) |
GetDropDownHTML.
return
Definition at line 856 of file class.ilMainMenuGUI.php.
References $html, $ilSetting, $ilUser, $lng, ilObjUserTracking\_enabledLearningProgress(), ilCalendarSettings\_getInstance(), ilBuddySystem\getInstance(), and ilAdvancedSelectionListGUI\ICON_ARROW.
Referenced by renderMainMenuListEntries().
Here is the call graph for this function:
Here is the caller graph for this function:| ilMainMenuGUI::renderEntry | ( | $a_tpl, | |
| $a_id, | |||
| $a_txt, | |||
| $a_script, | |||
$a_target = "_top" |
|||
| ) |
Render main menu entry.
return
Definition at line 496 of file class.ilMainMenuGUI.php.
References $_GET, $ilCtrl, $ilSetting, $ilUser, $lng, $separator, ilObjUserTracking\_enabledLearningProgress(), ilObject\_getIcon(), ilCalendarSettings\_getInstance(), ilLink\_getStaticLink(), ilObjUserTracking\_hasLearningProgressLearner(), ilObjUserTracking\_hasLearningProgressOtherUsers(), ilObject\_lookupObjId(), ilBuddySystem\getInstance(), ilAccessKey\getKey(), ilHelp\getMainMenuTooltip(), ilUtil\img(), ilAccessKey\LAST_VISITED, ilAccessKey\PERSONAL_DESKTOP, and ilUtil\shortenText().
Referenced by renderMainMenuListEntries().
Here is the call graph for this function:
Here is the caller graph for this function:| ilMainMenuGUI::renderHelpButtons | ( | ) |
Render help button.
return
Definition at line 1021 of file class.ilMainMenuGUI.php.
References $ilCtrl, $ilSetting, $ilUser, $lng, $tpl, ilTooltipGUI\addTooltip(), and getMode().
Here is the call graph for this function:| ilMainMenuGUI::renderMainMenuListEntries | ( | $a_tpl, | |
$a_call_get = true |
|||
| ) |
desc
return
Definition at line 440 of file class.ilMainMenuGUI.php.
References $_SESSION, $ilias, $ilSetting, $ilUser, $lng, $nd, _checkAdministrationPermission(), renderDropDown(), and renderEntry().
Here is the call graph for this function:| ilMainMenuGUI::renderStatusBox | ( | $a_tpl | ) |
Render status box.
Definition at line 402 of file class.ilMainMenuGUI.php.
References $ilUser, $lng, ilUtil\getImagePath(), and ilMailGlobalServices\getNumberOfNewMailsByUserId().
Here is the call graph for this function:| ilMainMenuGUI::setActive | ( | $a_active | ) |
| string | $a_active | "desktop"|"repository"|"search"|"mail"|"chat_invitation"|"administration" |
Definition at line 103 of file class.ilMainMenuGUI.php.
| ilMainMenuGUI::setLoginTargetPar | ( | $a_val | ) |
Set target parameter for login (public sector).
This is used by the main menu
Definition at line 131 of file class.ilMainMenuGUI.php.
| ilMainMenuGUI::setMode | ( | $a_value | ) |
Definition at line 70 of file class.ilMainMenuGUI.php.
Referenced by ilMainMenuGUI(), and initMemberView().
Here is the caller graph for this function:| ilMainMenuGUI::setTemplate | ( | & | $tpl | ) |
set output template
Definition at line 111 of file class.ilMainMenuGUI.php.
References $tpl.
| ilMainMenuGUI::setTopBarBack | ( | $a_url, | |
$a_caption = null |
|||
| ) |
Definition at line 80 of file class.ilMainMenuGUI.php.
Referenced by initMemberView().
Here is the caller graph for this function:| ilMainMenuGUI::showLogoOnly | ( | $a_value | ) |
Toggle rendering of main menu, search, user info.
| bool | $a_value |
Definition at line 1130 of file class.ilMainMenuGUI.php.
| ilMainMenuGUI::$ilias |
Definition at line 20 of file class.ilMainMenuGUI.php.
Referenced by getScriptTarget(), ilMainMenuGUI(), and renderMainMenuListEntries().
| ilMainMenuGUI::$mail |
Definition at line 24 of file class.ilMainMenuGUI.php.
|
protected |
Definition at line 26 of file class.ilMainMenuGUI.php.
Referenced by getMode().
| ilMainMenuGUI::$start_template |
Definition at line 23 of file class.ilMainMenuGUI.php.
| ilMainMenuGUI::$target |
Definition at line 22 of file class.ilMainMenuGUI.php.
|
protected |
Definition at line 28 of file class.ilMainMenuGUI.php.
|
protected |
Definition at line 27 of file class.ilMainMenuGUI.php.
| ilMainMenuGUI::$tpl |
Definition at line 21 of file class.ilMainMenuGUI.php.
Referenced by renderHelpButtons(), and setTemplate().
| const ilMainMenuGUI::MODE_FULL = 1 |
Definition at line 30 of file class.ilMainMenuGUI.php.
Referenced by ilPersonalWorkspaceGUI\executeCommand(), and getSpacerClass().
| const ilMainMenuGUI::MODE_TOPBAR_MEMBERVIEW = 4 |
Definition at line 33 of file class.ilMainMenuGUI.php.
Referenced by getSpacerClass().
| const ilMainMenuGUI::MODE_TOPBAR_ONLY = 2 |
Definition at line 31 of file class.ilMainMenuGUI.php.
Referenced by getSpacerClass(), ilObjPortfolioBaseGUI\preview(), ilObjBlogGUI\renderFullScreen(), and ilTemplate\setLocator().
| const ilMainMenuGUI::MODE_TOPBAR_REDUCED = 3 |
Definition at line 32 of file class.ilMainMenuGUI.php.
Referenced by getSpacerClass(), and ilTemplate\setLocator().