Documentation TYPO3 par Ameos |
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) | |
Public Attributes | |
$fsMod = array() |
Definition at line 73 of file class.alt_menu_functions.inc.
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 t3lib_div::_GP(), adminFunctions(), getNavFramePrefix(), mIconFile(), mIconFilename(), t3lib_div::resolveBackPath(), and wrapLinkWithAB().
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 494 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 525 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 540 of file class.alt_menu_functions.inc.
References t3lib_div::isAbsPath().
Referenced by topMenu().
alt_menu_functions::topButtons | ( | ) |
alt_menu_functions::adminButtons | ( | ) |
Returns logout button.
Definition at line 565 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 584 of file class.alt_menu_functions.inc.
References t3lib_div::getIndpEnv().
Referenced by adminButtons(), and topMenu().
alt_menu_functions::wrapLinkWithAB | ( | $ | link | ) |
Appends a '?' if there is none in the string already
string | Link URL |
Definition at line 619 of file class.alt_menu_functions.inc.
Referenced by getNavFramePrefix(), and topMenu().