Index

(menu)

o2menu_code

boolean o2menu_code(string $menu_name, string $style)

Return HTML code for a requested menu.
Menu code can be requested for available styles ([T]op, [L]eft, [H]ide, [A]ccordion).
If style parameter is left out, then actual INI style will be used.


Parameters:
  1. $menu_name
  2. $style
  3. [T]op, [L]eft, [H]ide or [A]ccordion