schmunk42/p3pages — pull request #7 by ametad (2012-09-27 13:51:00+00:00)
Title: sub-menu-structure if a menu-item has children

P3Page::getMenuItems() now returns sub-menu-structure if a menu-item has children.

Notice that both 'url' keys in the 'if' statement use the createUrl() method to get their values. Although Twitter Bootstrap needs the 'href' set to be '#', it looks like the Bootstrap Module of Crisu83 does this automatically.