tslib_jsmenu Class Reference

Inheritance diagram for tslib_jsmenu:

tslib_menu List of all members.

Public Member Functions

 generate ()
 writeMenu ()
 generate_level ($levels, $count, $pid, $menuItemArray='', $MP_array=array())

Detailed Description

Definition at line 2647 of file class.tslib_menu.php.


Member Function Documentation

tslib_jsmenu.generate  ) 
 

Dummy. Should do nothing, because we don't use the result-array here!

Returns:
void

Definition at line 2654 of file class.tslib_menu.php.

tslib_jsmenu.generate_level levels,
count,
pid,
menuItemArray = '',
MP_array = array()
 

Generates a number of lines of JavaScript code for a menu level. Calls itself recursively for additional levels.

Parameters:
integer Number of levels to generate
integer Current level being generated - and if this number is less than $levels it will call itself recursively with $count incremented
integer Page id of the starting point.
array $this->menuArr passed along
array Previous MP vars
Returns:
string JavaScript code lines. private

Definition at line 2723 of file class.tslib_menu.php.

tslib_jsmenu.writeMenu  ) 
 

Creates the HTML (mixture of a <form> and a JavaScript section) for the JavaScript menu (basically an array of selector boxes with onchange handlers)

Returns:
string The HTML code for the menu

Definition at line 2662 of file class.tslib_menu.php.


The documentation for this class was generated from the following file:
Generated on Fri Apr 7 10:49:38 2006 for TYPO3 by  doxygen 1.4.6