Changeset 444

Show
Ignore:
Timestamp:
11/04/08 11:01:03 (2 months ago)
Author:
arnaud
Message:

Libs Market à jour

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/lib/model/map/MarketMapBuilder.php

    r362 r444  
    4343                $tMap->addColumn('AGENCY_CITY', 'AgencyCity', 'string', CreoleTypes::VARCHAR, false, 100); 
    4444 
     45                $tMap->addColumn('AGENCY_AGENT', 'AgencyAgent', 'string', CreoleTypes::VARCHAR, false, 100); 
     46 
     47                $tMap->addColumn('AGENCY_PHONE', 'AgencyPhone', 'string', CreoleTypes::VARCHAR, false, 100); 
     48 
     49                $tMap->addColumn('AGENCY_MAIL', 'AgencyMail', 'string', CreoleTypes::VARCHAR, false, 100); 
     50 
    4551                $tMap->addForeignKey('NATURE_ID', 'NatureId', 'int', CreoleTypes::INTEGER, 'market_nature', 'ID', true, 11); 
    4652 
     
    129135                $tMap->addColumn('SECTOR', 'Sector', 'string', CreoleTypes::VARCHAR, false, 100); 
    130136 
     137                $tMap->addForeignKey('DISTRICT_ID', 'DistrictId', 'int', CreoleTypes::INTEGER, 'apidistrict', 'ID', false, 11); 
     138 
    131139                $tMap->addColumn('ADDRESS1', 'Address1', 'string', CreoleTypes::VARCHAR, false, 100); 
    132140 
     
    190198 
    191199                $tMap->addColumn('URL', 'Url', 'string', CreoleTypes::VARCHAR, false, 160); 
     200 
     201                $tMap->addColumn('LAST_CHANGE', 'LastChange', 'int', CreoleTypes::TIMESTAMP, false, null); 
    192202 
    193203                $tMap->addColumn('CREATED_AT', 'CreatedAt', 'int', CreoleTypes::TIMESTAMP, false, null); 
  • trunk/lib/model/om/BaseMarket.php

    r362 r444  
    3030 
    3131         
     32        protected $agency_agent; 
     33 
     34 
     35         
     36        protected $agency_phone; 
     37 
     38 
     39         
     40        protected $agency_mail; 
     41 
     42 
     43         
    3244        protected $nature_id; 
    3345 
     
    202214 
    203215         
     216        protected $district_id; 
     217 
     218 
     219         
    204220        protected $address1; 
    205221 
     
    326342 
    327343         
     344        protected $last_change; 
     345 
     346 
     347         
    328348        protected $created_at; 
    329349 
     
    342362 
    343363         
     364        protected $aApidistrict; 
     365 
     366         
    344367        protected $collPictures; 
    345368 
     
    386409 
    387410                return $this->agency_city; 
     411        } 
     412 
     413         
     414        public function getAgencyAgent() 
     415        { 
     416 
     417                return $this->agency_agent; 
     418        } 
     419 
     420         
     421        public function getAgencyPhone() 
     422        { 
     423 
     424                return $this->agency_phone; 
     425        } 
     426 
     427         
     428        public function getAgencyMail() 
     429        { 
     430 
     431                return $this->agency_mail; 
    388432        } 
    389433 
     
    750794 
    751795         
     796        public function getDistrictId() 
     797        { 
     798 
     799                return $this->district_id; 
     800        } 
     801 
     802         
    752803        public function getAddress1() 
    753804        { 
     
    9641015 
    9651016                return $this->url; 
     1017        } 
     1018 
     1019         
     1020        public function getLastChange($format = 'Y-m-d H:i:s') 
     1021        { 
     1022 
     1023                if ($this->last_change === null || $this->last_change === '') { 
     1024                        return null; 
     1025                } elseif (!is_int($this->last_change)) { 
     1026                                                $ts = strtotime($this->last_change); 
     1027                        if ($ts === -1 || $ts === false) {                              throw new PropelException("Unable to parse value of [last_change] as date/time value: " . var_export($this->last_change, true)); 
     1028                        } 
     1029                } else { 
     1030                        $ts = $this->last_change; 
     1031                } 
     1032                if ($format === null) { 
     1033                        return $ts; 
     1034                } elseif (strpos($format, '%') !== false) { 
     1035                        return strftime($format, $ts); 
     1036                } else { 
     1037                        return date($format, $ts); 
     1038                } 
    9661039        } 
    9671040 
     
    10851158        }  
    10861159         
     1160        public function setAgencyAgent($v) 
     1161        { 
     1162 
     1163                                                if ($v !== null && !is_string($v)) { 
     1164                        $v = (string) $v;  
     1165                } 
     1166 
     1167                if ($this->agency_agent !== $v) { 
     1168                        $this->agency_agent = $v; 
     1169                        $this->modifiedColumns[] = MarketPeer::AGENCY_AGENT; 
     1170                } 
     1171 
     1172        }  
     1173         
     1174        public function setAgencyPhone($v) 
     1175        { 
     1176 
     1177                                                if ($v !== null && !is_string($v)) { 
     1178                        $v = (string) $v;  
     1179                } 
     1180 
     1181                if ($this->agency_phone !== $v) { 
     1182                        $this->agency_phone = $v; 
     1183                        $this->modifiedColumns[] = MarketPeer::AGENCY_PHONE; 
     1184                } 
     1185 
     1186        }  
     1187         
     1188        public function setAgencyMail($v) 
     1189        { 
     1190 
     1191                                                if ($v !== null && !is_string($v)) { 
     1192                        $v = (string) $v;  
     1193                } 
     1194 
     1195                if ($this->agency_mail !== $v) { 
     1196                        $this->agency_mail = $v; 
     1197                        $this->modifiedColumns[] = MarketPeer::AGENCY_MAIL; 
     1198                } 
     1199 
     1200        }  
     1201         
    10871202        public function setNatureId($v) 
    10881203        { 
     
    16711786        }  
    16721787         
     1788        public function setDistrictId($v) 
     1789        { 
     1790 
     1791                                                if ($v !== null && !is_int($v) && is_numeric($v)) { 
     1792                        $v = (int) $v; 
     1793                } 
     1794 
     1795                if ($this->district_id !== $v) { 
     1796                        $this->district_id = $v; 
     1797                        $this->modifiedColumns[] = MarketPeer::DISTRICT_ID; 
     1798                } 
     1799 
     1800                if ($this->aApidistrict !== null && $this->aApidistrict->getId() !== $v) { 
     1801                        $this->aApidistrict = null; 
     1802                } 
     1803 
     1804        }  
     1805         
    16731806        public function setAddress1($v) 
    16741807        { 
     
    20732206                        $this->url = $v; 
    20742207                        $this->modifiedColumns[] = MarketPeer::URL; 
     2208                } 
     2209 
     2210        }  
     2211         
     2212        public function setLastChange($v) 
     2213        { 
     2214 
     2215                if ($v !== null && !is_int($v)) { 
     2216                        $ts = strtotime($v); 
     2217                        if ($ts === -1 || $ts === false) {                              throw new PropelException("Unable to parse date/time value for [last_change] from input: " . var_export($v, true)); 
     2218                        } 
     2219                } else { 
     2220                        $ts = $v; 
     2221                } 
     2222                if ($this->last_change !== $ts) { 
     2223                        $this->last_change = $ts; 
     2224                        $this->modifiedColumns[] = MarketPeer::LAST_CHANGE; 
    20752225                } 
    20762226 
     
    21252275                        $this->agency_city = $rs->getString($startcol + 4); 
    21262276 
    2127                         $this->nature_id = $rs->getInt($startcol + 5); 
    2128  
    2129                         $this->type_id = $rs->getInt($startcol + 6); 
    2130  
    2131                         $this->active = $rs->getBoolean($startcol + 7); 
    2132  
    2133                         $this->exclusivity = $rs->getBoolean($startcol + 8); 
    2134  
    2135                         $this->mandat_number = $rs->getString($startcol + 9); 
    2136  
    2137                         $this->mandat_comment = $rs->getString($startcol + 10); 
    2138  
    2139                         $this->mandat_start_date = $rs->getTimestamp($startcol + 11, null); 
    2140  
    2141                         $this->mandat_end_date = $rs->getTimestamp($startcol + 12, null); 
    2142  
    2143                         $this->available_date = $rs->getTimestamp($startcol + 13, null); 
    2144  
    2145                         $this->compromise = $rs->getBoolean($startcol + 14); 
    2146  
    2147                         $this->compromise_date = $rs->getTimestamp($startcol + 15, null); 
    2148  
    2149                         $this->reduced_costs = $rs->getBoolean($startcol + 16); 
    2150  
    2151                         $this->keys_in_agency = $rs->getBoolean($startcol + 17); 
    2152  
    2153                         $this->busy = $rs->getBoolean($startcol + 18); 
    2154  
    2155                         $this->price = $rs->getInt($startcol + 19); 
    2156  
    2157                         $this->land_tax = $rs->getInt($startcol + 20); 
    2158  
    2159                         $this->costs = $rs->getInt($startcol + 21); 
    2160  
    2161                         $this->agency_fees = $rs->getInt($startcol + 22); 
    2162  
    2163                         $this->parts = $rs->getString($startcol + 23); 
    2164  
    2165                         $this->level = $rs->getInt($startcol + 24); 
    2166  
    2167                         $this->levels = $rs->getInt($startcol + 25); 
    2168  
    2169                         $this->lastlevel = $rs->getBoolean($startcol + 26); 
    2170  
    2171                         $this->private_garden = $rs->getBoolean($startcol + 27); 
    2172  
    2173                         $this->caves = $rs->getInt($startcol + 28); 
    2174  
    2175                         $this->carparks = $rs->getInt($startcol + 29); 
    2176  
    2177                         $this->carparks_out = $rs->getInt($startcol + 30); 
    2178  
    2179                         $this->carparks_basement = $rs->getInt($startcol + 31); 
    2180  
    2181                         $this->state = $rs->getString($startcol + 32); 
    2182  
    2183                         $this->quiet = $rs->getBoolean($startcol + 33); 
    2184  
    2185                         $this->exposition = $rs->getString($startcol + 34); 
    2186  
    2187                         $this->view = $rs->getString($startcol + 35); 
    2188  
    2189                         $this->kitchen = $rs->getString($startcol + 36); 
    2190  
    2191                         $this->bathrooms = $rs->getInt($startcol + 37); 
    2192  
    2193                         $this->wcs = $rs->getInt($startcol + 38); 
    2194  
    2195                         $this->rooms = $rs->getInt($startcol + 39); 
    2196  
    2197                         $this->livingroom_surface = $rs->getInt($startcol + 40); 
    2198  
    2199                         $this->total_surface = $rs->getInt($startcol + 41); 
    2200  
    2201                         $this->garden_surface = $rs->getInt($startcol + 42); 
    2202  
    2203                         $this->terrace_surface = $rs->getInt($startcol + 43); 
    2204  
    2205                         $this->comment = $rs->getString($startcol + 44); 
    2206  
    2207                         $this->comment_private = $rs->getString($startcol + 45); 
    2208  
    2209                         $this->building = $rs->getString($startcol + 46); 
    2210  
    2211                         $this->sector = $rs->getString($startcol + 47); 
    2212  
    2213                         $this->address1 = $rs->getString($startcol + 48); 
    2214  
    2215                         $this->address2 = $rs->getString($startcol + 49); 
    2216  
    2217                         $this->zipcode = $rs->getString($startcol + 50); 
    2218  
    2219                         $this->city = $rs->getString($startcol + 51); 
    2220  
    2221                         $this->city_insee = $rs->getInt($startcol + 52); 
    2222  
    2223                         $this->street_insee = $rs->getInt($startcol + 53); 
    2224  
    2225                         $this->standing_type = $rs->getString($startcol + 54); 
    2226  
    2227                         $this->era = $rs->getString($startcol + 55); 
    2228  
    2229                         $this->heading_type = $rs->getString($startcol + 56); 
    2230  
    2231                         $this->hot_water = $rs->getString($startcol + 57); 
    2232  
    2233                         $this->custodian = $rs->getBoolean($startcol + 58); 
    2234  
    2235                         $this->park = $rs->getBoolean($startcol + 59); 
    2236  
    2237                         $this->garden = $rs->getBoolean($startcol + 60); 
    2238  
    2239                         $this->swimmingpool = $rs->getBoolean($startcol + 61); 
    2240  
    2241                         $this->tennis = $rs->getBoolean($startcol + 62); 
    2242  
    2243                         $this->lift = $rs->getBoolean($startcol + 63); 
    2244  
    2245                         $this->legal_status = $rs->getString($startcol + 64); 
    2246  
    2247                         $this->house_kind = $rs->getString($startcol + 65); 
    2248  
    2249                         $this->house_name = $rs->getString($startcol + 66); 
    2250  
    2251                         $this->housing_name = $rs->getString($startcol + 67); 
    2252  
    2253                         $this->lot_num = $rs->getString($startcol + 68); 
    2254  
    2255                         $this->environnement = $rs->getString($startcol + 69); 
    2256  
    2257                         $this->configuration = $rs->getString($startcol + 70); 
    2258  
    2259                         $this->vegetation = $rs->getString($startcol + 71); 
    2260  
    2261                         $this->access = $rs->getString($startcol + 72); 
    2262  
    2263                         $this->cadastre_reference = $rs->getString($startcol + 73); 
    2264  
    2265                         $this->assainissement = $rs->getString($startcol + 74); 
    2266  
    2267                         $this->cos = $rs->getInt($startcol + 75); 
    2268  
    2269                         $this->shon = $rs->getInt($startcol + 76); 
    2270  
    2271                         $this->building_permit = $rs->getBoolean($startcol + 77); 
    2272  
    2273                         $this->url = $rs->getString($startcol + 78); 
    2274  
    2275                         $this->created_at = $rs->getTimestamp($startcol + 79, null); 
    2276  
    2277                         $this->updated_at = $rs->getTimestamp($startcol + 80, null); 
     2277                        $this->agency_agent = $rs->getString($startcol + 5); 
     2278 
     2279                        $this->agency_phone = $rs->getString($startcol + 6); 
     2280 
     2281                        $this->agency_mail = $rs->getString($startcol + 7); 
     2282 
     2283                        $this->nature_id = $rs->getInt($startcol + 8); 
     2284 
     2285                        $this->type_id = $rs->getInt($startcol + 9); 
     2286 
     2287                        $this->active = $rs->getBoolean($startcol + 10); 
     2288 
     2289                        $this->exclusivity = $rs->getBoolean($startcol + 11); 
     2290 
     2291                        $this->mandat_number = $rs->getString($startcol + 12); 
     2292 
     2293                        $this->mandat_comment = $rs->getString($startcol + 13); 
     2294 
     2295                        $this->mandat_start_date = $rs->getTimestamp($startcol + 14, null); 
     2296 
     2297                        $this->mandat_end_date = $rs->getTimestamp($startcol + 15, null); 
     2298 
     2299                        $this->available_date = $rs->getTimestamp($startcol + 16, null); 
     2300 
     2301                        $this->compromise = $rs->getBoolean($startcol + 17); 
     2302 
     2303                        $this->compromise_date = $rs->getTimestamp($startcol + 18, null); 
     2304 
     2305                        $this->reduced_costs = $rs->getBoolean($startcol + 19); 
     2306 
     2307                        $this->keys_in_agency = $rs->getBoolean($startcol + 20); 
     2308 
     2309                        $this->busy = $rs->getBoolean($startcol + 21); 
     2310 
     2311                        $this->price = $rs->getInt($startcol + 22); 
     2312 
     2313                        $this->land_tax = $rs->getInt($startcol + 23); 
     2314 
     2315                        $this->costs = $rs->getInt($startcol + 24); 
     2316 
     2317                        $this->agency_fees = $rs->getInt($startcol + 25); 
     2318 
     2319                        $this->parts = $rs->getString($startcol + 26); 
     2320 
     2321                        $this->level = $rs->getInt($startcol + 27); 
     2322 
     2323                        $this->levels = $rs->getInt($startcol + 28); 
     2324 
     2325                        $this->lastlevel = $rs->getBoolean($startcol + 29); 
     2326 
     2327                        $this->private_garden = $rs->getBoolean($startcol + 30); 
     2328 
     2329                        $this->caves = $rs->getInt($startcol + 31); 
     2330 
     2331                        $this->carparks = $rs->getInt($startcol + 32); 
     2332 
     2333                        $this->carparks_out = $rs->getInt($startcol + 33); 
     2334 
     2335                        $this->carparks_basement = $rs->getInt($startcol + 34); 
     2336 
     2337                        $this->state = $rs->getString($startcol + 35); 
     2338 
     2339                        $this->quiet = $rs->getBoolean($startcol + 36); 
     2340 
     2341                        $this->exposition = $rs->getString($startcol + 37); 
     2342 
     2343                        $this->view = $rs->getString($startcol + 38); 
     2344 
     2345                        $this->kitchen = $rs->getString($startcol + 39); 
     2346 
     2347                        $this->bathrooms = $rs->getInt($startcol + 40); 
     2348 
     2349                        $this->wcs = $rs->getInt($startcol + 41); 
     2350 
     2351                        $this->rooms = $rs->getInt($startcol + 42); 
     2352 
     2353                        $this->livingroom_surface = $rs->getInt($startcol + 43); 
     2354 
     2355                        $this->total_surface = $rs->getInt($startcol + 44); 
     2356 
     2357                        $this->garden_surface = $rs->getInt($startcol + 45); 
     2358 
     2359                        $this->terrace_surface = $rs->getInt($startcol + 46); 
     2360 
     2361                        $this->comment = $rs->getString($startcol + 47); 
     2362 
     2363                        $this->comment_private = $rs->getString($startcol + 48); 
     2364 
     2365                        $this->building = $rs->getString($startcol + 49); 
     2366 
     2367                        $this->sector = $rs->getString($startcol + 50); 
     2368 
     2369                        $this->district_id = $rs->getInt($startcol + 51); 
     2370 
     2371                        $this->address1 = $rs->getString($startcol + 52); 
     2372 
     2373                        $this->address2 = $rs->getString($startcol + 53); 
     2374 
     2375                        $this->zipcode = $rs->getString($startcol + 54); 
     2376 
     2377                        $this->city = $rs->getString($startcol + 55); 
     2378 
     2379                        $this->city_insee = $rs->getInt($startcol + 56); 
     2380 
     2381                        $this->street_insee = $rs->getInt($startcol + 57); 
     2382 
     2383                        $this->standing_type = $rs->getString($startcol + 58); 
     2384 
     2385                        $this->era = $rs->getString($startcol + 59); 
     2386 
     2387                        $this->heading_type = $rs->getString($startcol + 60); 
     2388 
     2389                        $this->hot_water = $rs->getString($startcol + 61); 
     2390 
     2391                        $this->custodian = $rs->getBoolean($startcol + 62); 
     2392 
     2393                        $this->park = $rs->getBoolean($startcol + 63); 
     2394 
     2395                        $this->garden = $rs->getBoolean($startcol + 64); 
     2396 
     2397                        $this->swimmingpool = $rs->getBoolean($startcol + 65); 
     2398 
     2399                        $this->tennis = $rs->getBoolean($startcol + 66); 
     2400 
     2401                        $this->lift = $rs->getBoolean($startcol + 67); 
     2402 
     2403                        $this->legal_status = $rs->getString($startcol + 68); 
     2404 
     2405                        $this->house_kind = $rs->getString($startcol + 69); 
     2406 
     2407                        $this->house_name = $rs->getString($startcol + 70); 
     2408 
     2409                        $this->housing_name = $rs->getString($startcol + 71); 
     2410 
     2411                        $this->lot_num = $rs->getString($startcol + 72); 
     2412 
     2413                        $this->environnement = $rs->getString($startcol + 73); 
     2414 
     2415                        $this->configuration = $rs->getString($startcol + 74); 
     2416 
     2417                        $this->vegetation = $rs->getString($startcol + 75); 
     2418 
     2419                        $this->access = $rs->getString($startcol + 76); 
     2420 
     2421                        $this->cadastre_reference = $rs->getString($startcol + 77); 
     2422 
     2423                        $this->assainissement = $rs->getString($startcol + 78); 
     2424 
     2425                        $this->cos = $rs->getInt($startcol + 79); 
     2426 
     2427                        $this->shon = $rs->getInt($startcol + 80); 
     2428 
     2429                        $this->building_permit = $rs->getBoolean($startcol + 81); 
     2430 
     2431                        $this->url = $rs->getString($startcol + 82); 
     2432 
     2433                        $this->last_change = $rs->getTimestamp($startcol + 83, null); 
     2434 
     2435                        $this->created_at = $rs->getTimestamp($startcol + 84, null); 
     2436 
     2437                        $this->updated_at = $rs->getTimestamp($startcol + 85, null); 
    22782438 
    22792439                        $this->resetModified(); 
     
    22812441                        $this->setNew(false); 
    22822442 
    2283                                                 return $startcol + 81;  
     2443                                                return $startcol + 86;  
    22842444                } catch (Exception $e) { 
    22852445                        throw new PropelException("Error populating Market object", $e); 
     
    23682528                                } 
    23692529                                $this->setMarket_type($this->aMarket_type); 
     2530                        } 
     2531 
     2532                        if ($this->aApidistrict !== null) { 
     2533                                if ($this->aApidistrict->isModified()) { 
     2534                                        $affectedRows += $this->aApidistrict->save($con); 
     2535                                } 
     2536                                $this->setApidistrict($this->aApidistrict); 
    23702537                        } 
    23712538 
     
    24452612                        } 
    24462613 
     2614                        if ($this->aApidistrict !== null) { 
     2615                                if (!$this->aApidistrict->validate($columns)) { 
     2616                                        $failureMap = array_merge($failureMap, $this->aApidistrict->getValidationFailures()); 
     2617                                } 
     2618                        } 
     2619 
    24472620 
    24482621                        if (($retval = MarketPeer::doValidate($this, $columns)) !== true) { 
     
    24932666                                break; 
    24942667                        case 5: 
     2668                                return $this->getAgencyAgent(); 
     2669                                break; 
     2670                        case 6: 
     2671                                return $this->getAgencyPhone(); 
     2672                                break; 
     2673                        case 7: 
     2674                                return $this->getAgencyMail(); 
     2675                                break; 
     2676                        case 8: 
    24952677                                return $this->getNatureId(); 
    24962678                                break; 
    2497                         case 6
     2679                        case 9
    24982680                                return $this->getTypeId(); 
    24992681                                break; 
    2500                         case 7
     2682                        case 10
    25012683                                return $this->getActive(); 
    25022684                                break; 
    2503                         case 8
     2685                        case 11
    25042686                                return $this->getExclusivity(); 
    25052687                                break; 
    2506                         case 9
     2688                        case 12
    25072689                                return $this->getMandatNumber(); 
    25082690                                break; 
    2509                         case 10
     2691                        case 13
    25102692                                return $this->getMandatComment(); 
    25112693                                break; 
    2512                         case 11
     2694                        case 14
    25132695                                return $this->getMandatStartDate(); 
    25142696                                break; 
    2515                         case 12
     2697                        case 15
    25162698                                return $this->getMandatEndDate(); 
    25172699                                break; 
    2518                         case 13
     2700                        case 16
    25192701                                return $this->getAvailableDate(); 
    25202702                                break; 
    2521                         case 14
     2703                        case 17
    25222704                                return $this->getCompromise(); 
    25232705                                break; 
    2524                         case 15
     2706                        case 18
    25252707                                return $this->getCompromiseDate(); 
    25262708                                break; 
    2527                         case 16
     2709                        case 19
    25282710                                return $this->getReducedCosts(); 
    25292711                                break; 
    2530                         case 17
     2712                        case 20
    25312713                                return $this->getKeysInAgency(); 
    25322714                                break; 
    2533                         case 18
     2715                        case 21
    25342716                                return $this->getBusy(); 
    25352717                                break; 
    2536                         case 19
     2718                        case 22
    25372719                                return $this->getPrice(); 
    25382720                                break; 
    2539                         case 20
     2721                        case 23
    25402722                                return $this->getLandTax(); 
    25412723                                break; 
    2542                         case 21
     2724                        case 24
    25432725                                return $this->getCosts(); 
    25442726                                break; 
    2545                         case 22
     2727                        case 25
    25462728                                return $this->getAgencyFees(); 
    25472729                                break; 
    2548                         case 23
     2730                        case 26
    25492731                                return $this->getParts(); 
    25502732                                break; 
    2551                         case 24
     2733                        case 27
    25522734                                return $this->getLevel(); 
    25532735                                break; 
    2554                         case 25
     2736                        case 28
    25552737                                return $this->getLevels(); 
    25562738                                break; 
    2557                         case 26
     2739                        case 29
    25582740                                return $this->getLastlevel(); 
    25592741                                break; 
    2560                         case 27
     2742                        case 30
    25612743                                return $this->getPrivateGarden(); 
    25622744                                break; 
    2563                         case 28
     2745                        case 31
    25642746                                return $this->getCaves(); 
    25652747                                break; 
    2566                         case 29
     2748                        case 32
    25672749                                return $this->getCarparks(); 
    25682750                                break; 
    2569                         case 30
     2751                        case 33
    25702752                                return $this->getCarparksOut(); 
    25712753                                break; 
    2572                         case 31
     2754                        case 34
    25732755                                return $this->getCarparksBasement(); 
    25742756                                break; 
    2575                         case 32
     2757                        case 35
    25762758                                return $this->getState(); 
    25772759                                break; 
    2578                         case 33
     2760                        case 36
    25792761                                return $this->getQuiet(); 
    25802762                                break; 
    2581                         case 34
     2763                        case 37
    25822764                                return $this->getExposition(); 
    25832765                                break; 
    2584                         case 35
     2766                        case 38
    25852767                                return $this->getView(); 
    25862768                                break; 
    2587                         case 36
     2769                        case 39
    25882770                                return $this->getKitchen(); 
    25892771                                break; 
    2590                         case 37
     2772                        case 40
    25912773                                return $this->getBathrooms(); 
    25922774                                break; 
    2593                         case 38
     2775                        case 41
    25942776                                return $this->getWcs(); 
    25952777                                break; 
    2596                         case 39
     2778                        case 42
    25972779                                return $this->getRooms(); 
    25982780                                break; 
    2599                         case 40
     2781                        case 43
    26002782                                return $this->getLivingroomSurface(); 
    26012783                                break; 
    2602                         case 41
     2784                        case 44
    26032785                                return $this->getTotalSurface(); 
    26042786                                break; 
    2605                         case 42
     2787                        case 45
    26062788                                return $this->getGardenSurface(); 
    26072789                                break; 
    2608                         case 43
     2790                        case 46
    26092791                                return $this->getTerraceSurface(); 
    26102792                                break; 
    2611                         case 44
     2793                        case 47
    26122794                                return $this->getComment(); 
    26132795                                break; 
    2614                         case 45
     2796                        case 48
    26152797                                return $this->getCommentPrivate(); 
    26162798                                break; 
    2617                         case 46
     2799                        case 49
    26182800                                return $this->getBuilding(); 
    26192801                                break; 
    2620                         case 47
     2802                        case 50
    26212803                                return $this->getSector(); 
    26222804                                break; 
    2623                         case 48: 
     2805                        case 51: 
     2806                                return $this->getDistrictId(); 
     2807                                break; 
     2808                        case 52: 
    26242809                                return $this->getAddress1(); 
    26252810                                break; 
    2626                         case 49
     2811                        case 53
    26272812                                return $this->getAddress2(); 
    26282813                                break; 
    2629                         case 50
     2814                        case 54
    26302815                                return $this->getZipcode(); 
    26312816                                break; 
    2632                         case 51
     2817                        case 55
    26332818                                return $this->getCity(); 
    26342819                                break; 
    2635                         case 52
     2820                        case 56
    26362821                                return $this->getCityInsee(); 
    26372822                                break; 
    2638                         case 53
     2823                        case 57
    26392824                                return $this->getStreetInsee(); 
    26402825                                break; 
    2641                         case 54
     2826                        case 58
    26422827                                return $this->getStandingType(); 
    26432828                                break; 
    2644                         case 55
     2829                        case 59
    26452830                                return $this->getEra(); 
    26462831                                break; 
    2647                         case 56
     2832                        case 60
    26482833                                return $this->getHeadingType(); 
    26492834                                break; 
    2650                         case 57
     2835                        case 61
    26512836                                return $this->getHotWater(); 
    26522837                                break; 
    2653                         case