Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/bostrt/othermenu

Menu module for phpWebsite
https://github.com/bostrt/othermenu

Last synced: 19 days ago
JSON representation

Menu module for phpWebsite

Awesome Lists containing this project

README

        

Robert Bost
Appalachian State University
Electronic Student Services

Menu is a menu making app for use with phpWebsite. The goal is to have an simple way to create an embedded menu. Tags
are used to identify menus and items. Menus and items can be added to menus using the tags.
Example:

$menu = new Menu('top_level', 'Menu');
$menu->addMenu('search', 'Search');
$menu->addMenuItem('name_search', 'Search Names', 'search');
$menu->addMenuItem('email_search', 'Search Emails', 'search');
$menu->addMenu('settings', 'Settings');
$menu->addMenu('email_settings', 'Email Settings', 'setttings');

From the example you can see that the menu has gone three menus deep. It can go further but I don't wanna right now.