Class Summary HTML_Menu_ArrayRenderer -- The renderer that creates an array of visible menu entries.
Output array
The resultant array can be used with e.g. a template engine to produce a completely custom menu look.
All menu types except 'rows' are "rendered" into a one-dimensional array of entries:
array( 'entry1', ... 'entryN' )
while 'rows' produce a two-dimensional array:
array( array('entry 1 for row 1', ..., 'entry M_1 for row 1'), ... array('entry 1 for row N', ..., 'entry M_N for row 1') )
Here entry is
array( 'url' => url element of menu entry 'title' => title element of menu entry 'level' => entry's depth in the tree structure 'type' => type of entry, one of HTML_MENU_ENTRY_* constants )
A list of the above mentioned HTML_MENU_ENTRY_* constants can be found here.
Deliver First Class Web Sites: 101 Essential Checklists Want to learn how to make your web sites usable and accessible? Want to ensure that your sites meet current best practice, without spending hours trawling through incomprehensible specifications and recommendations from dozens of different books, research papers, and web sites? Want to make sure that the sites you build are "right the first time," requiring no costly redevelopments?