|
ILIAS
Release_4_3_x_branch Revision 61807
|
Handles display of the main menu. More...
Collaboration diagram for ilMainMenuGUI:Public Member Functions | |
| ilMainMenuGUI ($a_target="_top", $a_use_start_template=false) | |
| setSmallMode ($a_small) | |
| setActive ($a_active) | |
| setTemplate (&$tpl) | |
| set output template | |
| getTemplate () | |
| get output template | |
| setLoginTargetPar ($a_val) | |
| Set target parameter for login (public sector). | |
| getLoginTargetPar () | |
| Get target parameter for login. | |
| renderStatusBox ($a_tpl) | |
| Render status box. | |
| renderMainMenuListEntries ($a_tpl, $a_call_get=true) | |
| desc | |
| renderEntry ($a_tpl, $a_id, $a_txt, $a_script, $a_target="_top") | |
| Render main menu entry. | |
| getScriptTarget ($a_script) | |
| generates complete script target (private) | |
| _checkAdministrationPermission () | |
| getHTML () | |
| renderDropDown ($a_tpl, $a_id) | |
| GetDropDownHTML. | |
| renderHelpButtons () | |
| Render help button. | |
| showLogoOnly ($a_value) | |
| Toggle rendering of main menu, search, user info. | |
Static Public Member Functions | |
| static | getLanguageSelection ($a_in_topbar=false) |
Data Fields | |
| $ilias | |
| $tpl | |
| $target | |
| $start_template | |
Protected Member Functions | |
| getMemberViewHTML () | |
| getHeaderURL () | |
Handles display of the main menu.
Definition at line 13 of file class.ilMainMenuGUI.php.
| ilMainMenuGUI::_checkAdministrationPermission | ( | ) |
Definition at line 790 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 1087 of file class.ilMainMenuGUI.php.
References ilUserUtil\getStartingPointAsUrl().
Here is the call graph for this function:| ilMainMenuGUI::getHTML | ( | ) |
Definition at line 802 of file class.ilMainMenuGUI.php.
References ilMemberViewSettings\getInstance(), and getMemberViewHTML().
Here is the call graph for this function:
|
static |
Definition at line 101 of file class.ilMainMenuGUI.php.
References $lng, ilUtil\appendUrlParameterString(), and ilAdvancedSelectionListGUI\DOWN_ARROW_TOPBAR.
Referenced by ilTemplate\setTopBar().
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 96 of file class.ilMainMenuGUI.php.
|
protected |
Definition at line 818 of file class.ilMainMenuGUI.php.
References $_GET, $lng, ilLink\_getLink(), ilObject\_lookupObjId(), ilObject\_lookupType(), and ilUtil\getImagePath().
Referenced by getHTML().
Here is the call graph for this function:
Here is the caller graph for this function:| ilMainMenuGUI::getScriptTarget | ( | $a_script | ) |
generates complete script target (private)
Definition at line 770 of file class.ilMainMenuGUI.php.
References $ilias.
| ilMainMenuGUI::getTemplate | ( | ) |
get output template
Definition at line 78 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 31 of file class.ilMainMenuGUI.php.
References $ilias, $ilUser, and ilMailGlobalServices\getMailObjectRefId().
Here is the call graph for this function:| ilMainMenuGUI::renderDropDown | ( | $a_tpl, | |
| $a_id | |||
| ) |
GetDropDownHTML.
| @return |
Definition at line 846 of file class.ilMainMenuGUI.php.
References $ilSetting, $lng, ilObjUserTracking\_enabledLearningProgress(), ilCalendarSettings\_getInstance(), ilAdvancedSelectionListGUI\DOWN_ARROW_LIGHT, and ilMailGlobalServices\getMailObjectRefId().
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 487 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(), ilUtil\getImagePath(), ilAccessKey\getKey(), ilMailGlobalServices\getMailObjectRefId(), 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 1004 of file class.ilMainMenuGUI.php.
References $ilCtrl, $ilSetting, $ilUser, $lng, $tpl, ilTooltipGUI\addTooltip(), and ilUtil\getImagePath().
Here is the call graph for this function:| ilMainMenuGUI::renderMainMenuListEntries | ( | $a_tpl, | |
$a_call_get = true |
|||
| ) |
desc
| @return |
Definition at line 374 of file class.ilMainMenuGUI.php.
References $_SESSION, $ilias, $ilSetting, $ilUser, $lng, $title, _checkAdministrationPermission(), ilSearchSettings\_getSearchSettingRefId(), renderDropDown(), and renderEntry().
Here is the call graph for this function:| ilMainMenuGUI::renderStatusBox | ( | $a_tpl | ) |
Render status box.
Definition at line 336 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 60 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 88 of file class.ilMainMenuGUI.php.
| ilMainMenuGUI::setSmallMode | ( | $a_small | ) |
Definition at line 52 of file class.ilMainMenuGUI.php.
| ilMainMenuGUI::setTemplate | ( | & | $tpl | ) |
| ilMainMenuGUI::showLogoOnly | ( | $a_value | ) |
Toggle rendering of main menu, search, user info.
| bool | $a_value |
Definition at line 1082 of file class.ilMainMenuGUI.php.
| ilMainMenuGUI::$ilias |
Definition at line 20 of file class.ilMainMenuGUI.php.
Referenced by getScriptTarget(), ilMainMenuGUI(), and renderMainMenuListEntries().
| ilMainMenuGUI::$start_template |
Definition at line 23 of file class.ilMainMenuGUI.php.
| ilMainMenuGUI::$target |
Definition at line 22 of file class.ilMainMenuGUI.php.
| ilMainMenuGUI::$tpl |
Definition at line 21 of file class.ilMainMenuGUI.php.
Referenced by renderHelpButtons(), and setTemplate().