/** Set up view for individual contact */ public function profileAction() { if ($this->_getParam('id', false)) { $id = $this->_getParam('id'); $staffs = new Contacts(); $this->view->staffs = $staffs->getPersonDetails($id); $findstotals = new Finds(); $this->view->findstotals = $findstotals->getFindsFloQuarter($id); $periodtotals = new Finds(); $this->view->periodtotals = $periodtotals->getFindsFloPeriod($id); } else { throw new Pas_Exception_Param($this->_missingParameter); } }