Solutions Open Source

Référence de la classe alt_menu_functions

Liste de tous les membres

Fonctions membres publiques

 topMenu ($theModules, $dontLink=0, $backPath='', $descr=0)
 getNavFramePrefix ($moduleInfo, $subModuleInfo=array())
 mIconFile ($Ifilename, $backPath)
 mIconFilename ($Ifilename, $backPath)
 topButtons ()
 adminButtons ()
 adminFunctions ($backPath)
 wrapLinkWithAB ($link)

Attributs publics

 $fsMod = array()


Documentation des fonctions membres

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.

Paramètres:
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)
Renvoie:
string The menu HTML

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.

Paramètres:
string Module info array
string Submodule info array
Renvoie:
string Result url string

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)

Paramètres:
string Icon filename
string Back path
Renvoie:
string Result
Voir également:
mIconFilename()

alt_menu_functions::mIconFilename ( Ifilename,
backPath 
)

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

Paramètres:
string Icon filename
string Back path
Renvoie:
string Result
Voir également:
mIconFile()

alt_menu_functions::topButtons (  ) 

Returns logout button.

Renvoie:
string

alt_menu_functions::adminButtons (  ) 

Returns logout button.

Renvoie:
string

alt_menu_functions::adminFunctions ( backPath  ) 

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

Paramètres:
string Backpath.
Renvoie:
array

alt_menu_functions::wrapLinkWithAB ( link  ) 

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

Paramètres:
string Link URL
Renvoie:
string


Documentation des données membres

alt_menu_functions::$fsMod = array()


La documentation de cette classe a été générée à partir du fichier suivant :
Généré le Fri Aug 31 11:40:46 2007 pour OBLADY - Typo3 API v4.1.2 par  doxygen 1.5.3