SYNOPSIS
Provides the functions for generating the data structures for the LedgerSMB menu.COPYRIGHT
Copyright (c) 2007 The LedgerSMB Core Team. Licensed under the GNU General Public License version 2 or at your option any later version. Please see the included COPYRIGHT and LICENSE files for more information.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).
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.