[PHPLIB-DEV] Raw idea for a menu class From: Kristian Köhntopp (kk <email protected>)
Date: 10/27/99

Please have a look at the attached example for a menu class.
This is a raw sketch for a menu class.

Currently, the menu definition is static, which should be
fine with most uses, but by overriding the setup() method we
should be able to have more flexible or even totally dynamic
menu definitions.

Currently, the menu is very simple and only a text link, but
by overriding the show_cell() definition we should be able
to have image menu cells or things like that. We should know
the current indentation level and make it available to menu
and we should call a show_menu_start() and show_menu_end()
methods to allow for table opening and closing methods, just
as in Table.

I have committed the menu.inc to the CVS and the class is
identical to what is in this tar archive. Please continue
to work on the CVS, I will not accept patches against this
tar archive.

Kristian

-- 
Kristian Köhntopp, NetUSE Kommunikationstechnologie GmbH
Siemenswall, D-24107 Kiel, Germany, +49 431 386 436 00
Using PHP3? See our web development library at
http://phplib.netuse.de/ (We have moved! Update your bookmarks!)
  • application/x-gtar attachment: menu.tgz

- PHPLIB Developers Mailing List. Send messages to <phplib-dev <email protected>>. To unsubscribe, send "unsubscribe" to <phplib-dev-request <email protected>> in the body, not the subject, of your message.