PEAR is discontinued

This is a static archive preserving historical releases and metadata. No new packages or updates will be published. For updates to existing packages, or to publish new packages, please use Composer and Packagist.

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".