-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
alanpilloud
committed
Dec 28, 2019
1 parent
188a23e
commit e070b98
Showing
2 changed files
with
109 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,85 @@ | ||
<?php | ||
namespace PublimmoPro; | ||
|
||
class Subtypes | ||
{ | ||
/** @var array APPARTMENT Internal number for object of subtype appartment */ | ||
public const APPARTMENT = [ | ||
'appartement' => 0, | ||
'studio' => 1, | ||
'loft' => 2, | ||
'attique' => 3, | ||
'duplex' => 4, | ||
'meuble' => 5, | ||
'terrasse' => 6, | ||
]; | ||
|
||
/** @var array BUILDING Internal number for object of subtype building */ | ||
public const BUILDING = [ | ||
'mixte' => 0, | ||
'industriel' => 1, | ||
'commercial' => 2, | ||
'locatif' => 3, | ||
]; | ||
|
||
/** @var array COMMERCIAL Internal number for object of subtype commercial */ | ||
public const COMMERCIAL = [ | ||
'administratif' => 0, | ||
'arcade' => 1, | ||
'depot' => 2, | ||
'artisanal' => 3, | ||
'industriel' => 4, | ||
'restaurant' => 5, | ||
'halle' => 6, | ||
'garage' => 7, | ||
'hotel' => 8, | ||
'aremettre' => 9, | ||
'cafe' => 10, | ||
'kiosk' => 11, | ||
'viticole' => 12, | ||
]; | ||
|
||
/** @var array HOUSE Internal number for object of subtype house */ | ||
public const HOUSE = [ | ||
'villaindividuelle' => 0, | ||
'villajumelle' => 1, | ||
'villacontigue' => 2, | ||
'villamitoyenne' => 3, | ||
'maisonmultiapp' => 4, | ||
'proprietemaitre' => 5, | ||
'maisonvillage' => 6, | ||
'ferme' => 7, | ||
'corpsferme' => 8, | ||
'chateau' => 9, | ||
'chalet' => 10, | ||
'villa' => 11, | ||
'maison' => 12, | ||
'grange' => 13, | ||
'terrasse' => 14, | ||
]; | ||
|
||
/** @var array LAND Internal number for object of subtype land */ | ||
public const LAND = [ | ||
'villa' => 0, | ||
'immeuble' => 1, | ||
'industriel' => 2, | ||
'agricole' => 3, | ||
'commercial' => 4, | ||
]; | ||
|
||
/** @var array PARKING Internal number for object of subtype parking */ | ||
public const PARKING = [ | ||
'place_ouverte' => 0, | ||
'place_couverte' => 1, | ||
'garage_individuel' => 2, | ||
'garage_double' => 3, | ||
'place_souterraine' => 4, | ||
'halle_bateaux' => 6, | ||
'place_exterieure_bateaux' => 7, | ||
'halle_motos' => 8, | ||
'place_exterieure_motos' => 9, | ||
'boxe_ecurie' => 10, | ||
'place_bateau_balisee' => 11, | ||
]; | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
<?php | ||
namespace PublimmoPro; | ||
|
||
class Types | ||
{ | ||
/** @var int APPARTMENT Internal number for object of type appartment */ | ||
public const APPARTMENT = 1; | ||
|
||
/** @var int BUILDING Internal number for object of type building */ | ||
public const BUILDING = 2; | ||
|
||
/** @var int COMMERCIAL Internal number for object of type commercial */ | ||
public const COMMERCIAL = 3; | ||
|
||
/** @var int HOUSE Internal number for object of type house */ | ||
public const HOUSE = 4; | ||
|
||
/** @var int LAND Internal number for object of type land */ | ||
public const LAND = 5; | ||
|
||
/** @var int PARKING Internal number for object of type parking */ | ||
public const PARKING = 6; | ||
} | ||
|