Menu system

From Project Auriga

Jump to: navigation, search

Menus are constructed from the Menu table. Each view with a menu has a "menu name", and querying the table with this name gets all the menu items for that menu. Some of the other fields need explanation/definition:

Contents

[edit] Menu

The name of the menu this item belongs to

[edit] Label

What to show on the link/menu item

[edit] Link

Null if this link is a group, or the URL to open.

[edit] Type

The method to open. Depends on menu type, and module.

Main menu options:

  • tab
  • new (new page)
  • show_help
  • show_toolbox
  • toolbox
  • pane
  • parent
  • load_children (dynamic)

[edit] Parent_id

Always "0" for top level items. Otherwise id of parent menu item.

[edit] indx

Simple default sort column

[edit] user_group

Main user group that can use this menu item.

Personal tools