public function deployGrid($select = null) { if ($select === null) { $select = $this->db->select()->from('unit'); } $this->grid->setSource(new Bvb_Grid_Source_Zend_Select($select)); $grid = $this->grid->deploy(); $this->controller->getResponse()->setBody($grid); return $grid; }