'sg.id', 'servicegroup' => 'sg.object_name', 'display_name' => 'sg.display_name' ); } protected function getActionUrl($row) { return $this->url('director/object/servicegroup', array('id' => $row->id)); } public function getTitles() { $view = $this->view(); return array( 'servicegroup' => $view->translate('Servicegroup'), 'display_name' => $view->translate('Display Name'), ); } public function fetchData() { $db = $this->connection()->getConnection(); $query = $db->select()->from( array('sg' => 'icinga_servicegroup'), $this->getColumns() ); return $db->fetchAll($query); } }