"TYPO3 4.0.1: alt_menu_functions Class Reference", "datetime" => "Sat Dec 2 19:24:46 2006", "date" => "2 Dec 2006", "doxygenversion" => "1.4.6", "projectname" => "TYPO3 4.0.1", "projectnumber" => "4.0.1" ); get_header($doxygen_vars); ?>

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)

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 544 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.

Parameters:
string Backpath.
Returns:
array

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

References t3lib_div::getIndpEnv().

Referenced by adminButtons(), and 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.

Parameters:
string Module info array
string Submodule info array
Returns:
string Result url string

Definition at line 473 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)

Parameters:
string Icon filename
string Back path
Returns:
string Result
See also:
mIconFilename()

Definition at line 504 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)

Parameters:
string Icon filename
string Back path
Returns:
string Result
See also:
mIconFile()

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

References t3lib_div::isAbsPath().

Referenced by topMenu().

alt_menu_functions::topButtons  ) 
 

Returns logout button.

Returns:
string

Definition at line 531 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 $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)
Returns:
string The menu HTML

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::wrapLinkWithAB link  ) 
 

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

Parameters:
string Link URL
Returns:
string

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

Referenced by getNavFramePrefix(), and topMenu().


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