PEAR is archived and read-only

This mirror preserves historical PEAR package releases and metadata so existing references remain available.

Home » HTML » HTML_Menu » Bug #6255

Use references to the menu instead of copying the _menu object

Details

Request #6255Use references to the menu instead of copying the _menu object
Submitted2005-12-15 22:41 UTC
Fromcweiske at cweiske dot de
StatusWont fix
PackageHTML_Menu
PHP VersionIrrelevant
OSAny
Roadmaps(Not assigned)

Comments

[2005-12-15 22:41 UTC] cweiske at cweiske dot de

Description:
------------
I think it would be good if the menu class would use references of the menu array instead of copies. That should increase memory consumption a bit (if you have large menus) and allows you to change the menu after it has been set.

Generally all method signatures containing "$menu" had to be changed to "&$menu".