Documentation TYPO3 par Ameos

tslib_jsmenu Class Reference

Inheritance diagram for tslib_jsmenu:
[legend]
Collaboration diagram for tslib_jsmenu:
[legend]
List of all members.

Public Member Functions

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

Detailed Description

Definition at line 2668 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 2675 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 2683 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 2744 of file class.tslib_menu.php.


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


Généré par TYPO3 Ameos avec  doxygen 1.4.6