- function item($actionName, $args, $label, $description, $id=null)
+ if (Event::handle('StartNav', array($this, &$tag, &$items))) {
+
+ $this->out->elementStart('ul', $attrs);
+
+ foreach ($items as $item) {
+ list($actionName, $args, $label, $description, $id) = $item;
+ $this->item($actionName, $args, $label, $description, $id);
+ }
+
+ $this->out->elementEnd('ul');
+
+ Event::handle('EndNav', array($this, $tag, $items));
+ }
+ }
+
+ function item($actionName, $args, $label, $description, $id=null, $cls=null)