Ejemplo n.º 1
0
 public function setCity($id)
 {
     $modelCity = new Z_Model_Geo_Cityes();
     $city = $modelCity->find($id)->current();
     if ($city) {
         $ns = $this->_getNameSpace();
         $this->city = $city;
         $ns->cityId = $city->id;
     } else {
         return false;
     }
 }