Public Member Functions | |
| topMenu ($theModules, $dontLink=0, $backPath='', $descr=0) | |
| getNavFramePrefix ($moduleInfo, $subModuleInfo=array()) | |
| mIconFile ($Ifilename, $backPath) | |
| mIconFilename ($Ifilename, $backPath) | |
| topButtons () | |
| adminButtons () | |
| adminFunctions ($backPath) | |
| wrapLinkWithAB ($link) | |
| generateMenuJScode ($loadedModules, $menuType=4) | |
Public Attributes | |
| $fsMod = array() | |
Definition at line 73 of file class.alt_menu_functions.inc.
| alt_menu_functions::adminButtons | ( | ) |
Returns logout button.
Definition at line 560 of file class.alt_menu_functions.inc.
References adminFunctions().
| alt_menu_functions::adminFunctions | ( | $ | backPath | ) |
Returns array with parts from which the admin functions can be constructed.
| string | Backpath. |
Definition at line 579 of file class.alt_menu_functions.inc.
References $TYPO3_CONF_VARS, and t3lib_div::getIndpEnv().
Referenced by adminButtons(), and topMenu().
| alt_menu_functions::generateMenuJScode | ( | $ | loadedModules, | |
| $ | menuType = 4 | |||
| ) |
Generates some JavaScript code for the frame.
Definition at line 625 of file class.alt_menu_functions.inc.
References topMenu().
| alt_menu_functions::getNavFramePrefix | ( | $ | moduleInfo, | |
| $ | subModuleInfo = array() | |||
| ) |
Returns a prefix used to call the navframe with parameters to call the scripts defined in the modules info array.
| string | Module info array | |
| string | Submodule info array |
Definition at line 489 of file class.alt_menu_functions.inc.
References t3lib_div::resolveBackPath(), and wrapLinkWithAB().
Referenced by topMenu().
| alt_menu_functions::mIconFile | ( | $ | Ifilename, | |
| $ | backPath | |||
| ) |
Returns $Ifilename readable for script in PATH_typo3. That means absolute names are just returned while relative names are prepended with $backPath (pointing back to typo3/ dir)
| string | Icon filename | |
| string | Back path |
Definition at line 520 of file class.alt_menu_functions.inc.
References t3lib_div::isAbsPath().
Referenced by topMenu().
| alt_menu_functions::mIconFilename | ( | $ | Ifilename, | |
| $ | backPath | |||
| ) |
Returns relative filename to the $Ifilename (for use in img-tags)
| string | Icon filename | |
| string | Back path |
Definition at line 535 of file class.alt_menu_functions.inc.
References t3lib_div::isAbsPath().
Referenced by topMenu().
| alt_menu_functions::topButtons | ( | ) |
Returns logout button.
Definition at line 547 of file class.alt_menu_functions.inc.
References $GLOBALS.
| alt_menu_functions::topMenu | ( | $ | theModules, | |
| $ | dontLink = 0, |
|||
| $ | backPath = '', |
|||
| $ | descr = 0 | |||
| ) |
Creates the menu of modules.
$descr determines the type of menu made: 0 = Ordinary vertical menu 1 = Descriptions for 'About modules' display 2 = selector-box menu 3 = topmenu - horizontal line of icons! 4 = part of JavaScript switch contruct for alt_main.php frameset.
| array | $theModules is the output from load_modules class ($this->loadModules->modules) | |
| boolean | $dontLink == true will prevent the output from being linked with A-tags (used in the 'beuser' extension) | |
| string | $backPath must be the 'backPath' to PATH_typo3 from where the menu is displayed. | |
| integer | $descr determines the type of menu made (see above) |
Definition at line 94 of file class.alt_menu_functions.inc.
References $GLOBALS, $key, $value, t3lib_div::_GP(), adminFunctions(), getNavFramePrefix(), mIconFile(), mIconFilename(), nbsp, t3lib_div::resolveBackPath(), and wrapLinkWithAB().
Referenced by generateMenuJScode().
| alt_menu_functions::wrapLinkWithAB | ( | $ | link | ) |
Appends a '?' if there is none in the string already
| string | Link URL |
Definition at line 614 of file class.alt_menu_functions.inc.
Referenced by getNavFramePrefix(), and topMenu().
| alt_menu_functions::$fsMod = array() |
Definition at line 76 of file class.alt_menu_functions.inc.
1.4.7