{"comment":{"created_at":"2011-10-18T13:12:45Z","body":"Okay, then i was on a wrong path. I read the docs - it seems i can not manipulate the parent element of sub nodes - like the classname in the ul tag. Is this correct?","updated_at":"2011-10-18T13:12:45Z","url":"https://api.github.com/repos/knplabs/KnpMenu/issues/comments/2441491","id":2441491,"user":{"avatar_url":"https://secure.gravatar.com/avatar/1864c22052fd0ef218d6ca04061ec8f1?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"1864c22052fd0ef218d6ca04061ec8f1","url":"https://api.github.com/users/rogerized","id":866854,"login":"rogerized"}},"action":"created","issue":{"number":18,"created_at":"2011-10-18T12:10:56Z","pull_request":{"diff_url":null,"patch_url":null,"html_url":null},"body":"Hi,\r\n\r\nin the class MenuItem i read the following comment:\r\n\r\nprotected $name = null; // the name of this menu item (used for id by parent menu)\r\n\r\nIf it should use the name to actually prefix the parent element for a multidimensional menu, it does not work. But maybe i expect something wrong? My class for parent (ul) is named \"menu_level_1\", \"menu_level_2\" and so on (I use with the TwigRenderer). Even for another menutree. So i have the same name for alle Submenus in all menus. \r\n\r\nHopefully my problem is understandable. It is a very nice Bundle though ;)","comments":2,"title":"MenuItem name for parent menu","updated_at":"2011-10-18T13:12:45Z","url":"https://api.github.com/repos/knplabs/KnpMenu/issues/18","id":1938803,"assignee":null,"milestone":null,"closed_at":null,"user":{"avatar_url":"https://secure.gravatar.com/avatar/1864c22052fd0ef218d6ca04061ec8f1?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"1864c22052fd0ef218d6ca04061ec8f1","url":"https://api.github.com/users/rogerized","id":866854,"login":"rogerized"},"html_url":"https://github.com/knplabs/KnpMenu/issues/18","labels":[],"state":"open"},"legacy":{"issue_id":1938803,"comment_id":2441491}}