Home » HTML » HTML_Menu » Bug #6255
Use references to the menu instead of copying the _menu object
Details
| Request #6255 | Use references to the menu instead of copying the _menu object |
|---|---|
| Submitted | 2005-12-15 22:41 UTC |
| From | cweiske at cweiske dot de |
| Status | Wont fix |
| Package | HTML_Menu |
| PHP Version | Irrelevant |
| OS | Any |
| 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".