XMenu class A Generic Javascript Menu. This class provides a multi-level menu implemented in cross-browser Javascript. It should be compatible with Netscape 4, Netscape 6, and IE 4+.
Located in /xmenu-defs.php (line 52)
RenderableObject | --Xmenu
Whether this menu exists in the database
Whether to force rebuild or not
Whether images were changed or not
Menu image object: horizontal arrow
Menu image object: spacer
Menu image object: vertical arrow
Menu language
The menu instance
Unique database menu ID
Menu name eg: 'main'
Whether menu structure was rebuilt or not
Menu type from stylesheet: vertical, horizontal
Name of stylesheet file to get menu styles from
Path to menu variables file - theme aware
WWW Xmenu config URL - theme aware
Home dir for Xmenu images
Home dir for Xmenu scripts
Constructor Create the Xmenu object.
Display in webpage Inserts the javascript necessary to embed the menu into a given webpage.
NB: Normally the webpage passed in here is $RESPONSE.
This renders the field as HTML.
Inserts the HTML DIV tag which the HVmenu will use to position itself to. The name of the DIV is taken from the unique menu ID, and corresponds to the TargetLoc variable defined above..
Set the standard images up. This method just re-asserts that the Xmenu should use the standard Xmenu images for arrows, spacer etc.
Over-rides the standard icon images used to indicate submenus and spaces. The values passed should be image objects as instances of the 'img' class (@see img()).
Recursively produce menu definition entries. These array
definitions define the menu structure in terms of the actual menus and their sub-menus. This routine produces a single menu-option definition, but will recursively call all child (sub-menu) definitions.
Inherited From RenderableObject
RenderableObject::RenderableObject()
RenderableObject::html()
RenderableObject::render()
RenderableObject::wml()
RenderableObject::wmlup()
RenderableObject::xml()
Documentation generated by phpDocumentor 1.3.0RC3