public function find($meaId,Pment_Models_Measure $measure) { $resultSet = $this->getDbTable()->find($meaId); if (0 == count($resultSet)) { return; } $row = $resultSet->current(); $measure->setMeaId($row->meaId) ->setProjectId($row->projectId) ->setMeaDate($row->meaDate) ->setMeasure($row->measure) ->setProblem($row->problem) ->setContactId($row->contactId) ->setRemark($row->remark) ->setCTime($row->cTime); $contacts = new Employee_Models_ContactMapper(); $contactName = $contacts->findContactName($measure->getContactId()); $measure->setcontactName($contactName); }