ILIAS
Release_4_1_x_branch Revision 61804
|
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, ...) | |
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 () |
Data Fields | |
$ilias | |
$tpl | |
$target | |
$start_template |
Protected Member Functions | |
getMemberViewHTML () |
Handles display of the main menu.
Definition at line 11 of file class.ilMainMenuGUI.php.
ilMainMenuGUI::_checkAdministrationPermission | ( | ) |
Definition at line 465 of file class.ilMainMenuGUI.php.
Referenced by ilAdministrationGUI\executeCommand(), and renderMainMenuListEntries().
ilMainMenuGUI::getHTML | ( | ) |
Definition at line 476 of file class.ilMainMenuGUI.php.
References ilMemberViewSettings\getInstance(), getMemberViewHTML(), and setTemplateVars().
ilMainMenuGUI::getLoginTargetPar | ( | ) |
Get target parameter for login.
Definition at line 86 of file class.ilMainMenuGUI.php.
Referenced by setTemplateVars().
|
protected |
Definition at line 491 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 445 of file class.ilMainMenuGUI.php.
References $ilias.
Referenced by renderMainMenuListEntries().
ilMainMenuGUI::getTemplate | ( | ) |
get output template
Definition at line 68 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 29 of file class.ilMainMenuGUI.php.
References $ilias.
ilMainMenuGUI::renderEntry | ( | $a_tpl, | |
$a_id, | |||
$a_txt, | |||
$a_script, | |||
$a_target = "_top" |
|||
) |
Render main menu entry.
@return |
Definition at line 419 of file class.ilMainMenuGUI.php.
References $lng.
Referenced by renderMainMenuListEntries().
ilMainMenuGUI::renderMainMenuListEntries | ( | $a_tpl, | |
$a_call_get = true |
|||
) |
desc
@return |
Definition at line 246 of file class.ilMainMenuGUI.php.
References $_REQUEST, $_SESSION, $ilias, $ilSetting, $lng, $nav_hist, $target, $title, _checkAdministrationPermission(), ilMailbox\_countNewMails(), ilSearchSettings\_getSearchSettingRefId(), ilLink\_getStaticLink(), getScriptTarget(), and renderEntry().
Referenced by setTemplateVars().
ilMainMenuGUI::setActive | ( | $a_active | ) |
string | $a_active | "desktop"|"repository"|"search"|"mail"|"chat_invitation"|"administration" |
Definition at line 50 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 78 of file class.ilMainMenuGUI.php.
ilMainMenuGUI::setSmallMode | ( | $a_small | ) |
Definition at line 42 of file class.ilMainMenuGUI.php.
ilMainMenuGUI::setTemplate | ( | & | $tpl | ) |
ilMainMenuGUI::setTemplateVars | ( | ) |
set all template variables (images, scripts, target frames, ...)
Definition at line 94 of file class.ilMainMenuGUI.php.
References $_GET, $_SESSION, $ilias, $ilSetting, $lng, ilObjSystemFolder\_getHeaderTitle(), ilSearchSettings\_getSearchSettingRefId(), ilLanguage\_lookupEntry(), ilObject\_lookupObjId(), ilRegistrationSettings\_lookupRegistrationType(), ilObject\_lookupType(), ilUtil\appendUrlParameterString(), ilUtil\getImagePath(), getLoginTargetPar(), ilPluginAdmin\getPluginObject(), ilUtil\getStyleSheetLocation(), IL_COMP_SERVICE, IL_REG_DISABLED, ilUIHookPluginGUI\KEEP, renderMainMenuListEntries(), and ilUIHookPluginGUI\REPLACE.
Referenced by getHTML().
ilMainMenuGUI::$ilias |
Definition at line 18 of file class.ilMainMenuGUI.php.
Referenced by getScriptTarget(), ilMainMenuGUI(), renderMainMenuListEntries(), and setTemplateVars().
ilMainMenuGUI::$start_template |
Definition at line 21 of file class.ilMainMenuGUI.php.
ilMainMenuGUI::$target |
Definition at line 20 of file class.ilMainMenuGUI.php.
Referenced by renderMainMenuListEntries().
ilMainMenuGUI::$tpl |
Definition at line 19 of file class.ilMainMenuGUI.php.
Referenced by setTemplate().