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_itemwould 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).
Copyright (C) 2007 The LedgerSMB Core Team
Licensed under the GNU General Public License version 2 or later (at your option). For more information please see the included LICENSE and COPYRIGHT files.
Releases
2 releases since Debian 7 (Wheezy); the text changed 1 time.