nodesagency/Platform-Common-Plugin — pull request #7 by AD7six (2012-09-27 13:45:13+00:00)
Title: make it possible to know if a menu is empty

so that you can forgo rendering it at all. This is most useful where it's not just the menu that should be hidden i.e.

if (!$this->Menu->hasData('top')) {
return;
}
?>
...

echo $this->Menu->display('top');