private function setModel($row) { //$parent=$row->findParentRow('Application_Model_DbTable_Destination','Continent'); $model = new Application_Model_Destination(); $model->setId($row->id)->setTitle($row->title)->setIntroduction($row->introduction)->setLocationId($row->location_id)->setLocationType($row->location_type)->setBankBreaker($row->bank_breaker)->setKnowledge($row->knowledge)->setAddedon($row->addedon)->setUpdatedon($row->updatedon); return $model; }