Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Method

Signature

Comments/Sample

getMenuItems

MenuItem getMenuItems()

 


getHtml

string getHtml

returns a <ul> list of menu items as a block of html. Convenience method. The LI tag will contain classes:

  • menu-current-url
  • menu-child-current-url

to help with styling the menu to show the active location of the customer.