public function shareAction() { // action body $request = $this->getRequest(); $id = $request->getParam('id'); if (isset($id)) { $shareMapper = new Application_Model_ShareMapper(); $rows = $shareMapper->find($id); // we need to extract the shared_wins and shared_wants if any // then we need to retrieve the wins_and_wants and specific wins and wants of // how do we do that? $this->view->rows = $rows[0]; } }