Ejemplo n.º 1
0
 public function renderColumnActions(\Nethgui\Renderer\Xhtml $view)
 {
     $buttonList = $view->buttonList(\Nethgui\Renderer\WidgetFactoryInterface::BUTTONSET)->setAttribute('maxElements', 1);
     foreach ($view as $actionId => $actionInfo) {
         $button = $view->button($actionId, \Nethgui\Renderer\WidgetFactoryInterface::BUTTON_LINK)->setAttribute('value', $actionInfo[1]);
         $buttonList->insert($button);
     }
     return $buttonList;
 }