Guest User

Untitled

a guest
Jun 20th, 2018
90
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 11.34 KB | None | 0 0
  1. public static $possibilities = array(
  2.  
  3. //RESIDENCIAL - 115
  4.  
  5. 100 => array(
  6. 'label' => 'Residencial',
  7. 'plural' => 'Residenciais',
  8. 'query' => '( (TIPO_IMOVEL >= "101") AND (TIPO_IMOVEL <= "199") )',
  9. 'visible' => false
  10. ),
  11. 101 => array(
  12. 'label' => 'Apartamento',
  13. 'plural' => 'Apartamentos',
  14. 'query' => '(TIPO_IMOVEL = "101")',
  15. 'visible' => true
  16. ),
  17. 102 => array(
  18. 'label' => 'Casa',
  19. 'plural' => 'Casas',
  20. 'query' => '(TIPO_IMOVEL = "102")',
  21. 'visible' => true
  22. ),
  23. 103 => array(
  24. 'label' => 'Cobertura',
  25. 'plural' => 'Coberturas',
  26. 'query' => '(TIPO_IMOVEL = "103")',
  27. 'visible' => true
  28. ),
  29. 104 => array(
  30. 'label' => 'Flat',
  31. 'plural' => 'Flats',
  32. 'query' => '(TIPO_IMOVEL = "104")',
  33. 'visible' => true
  34. ),
  35. 105 => array(
  36. 'label' => 'Kitnet',
  37. 'plural' => 'Kitnets',
  38. 'query' => '(TIPO_IMOVEL = "105")',
  39. 'visible' => true
  40. ),
  41. 106 => array(
  42. 'label' => 'Loft',
  43. 'plural' => 'Lofts',
  44. 'query' => '(TIPO_IMOVEL = "106")',
  45. 'visible' => true
  46. ),
  47. 107 => array(
  48. 'label' => 'Loteamento',
  49. 'plural' => 'Loteamentos',
  50. 'query' => '(TIPO_IMOVEL = "107")',
  51. 'visible' => true
  52. ),
  53. 108 => array(
  54. 'label' => 'Penthouse',
  55. 'plural' => 'Penthouses',
  56. 'query' => '(TIPO_IMOVEL = "108")',
  57. 'visible' => true
  58. ),
  59. 109 => array(
  60. 'label' => 'Sala Living',
  61. 'plural' => 'Salas Living',
  62. 'query' => '(TIPO_IMOVEL = "109")',
  63. 'visible' => true
  64. ),
  65. 110 => array(
  66. 'label' => 'Sobrado',
  67. 'plural' => 'Sobrados',
  68. 'query' => '(TIPO_IMOVEL = "110")',
  69. 'visible' => true
  70. ),
  71. 111 => array(
  72. 'label' => 'Studio',
  73. 'plural' => 'Studios',
  74. 'query' => '(TIPO_IMOVEL = "111")',
  75. 'visible' => true
  76. ),
  77. 112 => array(
  78. 'label' => 'Terreno',
  79. 'plural' => 'Terrenos',
  80. 'query' => '(TIPO_IMOVEL = "112")',
  81. 'visible' => true
  82. ),
  83. 113 => array(
  84. 'label' => 'Casa de Condomínio',
  85. 'plural' => 'Casas de Condomínio',
  86. 'query' => '(TIPO_IMOVEL = "113")',
  87. 'visible' => true
  88. ),
  89. 114 => array(
  90. 'label' => 'Sobrado de Condomínio',
  91. 'plural' => 'Sobrados de Condomínio',
  92. 'query' => '(TIPO_IMOVEL = "114")',
  93. 'visible' => true
  94. ),
  95. 115 => array(
  96. 'label' => 'Terreno de Condomínio',
  97. 'plural' => 'Terrenos de Condomínio',
  98. 'query' => '(TIPO_IMOVEL = "115")',
  99. 'visible' => true
  100. ),
  101. 116 => array(
  102. 'label' => 'Área',
  103. 'plural' => 'Áreas',
  104. 'query' => '(TIPO_IMOVEL = "116")',
  105. 'visible' => true
  106. ),
  107.  
  108.  
  109. //COMERCIAL - 216
  110.  
  111. 200 => array(
  112. 'label' => 'Comercial',
  113. 'plural' => 'Comerciais',
  114. 'query' => '( (TIPO_IMOVEL >= "201") AND (TIPO_IMOVEL <= "299") )',
  115. 'visible' => false
  116. ),
  117. 201 => array(
  118. 'label' => 'Armazém ou Barracão',
  119. 'plural' => 'Armazens ou Barracões',
  120. 'query' => '(TIPO_IMOVEL = "201")',
  121. 'visible' => true
  122. ),
  123. 202 => array(
  124. 'label' => 'Casa Comercial',
  125. 'plural' => 'Casas Comerciais',
  126. 'query' => '(TIPO_IMOVEL = "202")',
  127. 'visible' => true
  128. ),
  129. 203 => array(
  130. 'label' => 'Conjunto Comercial',
  131. 'plural' => 'Conjuntos Comerciais',
  132. 'query' => '(TIPO_IMOVEL = "203")',
  133. 'visible' => true
  134. ),
  135. 204 => array(
  136. 'label' => 'Fundo de comércio',
  137. 'plural' => 'Fundos de comércio',
  138. 'query' => '(TIPO_IMOVEL = "204")',
  139. 'visible' => true
  140. ),
  141. 205 => array(
  142. 'label' => 'Galeria',
  143. 'plural' => 'Galerias',
  144. 'query' => '(TIPO_IMOVEL = "205")',
  145. 'visible' => true
  146. ),
  147. 206 => array(
  148. 'label' => 'Galpão',
  149. 'plural' => 'Galpões',
  150. 'query' => '(TIPO_IMOVEL = "206")',
  151. 'visible' => true
  152. ),
  153. 207 => array(
  154. 'label' => 'Laje Corporativa',
  155. 'plural' => 'Lajes Corporativas',
  156. 'query' => '(TIPO_IMOVEL = "207")',
  157. 'visible' => true
  158. ),
  159. 208 => array(
  160. 'label' => 'Loja',
  161. 'plural' => 'Lojas',
  162. 'query' => '(TIPO_IMOVEL = "208")',
  163. 'visible' => true
  164. ),
  165. 209 => array(
  166. 'label' => 'Loteamento Comercial',
  167. 'plural' => 'Loteamentos Comerciais',
  168. 'query' => '(TIPO_IMOVEL = "209")',
  169. 'visible' => true
  170. ),
  171. 210 => array(
  172. 'label' => 'Prédio',
  173. 'plural' => 'Prédios',
  174. 'query' => '(TIPO_IMOVEL = "210")',
  175. 'visible' => true
  176. ),
  177. 211 => array(
  178. 'label' => 'Sala Comercial',
  179. 'plural' => 'Salas Comerciais',
  180. 'query' => '(TIPO_IMOVEL = "211")',
  181. 'visible' => true
  182. ),
  183. 212 => array(
  184. 'label' => 'Salão',
  185. 'plural' => 'Salões',
  186. 'query' => '(TIPO_IMOVEL = "212")',
  187. 'visible' => true
  188. ),
  189. 213 => array(
  190. 'label' => 'Sobrado Comercial',
  191. 'plural' => 'Sobrados Comercial',
  192. 'query' => '(TIPO_IMOVEL = "213")',
  193. 'visible' => true
  194. ),
  195. 214 => array(
  196. 'label' => 'Sobreloja',
  197. 'plural' => 'Sobrelojas',
  198. 'query' => '(TIPO_IMOVEL = "214")',
  199. 'visible' => true
  200. ),
  201. 215 => array(
  202. 'label' => 'Terreno Comercial',
  203. 'plural' => 'Terrenos Comerciais',
  204. 'query' => '(TIPO_IMOVEL = "215")',
  205. 'visible' => true
  206. ),
  207. 216 => array(
  208. 'label' => 'Área Comercial',
  209. 'plural' => 'Áreas Comerciais',
  210. 'query' => '(TIPO_IMOVEL = "216")',
  211. 'visible' => true
  212. ),
  213. 217 => array(
  214. 'label' => 'Ponto Comercial',
  215. 'plural' => 'Pontos Comerciais',
  216. 'query' => '(SUBTIPO = "Ponto Comercial")',
  217. 'visible' => true
  218. ),
  219.  
  220. //INDUSTRIAL - 314
  221.  
  222. 300 => array(
  223. 'label' => 'Industrial',
  224. 'plural' => 'Industriais',
  225. 'query' => '( (TIPO_IMOVEL >= "301") AND (TIPO_IMOVEL <= "399") )',
  226. 'visible' => false
  227. ),
  228. 301 => array(
  229. 'label' => 'Armazém ou Barracão Industrial',
  230. 'plural' => 'Armazens ou Barracões Industriais',
  231. 'query' => '(TIPO_IMOVEL = "301")',
  232. 'visible' => true
  233. ),
  234. 302 => array(
  235. 'label' => 'Conjunto Industrial',
  236. 'plural' => 'Conjuntos Industriais',
  237. 'query' => '(TIPO_IMOVEL = "302")',
  238. 'visible' => true
  239. ),
  240. 303 => array(
  241. 'label' => 'Galpão Industrial',
  242. 'plural' => 'Galpões Industriais',
  243. 'query' => '(TIPO_IMOVEL = "303")',
  244. 'visible' => true
  245. ),
  246. 304 => array(
  247. 'label' => 'Indústrias',
  248. 'plural' => 'Indústrias',
  249. 'query' => '(TIPO_IMOVEL = "304")',
  250. 'visible' => true
  251. ),
  252. 305 => array(
  253. 'label' => 'Jazidas',
  254. 'plural' => 'Jazidas',
  255. 'query' => '(TIPO_IMOVEL = "305")',
  256. 'visible' => true
  257. ),
  258. 306 => array(
  259. 'label' => 'Loteamento Industrial',
  260. 'plural' => 'Loteamentos Industriais',
  261. 'query' => '(TIPO_IMOVEL = "306")',
  262. 'visible' => true
  263. ),
  264. 307 => array(
  265. 'label' => 'Mineradora',
  266. 'plural' => 'Mineradoras',
  267. 'query' => '(TIPO_IMOVEL = "307")',
  268. 'visible' => true
  269. ),
  270. 308 => array(
  271. 'label' => 'PCH',
  272. 'plural' => 'PCH',
  273. 'query' => '(TIPO_IMOVEL = "308")',
  274. 'visible' => true
  275. ),
  276. 309 => array(
  277. 'label' => 'Pedreira',
  278. 'plural' => 'Pedreiras',
  279. 'query' => '(TIPO_IMOVEL = "309")',
  280. 'visible' => true
  281. ),
  282. 310 => array(
  283. 'label' => 'Prédio Industrial',
  284. 'plural' => 'Prédios Industriais',
  285. 'query' => '(TIPO_IMOVEL = "310")',
  286. 'visible' => true
  287. ),
  288. 311 => array(
  289. 'label' => 'Terreno Industrial',
  290. 'plural' => 'Terrenos Industriais',
  291. 'query' => '(TIPO_IMOVEL = "311")',
  292. 'visible' => true
  293. ),
  294. 312 => array(
  295. 'label' => 'UHE',
  296. 'plural' => 'UHE',
  297. 'query' => '(TIPO_IMOVEL = "312")',
  298. 'visible' => true
  299. ),
  300. 313 => array(
  301. 'label' => 'Usina',
  302. 'plural' => 'Usinas',
  303. 'query' => '(TIPO_IMOVEL = "313")',
  304. 'visible' => true
  305. ),
  306. 314 => array(
  307. 'label' => 'Área Industrial',
  308. 'plural' => 'Áreas Industriais',
  309. 'query' => '(TIPO_IMOVEL = "314")',
  310. 'visible' => true
  311. ),
  312.  
  313. //RURAL - 407
  314.  
  315. 400 => array(
  316. 'label' => 'Rural',
  317. 'plural' => 'Rurais',
  318. 'query' => '( (TIPO_IMOVEL >= "401") AND (TIPO_IMOVEL <= "499") )',
  319. 'visible' => false
  320. ),
  321. 401 => array(
  322. 'label' => 'Chácara',
  323. 'plural' => 'Chácaras',
  324. 'query' => '(TIPO_IMOVEL = "401")',
  325. 'visible' => true
  326. ),
  327. 402 => array(
  328. 'label' => 'Fazenda',
  329. 'plural' => 'Fazendas',
  330. 'query' => '(TIPO_IMOVEL = "402")',
  331. 'visible' => true
  332. ),
  333. 403 => array(
  334. 'label' => 'Haras',
  335. 'plural' => 'Haras',
  336. 'query' => '(TIPO_IMOVEL = "403")',
  337. 'visible' => true
  338. ),
  339. 404 => array(
  340. 'label' => 'Loteamento Rural',
  341. 'plural' => 'Loteamentos Rurais',
  342. 'query' => '(TIPO_IMOVEL = "404")',
  343. 'visible' => true
  344. ),
  345. 405 => array(
  346. 'label' => 'Rancho',
  347. 'plural' => 'Ranchos',
  348. 'query' => '(TIPO_IMOVEL = "405")',
  349. 'visible' => true
  350. ),
  351. 406 => array(
  352. 'label' => 'Sítio',
  353. 'plural' => 'Sítios',
  354. 'query' => '(TIPO_IMOVEL = "406")',
  355. 'visible' => true
  356. ),
  357. 407 => array(
  358. 'label' => 'Terreno Rural',
  359. 'plural' => 'Terrenos Rurais',
  360. 'query' => '(TIPO_IMOVEL = "407")',
  361. 'visible' => true
  362. ),
  363.  
  364. );
Add Comment
Please, Sign In to add comment