Class template.MainMenuManager

Description

This class is used as a way to decouple the XML processing and other functions that are subject to change in the future versions.

Method Index

new MainMenuManager()
processXML()

Constructor Detail

MainMenuManager

public function MainMenuManager(menu:GenericMenu)

The constructor

Parameters

menu- the menu object

Method Detail

processXML

public function processXML(menu_xml:XML):Array

Call this function to process the menu XML data loaded from an XML file.

Parameters

menu_xml- the XML data loaded into the menu

Return

- an array containing the menu item data

Overrides

processXML() in com.maheshj.UI.core.GenericMenuManager