TYPO3 API  SVNRelease
Public Member Functions | Public Attributes
alt_menu_functions Class Reference

List of all members.

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()

Detailed Description

Definition at line 73 of file class.alt_menu_functions.inc.


Member Function Documentation

alt_menu_functions::adminButtons ( )

Returns logout button.

Returns:
string

Definition at line 572 of file class.alt_menu_functions.inc.

alt_menu_functions::adminFunctions ( backPath)

Returns array with parts from which the admin functions can be constructed.

Parameters:
stringBackpath.
Returns:
array

Definition at line 591 of file class.alt_menu_functions.inc.

alt_menu_functions::generateMenuJScode ( loadedModules,
menuType = 4 
)

Generates some JavaScript code for the frame.

Returns:
string goToModule javascript function

Definition at line 644 of file class.alt_menu_functions.inc.

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.

Parameters:
stringModule info array
stringSubmodule info array
Returns:
string Result url string

Definition at line 501 of file class.alt_menu_functions.inc.

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)

Parameters:
stringIcon filename
stringBack path
Returns:
string Result
See also:
mIconFilename()

Definition at line 532 of file class.alt_menu_functions.inc.

alt_menu_functions::mIconFilename ( Ifilename,
backPath 
)

Returns relative filename to the $Ifilename (for use in img-tags)

Parameters:
stringIcon filename
stringBack path
Returns:
string Result
See also:
mIconFile()

Definition at line 547 of file class.alt_menu_functions.inc.

alt_menu_functions::topButtons ( )

Returns logout button.

Returns:
string

Definition at line 559 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.

Parameters:
array$theModulesis 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$backPathmust be the 'backPath' to PATH_typo3 from where the menu is displayed.
integer$descrdetermines the type of menu made (see above)
Returns:
string The menu HTML

Definition at line 94 of file class.alt_menu_functions.inc.

References $BE_USER, $GLOBALS, $value, t3lib_div\_GP(), getNavFramePrefix(), and t3lib_div\resolveBackPath().

alt_menu_functions::wrapLinkWithAB ( link)

Appends a '?' if there is none in the string already

Parameters:
stringLink URL
Returns:
string

Definition at line 633 of file class.alt_menu_functions.inc.


Member Data Documentation

alt_menu_functions::$fsMod = array()

Definition at line 76 of file class.alt_menu_functions.inc.


The documentation for this class was generated from the following file: