Exemplo n.º 1
0
 private function setModel($row)
 {
     //$parent=$row->findParentRow('Application_Model_DbTable_Destination','Continent');
     $model = new Application_Model_EatSleepDrink();
     $model->setId($row->id)->setTitle($row->title)->setBackPackerCopy($row->back_packer_copy)->setlocalCopy($row->local_copy)->setDestinationId($row->destination_id)->setAddedon($row->addedon)->setUpdatedon($row->updatedon);
     return $model;
 }