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 2692 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 2699 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 2707 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 2768 of file class.tslib_menu.php.


The documentation for this class was generated from the following file:
This documentation has been generated automatically from TYPO3 source code using Doxygen and is provided as is by Cast Iron Coding as a courtesy to other TYPO3 developers and users. Please consider Cast Iron Coding — a full-service web development agency in Portland, Oregon specializing in TYPO3 extension development — for all of your TYPO3 development and consulting needs!