ILIAS
Release_4_2_x_branch Revision 61807
|
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. | |
setTemplateVars () | |
set all template variables (images, scripts, target frames, ...) | |
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. |
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 745 of file class.ilMainMenuGUI.php.
Referenced by ilObjMediaPoolGUI\createMediaFromUploadDir(), ilAdministrationGUI\executeCommand(), ilObjMediaPoolGUI\listMedia(), renderMainMenuListEntries(), and ilObjMediaPoolGUI\selectUploadDirFiles().
|
protected |
Definition at line 953 of file class.ilMainMenuGUI.php.
Referenced by setTemplateVars().
ilMainMenuGUI::getHTML | ( | ) |
Definition at line 757 of file class.ilMainMenuGUI.php.
References ilMemberViewSettings\getInstance(), getMemberViewHTML(), and setTemplateVars().
|
static |
Definition at line 101 of file class.ilMainMenuGUI.php.
References $lng, ilUtil\appendUrlParameterString(), and ilAdvancedSelectionListGUI\DOWN_ARROW_TOPBAR.
Referenced by setTemplateVars(), and ilTemplate\setTopBar().
ilMainMenuGUI::getLoginTargetPar | ( | ) |
Get target parameter for login.
Definition at line 96 of file class.ilMainMenuGUI.php.
Referenced by setTemplateVars().
|
protected |
Definition at line 773 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 725 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, and ilMailGlobalServices\getMailObjectRefId().
ilMainMenuGUI::renderDropDown | ( | $a_tpl, | |
$a_id | |||
) |
GetDropDownHTML.
@return |
Definition at line 801 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 468 of file class.ilMainMenuGUI.php.
References $_GET, $ilSetting, $lng, $separator, ilObjUserTracking\_enabledLearningProgress(), ilObject\_getIcon(), ilCalendarSettings\_getInstance(), ilLink\_getStaticLink(), ilObject\_lookupObjId(), ilUtil\getImagePath(), ilAccessKey\getKey(), ilMailGlobalServices\getMailObjectRefId(), ilUtil\img(), ilAccessKey\LAST_VISITED, ilAccessKey\PERSONAL_DESKTOP, and ilUtil\shortenText().
Referenced by renderMainMenuListEntries().
ilMainMenuGUI::renderMainMenuListEntries | ( | $a_tpl, | |
$a_call_get = true |
|||
) |
desc
@return |
Definition at line 355 of file class.ilMainMenuGUI.php.
References $_SESSION, $ilias, $ilSetting, $lng, $title, _checkAdministrationPermission(), ilSearchSettings\_getSearchSettingRefId(), renderDropDown(), and renderEntry().
Referenced by setTemplateVars().
ilMainMenuGUI::renderStatusBox | ( | $a_tpl | ) |
Render status box.
Definition at line 318 of file class.ilMainMenuGUI.php.
References ilUtil\getImagePath(), and ilMailGlobalServices\getNumberOfNewMailsByUserId().
Referenced by setTemplateVars().
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::setTemplateVars | ( | ) |
set all template variables (images, scripts, target frames, ...)
notifications
Definition at line 139 of file class.ilMainMenuGUI.php.
References $_GET, $_SESSION, $ilias, $ilSetting, $lng, $tpl, ilObjSystemFolder\_getHeaderTitle(), ilSearchSettings\_getSearchSettingRefId(), ilObject\_lookupObjId(), ilRegistrationSettings\_lookupRegistrationType(), ilObject\_lookupType(), getHeaderURL(), ilUtil\getImagePath(), getLanguageSelection(), getLoginTargetPar(), ilNotificationOSDHandler\getNotificationsForUser(), ilUtil\getStyleSheetLocation(), IL_COMP_SERVICE, IL_REG_DISABLED, iljQueryUtil\initjQuery(), renderMainMenuListEntries(), and renderStatusBox().
Referenced by getHTML().
ilMainMenuGUI::$ilias |
Definition at line 20 of file class.ilMainMenuGUI.php.
Referenced by getScriptTarget(), ilMainMenuGUI(), renderMainMenuListEntries(), and setTemplateVars().
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 setTemplate(), and setTemplateVars().