Example #1
0
 protected function getItemViewData(BASE_MenuItem $menuItem)
 {
     return array('label' => $menuItem->getLabel(), 'url' => $menuItem->getUrl(), 'class' => $menuItem->getPrefix() . '_' . $menuItem->getKey(), 'iconClass' => $menuItem->getIconClass(), 'active' => $menuItem->isActive(), 'new_window' => $menuItem->getNewWindow(), 'prefix' => $menuItem->getPrefix(), 'key' => $menuItem->getKey());
 }