The Menu:: class provides a uniform way to generate application menus
<?php
require_once HORDE_BASE . '/lib/Menu.php';
Menu::printItem('script1', 'Item 1', 'item1.gif'); Menu::printItem('script2', 'Item 2', 'item2.gif');
?>
- The Menu class helps Horde applications provide a consistent user experience by wrapping up menu generation.
- Any application that using it is ensured of having a menu interface and behavior consistent with all other Horde applications.
|