ILIAS
Release_4_0_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 | |
addMenuBlock ($a_var="CONTENT", $a_block="navigation") | |
add menu template as block | |
setTemplateVars () | |
set all template variables (images, scripts, target frames, ...) | |
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 31 of file class.ilMainMenuGUI.php.
ilMainMenuGUI::_checkAdministrationPermission | ( | ) |
Definition at line 434 of file class.ilMainMenuGUI.php.
References ilUtil\_getObjectsByOperations().
Referenced by ilObjForumGUI\createObject(), ilAdministrationGUI\executeCommand(), and setTemplateVars().
ilMainMenuGUI::addMenuBlock | ( | $a_var = "CONTENT" , |
|
$a_block = "navigation" |
|||
) |
add menu template as block
Definition at line 97 of file class.ilMainMenuGUI.php.
ilMainMenuGUI::getHTML | ( | ) |
Definition at line 447 of file class.ilMainMenuGUI.php.
References ilMemberViewSettings\getInstance(), getMemberViewHTML(), and setTemplateVars().
|
protected |
Definition at line 462 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 414 of file class.ilMainMenuGUI.php.
References $ilias.
Referenced by setTemplateVars().
ilMainMenuGUI::getTemplate | ( | ) |
get output template
Definition at line 88 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 49 of file class.ilMainMenuGUI.php.
References $ilias.
ilMainMenuGUI::setActive | ( | $a_active | ) |
string | $a_active | "desktop"|"repository"|"search"|"mail"|"chat_invitation"|"administration" |
Definition at line 70 of file class.ilMainMenuGUI.php.
ilMainMenuGUI::setSmallMode | ( | $a_small | ) |
Definition at line 62 of file class.ilMainMenuGUI.php.
ilMainMenuGUI::setTemplate | ( | & | $tpl | ) |
ilMainMenuGUI::setTemplateVars | ( | ) |
set all template variables (images, scripts, target frames, ...)
Definition at line 107 of file class.ilMainMenuGUI.php.
References $_GET, $_SESSION, $ilias, $ilSetting, $lng, $nav_hist, $title, $type, _checkAdministrationPermission(), ilMailbox\_countNewMails(), ilObjSystemFolder\_getHeaderTitle(), ilGeneralSettings\_getInstance(), ilSearchSettings\_getSearchSettingRefId(), ilLink\_getStaticLink(), ilLanguage\_lookupEntry(), ilObject\_lookupObjId(), ilRegistrationSettings\_lookupRegistrationType(), ilObject\_lookupType(), ilUtil\appendUrlParameterString(), ilUtil\getImagePath(), getScriptTarget(), ilUtil\getStyleSheetLocation(), and IL_REG_DISABLED.
Referenced by getHTML().
ilMainMenuGUI::$ilias |
Definition at line 38 of file class.ilMainMenuGUI.php.
Referenced by getScriptTarget(), ilMainMenuGUI(), and setTemplateVars().
ilMainMenuGUI::$start_template |
Definition at line 41 of file class.ilMainMenuGUI.php.
ilMainMenuGUI::$target |
Definition at line 40 of file class.ilMainMenuGUI.php.
ilMainMenuGUI::$tpl |
Definition at line 39 of file class.ilMainMenuGUI.php.
Referenced by setTemplate().