ILIAS
Release_4_4_x_branch Revision 61816
|
Handles display of the main menu. More...
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 784 of file class.ilMainMenuGUI.php.
Referenced by ilObjMediaPoolGUI\createMediaFromUploadDir(), ilAdministrationGUI\executeCommand(), ilObjMediaPoolGUI\listMedia(), renderMainMenuListEntries(), and ilObjMediaPoolGUI\selectUploadDirFiles().
|
protected |
Definition at line 1090 of file class.ilMainMenuGUI.php.
References ilUserUtil\getStartingPointAsUrl().
ilMainMenuGUI::getHTML | ( | ) |
Definition at line 796 of file class.ilMainMenuGUI.php.
References ilMemberViewSettings\getInstance(), and getMemberViewHTML().
|
static |
Definition at line 101 of file class.ilMainMenuGUI.php.
References $lng, ilUtil\appendUrlParameterString(), and ilAdvancedSelectionListGUI\DOWN_ARROW_TOPBAR.
Referenced by ilTemplate\setTopBar().
ilMainMenuGUI::getLoginTargetPar | ( | ) |
Get target parameter for login.
Definition at line 96 of file class.ilMainMenuGUI.php.
|
protected |
Definition at line 819 of file class.ilMainMenuGUI.php.
References $_GET, $lng, ilLink\_getLink(), ilObject\_lookupObjId(), ilObject\_lookupType(), and ilUtil\getImagePath().
Referenced by getHTML().
ilMainMenuGUI::getScriptTarget | ( | $a_script | ) |
generates complete script target (private)
Definition at line 764 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().
ilMainMenuGUI::renderDropDown | ( | $a_tpl, | |
$a_id | |||
) |
GetDropDownHTML.
@return |
Definition at line 847 of file class.ilMainMenuGUI.php.
References $ilSetting, $lng, ilObjUserTracking\_enabledLearningProgress(), ilCalendarSettings\_getInstance(), ilAdvancedSelectionListGUI\DOWN_ARROW_LIGHT, and ilMailGlobalServices\getMailObjectRefId().
Referenced by renderMainMenuListEntries().
ilMainMenuGUI::renderEntry | ( | $a_tpl, | |
$a_id, | |||
$a_txt, | |||
$a_script, | |||
$a_target = "_top" |
|||
) |
Render main menu entry.
@return |
Definition at line 480 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().
ilMainMenuGUI::renderHelpButtons | ( | ) |
Render help button.
@return |
Definition at line 1006 of file class.ilMainMenuGUI.php.
References $ilCtrl, $ilSetting, $ilUser, $lng, $tpl, ilTooltipGUI\addTooltip(), and ilUtil\getImagePath().
ilMainMenuGUI::renderMainMenuListEntries | ( | $a_tpl, | |
$a_call_get = true |
|||
) |
desc
@return |
Definition at line 367 of file class.ilMainMenuGUI.php.
References $_SESSION, $ilias, $ilSetting, $ilUser, $lng, _checkAdministrationPermission(), ilSearchSettings\_getSearchSettingRefId(), renderDropDown(), and renderEntry().
ilMainMenuGUI::renderStatusBox | ( | $a_tpl | ) |
Render status box.
Definition at line 329 of file class.ilMainMenuGUI.php.
References $ilUser, $lng, ilUtil\getImagePath(), and ilMailGlobalServices\getNumberOfNewMailsByUserId().
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 1085 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().