LedgerSMB::DBObject::Menu(3pm)

LedgerSMB::DBObject::Menu3pm

Menu handling back-end routines for ledgersmb

Usage

Provides the functions for generating the data structures for the LedgerSMB menu.

Methods

new()

Inherited from LedgerSMB::DBObject. Please see that documnetation for details.

generate()

This function returns a list of menu items. Each list item is a hashref: keys %menu_item would return the equivalent of qw(position id level label path args). Returns the complete list and sets $menu->{menu_items} to a referene to th result set, This function does not return an entry for the top-level menu.

generate_section()

This class acts like Menu::Generate except it returns only a cross-section of the menu. Basically it returns all nodes which are direct children below $object->{parent_id}.

will_expire_soon()

This method returns true if the user's password will expire soon (within the next week).

Releases

2 releases since Debian 7 (Wheezy); the text changed 1 time.

  1. 7
  2. 8

From ledgersmb 1.3.40-1 in Debian 8 (Jessie). Parsed by carta from the page's man source.