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

tslib_jsmenu Class Reference

Inheritance diagram for tslib_jsmenu:

Inheritance graph
[legend]
Collaboration diagram for tslib_jsmenu:

Collaboration graph
[legend]
List of all members.

Public Member Functions

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

Detailed Description

Definition at line 2648 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 2655 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 2724 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 2663 of file class.tslib_menu.php.


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