Name

menu_get_body — get the body of the menu

Synopsis

use Wacs;
use Wacs::WacsUI;
scalar menu_get_body(...); 
 

Parameters

parameterdescription
namename of the menu concerned
callername of the program calling it
excludename of program to exclude from menus
optionsarray of options to use
optdescarray of matching descriptions for the options above
isareahashref/array of image-based sarea values
vsareahashref/array of video-based sarea values
mflagshashref/array of model flags
vsiteshashref/array of vendor codes and names
preprefix for generated entries (eg <li><a href=\" )
intramiddle section for generated entries (eg \">)
postpostfix for generated entries (eg </a></li> )

Summary

The menu_get_body function returns a big string containing the HTML formatted body of the requested menu. Using the pre, intra and post parameters you can include the correct entry pre-amble, mid-section and tail-section for your desired menu layout.

Availability

menu_get_body is available in both perl and php.