Public Member Functions | Protected Member Functions | Protected Attributes

HTMLMenus Class Reference

Inheritance diagram for HTMLMenus:
Inheritance graph
[legend]
Collaboration diagram for HTMLMenus:
Collaboration graph
[legend]

Public Member Functions

 __construct (&$xmlArr)
 render ()
 rerender ()

Protected Member Functions

 readMetadata (&$xmlArr)
 renderMenuItems (&$menuItemArray)
 renderSingleMenuItem (&$menuItem)
 translate ($caption)
 getTransKey ($name)

Protected Attributes

 $m_MenuItemsXml = null

Detailed Description

Definition at line 26 of file HTMLMenus.php.


Constructor & Destructor Documentation

__construct ( &$  xmlArr )

Initialize HTMLMenus with xml array

Parameters:
array$xmlArr
Returns:
void

Reimplemented from MetaObject.

Definition at line 36 of file HTMLMenus.php.

Here is the call graph for this function:


Member Function Documentation

readMetadata ( &$  xmlArr ) [protected]

Read Metadata from xml array

Parameters:
array$xmlArr
Returns:
void

Reimplemented from MetaObject.

Definition at line 51 of file HTMLMenus.php.

Here is the caller graph for this function:

render (  )

Render the html menu

Returns:
string html content of the menu

Implements iUIControl.

Definition at line 64 of file HTMLMenus.php.

Here is the call graph for this function:

Here is the caller graph for this function:

renderMenuItems ( &$  menuItemArray ) [protected]

Render menu items

Parameters:
array$menuItemArraymenu item array
Returns:
string html content of the menu items

Definition at line 79 of file HTMLMenus.php.

Here is the call graph for this function:

Here is the caller graph for this function:

renderSingleMenuItem ( &$  menuItem ) [protected]

Render single menu item

Parameters:
array$menuItemmenu item metadata xml array
Returns:
string html content of each menu item

Definition at line 102 of file HTMLMenus.php.

Here is the call graph for this function:

Here is the caller graph for this function:

rerender (  )

Rerender the menu

Returns:
string html content of the menu

Definition at line 155 of file HTMLMenus.php.

Here is the call graph for this function:


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