default
[ class tree: default ] [ index: default ] [ all elements ]

Procedural File: menu_helper.php

Source Location: /helpers/menu_helper.php



Page Details:









menu_is_active [line 15]

string menu_is_active( integer $menu_pos, [string $html_ok = false], [string $html_nok = false])

Menu Is Active

Check if menu is selected




Tags:

access:  public


Parameters

integer   $menu_pos   item position in menu
string   $html_ok   string to return if menu is selected
string   $html_nok   string to return if menu is not selected
[ Top ]



print_menu [line 43]

string print_menu( integer $key, array $menu, [boolean $sub = false])

Print Menu

Returns menu item




Tags:

access:  public


Parameters

integer   $key   item position in menu
array   $menu   menu properties
boolean   $sub   is submenu
[ Top ]



write_menu [line 74]

string write_menu( integer $key, array $menu)

Write Menu

Returns menu item with its submenu




Tags:

access:  public


Parameters

integer   $key   item position in menu
array   $menu   menu properties
[ Top ]



Documentation generated on Sun, 11 Jan 2009 04:21:10 +0100 by phpDocumentor 1.4.1