Example #1
0
 private function setModel($row)
 {
     //$parent=$row->findParentRow('Application_Model_DbTable_City','City');
     $model = new Application_Model_Area();
     $model->setId($row->id)->setName($row->name)->setCityId($row->city_id)->setRegionId($row->region_id)->setCountryId($row->country_id)->setContinentId($row->continent_id);
     return $model;
 }