|
ILIAS
Release_3_10_x_branch Revision 61812
|
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 | |
| 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 | |
Handles display of the main menu.
Definition at line 31 of file class.ilMainMenuGUI.php.
| ilMainMenuGUI::_checkAdministrationPermission | ( | ) |
Definition at line 398 of file class.ilMainMenuGUI.php.
References ilUtil\_getObjectsByOperations().
Referenced by ilObjForumGUI\createObject(), ilAdministrationGUI\executeCommand(), and setTemplateVars().
Here is the call graph for this function:
Here is the caller graph for this function:| ilMainMenuGUI::addMenuBlock | ( | $a_var = "CONTENT", |
|
$a_block = "navigation" |
|||
| ) |
add menu template as block
Definition at line 96 of file class.ilMainMenuGUI.php.
| ilMainMenuGUI::getHTML | ( | ) |
Definition at line 411 of file class.ilMainMenuGUI.php.
References setTemplateVars().
Here is the call graph for this function:| ilMainMenuGUI::getScriptTarget | ( | $a_script | ) |
generates complete script target (private)
Definition at line 378 of file class.ilMainMenuGUI.php.
References $ilias.
Referenced by setTemplateVars().
Here is the caller graph for this function:| ilMainMenuGUI::getTemplate | ( | ) |
get output template
Definition at line 87 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 69 of file class.ilMainMenuGUI.php.
| ilMainMenuGUI::setSmallMode | ( | $a_small | ) |
Definition at line 61 of file class.ilMainMenuGUI.php.
| ilMainMenuGUI::setTemplate | ( | & | $tpl | ) |
| ilMainMenuGUI::setTemplateVars | ( | ) |
set all template variables (images, scripts, target frames, ...)
Definition at line 106 of file class.ilMainMenuGUI.php.
References $_GET, $_SESSION, $ilias, $lng, $nav_hist, $title, _checkAdministrationPermission(), ilMailbox\_countNewMails(), ilObjSystemFolder\_getHeaderTitle(), ilGeneralSettings\_getInstance(), ilSearchSettings\_getSearchSettingRefId(), ilLink\_getStaticLink(), ilLanguage\_lookupEntry(), ilObject\_lookupObjId(), ilRegistrationSettings\_lookupRegistrationType(), ilObject\_lookupType(), ilUtil\getImagePath(), getScriptTarget(), ilUtil\getStyleSheetLocation(), ilMailbox\hasNewMail(), and IL_REG_DISABLED.
Referenced by getHTML().
Here is the call graph for this function:
Here is the caller graph for this function:| 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().