Revert "abstraction for starting and ending a menu"

This reverts commit b4f1281799.
This commit is contained in:
Evan Prodromou 2011-03-07 12:39:52 -05:00
parent 6ab7329e85
commit b751ab70fb

View File

@ -62,23 +62,6 @@ class Menu extends Widget
$this->actionName = $action->trimmed('action'); $this->actionName = $action->trimmed('action');
} }
function id()
{
return 'unknown_menu';
}
function menuStart()
{
$this->action->elementStart('div', array('id' => $this->id()));
$this->action->elementStart('ul', array('class' => 'nav'));
}
function menuEnd()
{
$this->action->elementEnd('ul');
$this->action->elementEnd('div');
}
function item($actionName, $args, $label, $description, $id=null) function item($actionName, $args, $label, $description, $id=null)
{ {
if (empty($id)) { if (empty($id)) {