User Tools

Site Tools


data:fields:names:obj_xroomdesc


Fields list

obj_xRoomDesc

field name:
obj_xRoomDesc
containing:
Room description processed by MerlinX
field type:
char
length:
3
condition for:
offers,
groups,
regions
returned in:
offers,
groups,
details

Descriptions

This field contains the component part numbers, description of room and additional text (which is not assigned), the fields in the same group may only occur once the sample code:

$roomDescDef=array(1=>'Room',3=>'Balcony',7=>'Double',16=>'air conditioning',26=>'Shower',45=>'WC'/*,the rest of them ...*/); // for example, the array contains only values ​​used 
$xRoomDesc="1,3,7,16,26,45,/french balcony"; // sample contents of the field
$opis=array();
list($ids,$adtdesc)=explode("/",$xRoomDesc,2);
foreach(explode(',',$ids) as $id)
  if (isset($roomDescDef[$id]))
    $opis[]=$roomDescDef[$id];
$pelnyopis=implode(',',$opis).(!empty($adtdesc)?"($adtdesc)":"");

which should give us: “room, balcony, double room, air conditioning, shower, wc, (french balcony)”

Conditions

A condition is to give a comma separated list of id.

Possible values

id group name
11Room
191Bungalow
201Villa
211Studio
221Apartment
231Suite
551Cabin
1071Flat
1081Holiday House
22single
72double
82triple
242quadruple
312double + extra bed
322double + two add-beds
362five-person
372six-person
382seven-person
392nine-person
402single + extra-bed
412single + 2 add-beds
422triple + extra-bed
432triple + two extra-beds
442reserved for merlinX (internal organizational attribute that should not be used)
492quadruple + extra-bed
542reserved for merlinX (internal organizational attribute that should not be used)
662reserved for merlinX (internal organizational attribute that should not be used)
682double + three extra-beds
692triple + three extra-beds
702single + three extra-beds
712eight-persons
722six-persons + two extra-beds
732quadruple + two extra-beds
742ten-persons
752ten-persons + extra-bed
762eleven-persons
772twelve-persons
782twelve-persons + extra-bed
792twelve-persons + two extra-bed
802twelve-persons + three extra-bed
812twelve-persons + four extra-bed
822twelve-persons + five extra-bed
832five-persons + two extra-beds
3balcony
4bathtub
9terrace
11sea-view
12mountaains-view
13park/garden-view
14pool-view
16air conditioning
17double-bed
26shower
27lake-view
28land-view
33family
34superior
35Balcony or terrace
45WC
46Free Ski
47Bath or Shower
48economic
50sea-side-view
51standard
52luxury
53lack of equipment
56internal
57external
58bathroom
63bathroom or shower
64main building
65side building
67ceiling fan
84kitchenette
85living room
86additional bedroom
87as described
88living - sleeping
89Smoking
90Room Saver
91garden side
92sea side
93lake side
94street side
95mountains side
96south side
97east side
98west side
99 north side
100an adult with a child
101lake-side-view
102pool side
103park side
104private pool
105front side
106hot water
109trilo
110bilo
111connecting rooms
112new part
113roulette

Camping, youth camp type list

IDDescription
2Kolonie
1Obozy
122Kolonia i obóz
3Zimowiska
4Nie-kolonie
6góry
14morze / plaża
15jeziora / pojezierza
16inne
17zagraniczne
12narciarstwo
11snowboard
18biegówki
19saneczkarstwo
21hokej
25żeglarstwo / jachty
26kajaki
27tratwy / rafting
28nurkowanie
118surfing / windsurfing
36judo
116pływanie
30karate
31aikido
32inne sporty walki
33piłka nożna
34siatkówka / siatkówka plażowa
35koszykówka
38tenis ziemny
39golf
20inne sporty
13fitness / aerobik
22Sporty Ekstremalne
40kursy językowe
41zajęcia językowe
42zajęcia w obcym języku
45gitara klasyczna
52DJ-skie
102Beat-Box
49hip-hop
48perkusja
47keyboard
46gitara elektryczna
51ceramika
53malarstwo
54manga / komiksy
55plastyczne
60fotografia analogowa
61fotografia cyfrowa
62filmowe
63dziennikarskie
65teatralno - aktorskie
86modelek / TopModel
66wokalne / nauka śpiewu
67taneczne
68gry fabularne (RPG)
69bitewniaki (Fantasy Battle)
71gry planszowe
72obsługa komputera
73gry komputerowe
74programowanie
75grafika komputerowa
76robotyka / Lego
77bajkowe
81czarodziejskie
79dinozaury
109Piraci
80Wikingowie
113Gwiezdne Wojny
83ekologiczne
84wędkarskie
85odchudzająco-kondycyjne
114Zajęcia korekcyjne
70kurs pierwszej pomocy
93chor. ukł. oddech. / alergia
111Dla dzieci głuchych i niedosłyszących
88wędrowne / trekkingi
89rowerowe
90militarne
91szkoła przetrwania / survival
92lotnicze
121motoryzacyjne
94paintball
95quady
96softgun
97konne / jeździeckie
98obozy przygody / przygodowe
99wspinaczka skałkowa
100jaskinie / speleologia
101seagway
104indyjskie (Bollywood)
103japońskie
123inne egzotyczne
105plażowanie
87parki rozrywki / aqua parki
106zajęcia na basenie
37zajęcia sportowe
120archeologiczne
119detektywistyczne
78indiańskie
117kulinarne
82rycerskie
108wycieczki / zwiedzanie
110naukowy
112przyrodniczy
data/fields/names/obj_xroomdesc.txt · Last modified: 2014/10/17 09:24 by marekj