Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public static $possibilities = array(
- //RESIDENCIAL - 115
- 100 => array(
- 'label' => 'Residencial',
- 'plural' => 'Residenciais',
- 'query' => '( (TIPO_IMOVEL >= "101") AND (TIPO_IMOVEL <= "199") )',
- 'visible' => false
- ),
- 101 => array(
- 'label' => 'Apartamento',
- 'plural' => 'Apartamentos',
- 'query' => '(TIPO_IMOVEL = "101")',
- 'visible' => true
- ),
- 102 => array(
- 'label' => 'Casa',
- 'plural' => 'Casas',
- 'query' => '(TIPO_IMOVEL = "102")',
- 'visible' => true
- ),
- 103 => array(
- 'label' => 'Cobertura',
- 'plural' => 'Coberturas',
- 'query' => '(TIPO_IMOVEL = "103")',
- 'visible' => true
- ),
- 104 => array(
- 'label' => 'Flat',
- 'plural' => 'Flats',
- 'query' => '(TIPO_IMOVEL = "104")',
- 'visible' => true
- ),
- 105 => array(
- 'label' => 'Kitnet',
- 'plural' => 'Kitnets',
- 'query' => '(TIPO_IMOVEL = "105")',
- 'visible' => true
- ),
- 106 => array(
- 'label' => 'Loft',
- 'plural' => 'Lofts',
- 'query' => '(TIPO_IMOVEL = "106")',
- 'visible' => true
- ),
- 107 => array(
- 'label' => 'Loteamento',
- 'plural' => 'Loteamentos',
- 'query' => '(TIPO_IMOVEL = "107")',
- 'visible' => true
- ),
- 108 => array(
- 'label' => 'Penthouse',
- 'plural' => 'Penthouses',
- 'query' => '(TIPO_IMOVEL = "108")',
- 'visible' => true
- ),
- 109 => array(
- 'label' => 'Sala Living',
- 'plural' => 'Salas Living',
- 'query' => '(TIPO_IMOVEL = "109")',
- 'visible' => true
- ),
- 110 => array(
- 'label' => 'Sobrado',
- 'plural' => 'Sobrados',
- 'query' => '(TIPO_IMOVEL = "110")',
- 'visible' => true
- ),
- 111 => array(
- 'label' => 'Studio',
- 'plural' => 'Studios',
- 'query' => '(TIPO_IMOVEL = "111")',
- 'visible' => true
- ),
- 112 => array(
- 'label' => 'Terreno',
- 'plural' => 'Terrenos',
- 'query' => '(TIPO_IMOVEL = "112")',
- 'visible' => true
- ),
- 113 => array(
- 'label' => 'Casa de Condomínio',
- 'plural' => 'Casas de Condomínio',
- 'query' => '(TIPO_IMOVEL = "113")',
- 'visible' => true
- ),
- 114 => array(
- 'label' => 'Sobrado de Condomínio',
- 'plural' => 'Sobrados de Condomínio',
- 'query' => '(TIPO_IMOVEL = "114")',
- 'visible' => true
- ),
- 115 => array(
- 'label' => 'Terreno de Condomínio',
- 'plural' => 'Terrenos de Condomínio',
- 'query' => '(TIPO_IMOVEL = "115")',
- 'visible' => true
- ),
- 116 => array(
- 'label' => 'Área',
- 'plural' => 'Áreas',
- 'query' => '(TIPO_IMOVEL = "116")',
- 'visible' => true
- ),
- //COMERCIAL - 216
- 200 => array(
- 'label' => 'Comercial',
- 'plural' => 'Comerciais',
- 'query' => '( (TIPO_IMOVEL >= "201") AND (TIPO_IMOVEL <= "299") )',
- 'visible' => false
- ),
- 201 => array(
- 'label' => 'Armazém ou Barracão',
- 'plural' => 'Armazens ou Barracões',
- 'query' => '(TIPO_IMOVEL = "201")',
- 'visible' => true
- ),
- 202 => array(
- 'label' => 'Casa Comercial',
- 'plural' => 'Casas Comerciais',
- 'query' => '(TIPO_IMOVEL = "202")',
- 'visible' => true
- ),
- 203 => array(
- 'label' => 'Conjunto Comercial',
- 'plural' => 'Conjuntos Comerciais',
- 'query' => '(TIPO_IMOVEL = "203")',
- 'visible' => true
- ),
- 204 => array(
- 'label' => 'Fundo de comércio',
- 'plural' => 'Fundos de comércio',
- 'query' => '(TIPO_IMOVEL = "204")',
- 'visible' => true
- ),
- 205 => array(
- 'label' => 'Galeria',
- 'plural' => 'Galerias',
- 'query' => '(TIPO_IMOVEL = "205")',
- 'visible' => true
- ),
- 206 => array(
- 'label' => 'Galpão',
- 'plural' => 'Galpões',
- 'query' => '(TIPO_IMOVEL = "206")',
- 'visible' => true
- ),
- 207 => array(
- 'label' => 'Laje Corporativa',
- 'plural' => 'Lajes Corporativas',
- 'query' => '(TIPO_IMOVEL = "207")',
- 'visible' => true
- ),
- 208 => array(
- 'label' => 'Loja',
- 'plural' => 'Lojas',
- 'query' => '(TIPO_IMOVEL = "208")',
- 'visible' => true
- ),
- 209 => array(
- 'label' => 'Loteamento Comercial',
- 'plural' => 'Loteamentos Comerciais',
- 'query' => '(TIPO_IMOVEL = "209")',
- 'visible' => true
- ),
- 210 => array(
- 'label' => 'Prédio',
- 'plural' => 'Prédios',
- 'query' => '(TIPO_IMOVEL = "210")',
- 'visible' => true
- ),
- 211 => array(
- 'label' => 'Sala Comercial',
- 'plural' => 'Salas Comerciais',
- 'query' => '(TIPO_IMOVEL = "211")',
- 'visible' => true
- ),
- 212 => array(
- 'label' => 'Salão',
- 'plural' => 'Salões',
- 'query' => '(TIPO_IMOVEL = "212")',
- 'visible' => true
- ),
- 213 => array(
- 'label' => 'Sobrado Comercial',
- 'plural' => 'Sobrados Comercial',
- 'query' => '(TIPO_IMOVEL = "213")',
- 'visible' => true
- ),
- 214 => array(
- 'label' => 'Sobreloja',
- 'plural' => 'Sobrelojas',
- 'query' => '(TIPO_IMOVEL = "214")',
- 'visible' => true
- ),
- 215 => array(
- 'label' => 'Terreno Comercial',
- 'plural' => 'Terrenos Comerciais',
- 'query' => '(TIPO_IMOVEL = "215")',
- 'visible' => true
- ),
- 216 => array(
- 'label' => 'Área Comercial',
- 'plural' => 'Áreas Comerciais',
- 'query' => '(TIPO_IMOVEL = "216")',
- 'visible' => true
- ),
- 217 => array(
- 'label' => 'Ponto Comercial',
- 'plural' => 'Pontos Comerciais',
- 'query' => '(SUBTIPO = "Ponto Comercial")',
- 'visible' => true
- ),
- //INDUSTRIAL - 314
- 300 => array(
- 'label' => 'Industrial',
- 'plural' => 'Industriais',
- 'query' => '( (TIPO_IMOVEL >= "301") AND (TIPO_IMOVEL <= "399") )',
- 'visible' => false
- ),
- 301 => array(
- 'label' => 'Armazém ou Barracão Industrial',
- 'plural' => 'Armazens ou Barracões Industriais',
- 'query' => '(TIPO_IMOVEL = "301")',
- 'visible' => true
- ),
- 302 => array(
- 'label' => 'Conjunto Industrial',
- 'plural' => 'Conjuntos Industriais',
- 'query' => '(TIPO_IMOVEL = "302")',
- 'visible' => true
- ),
- 303 => array(
- 'label' => 'Galpão Industrial',
- 'plural' => 'Galpões Industriais',
- 'query' => '(TIPO_IMOVEL = "303")',
- 'visible' => true
- ),
- 304 => array(
- 'label' => 'Indústrias',
- 'plural' => 'Indústrias',
- 'query' => '(TIPO_IMOVEL = "304")',
- 'visible' => true
- ),
- 305 => array(
- 'label' => 'Jazidas',
- 'plural' => 'Jazidas',
- 'query' => '(TIPO_IMOVEL = "305")',
- 'visible' => true
- ),
- 306 => array(
- 'label' => 'Loteamento Industrial',
- 'plural' => 'Loteamentos Industriais',
- 'query' => '(TIPO_IMOVEL = "306")',
- 'visible' => true
- ),
- 307 => array(
- 'label' => 'Mineradora',
- 'plural' => 'Mineradoras',
- 'query' => '(TIPO_IMOVEL = "307")',
- 'visible' => true
- ),
- 308 => array(
- 'label' => 'PCH',
- 'plural' => 'PCH',
- 'query' => '(TIPO_IMOVEL = "308")',
- 'visible' => true
- ),
- 309 => array(
- 'label' => 'Pedreira',
- 'plural' => 'Pedreiras',
- 'query' => '(TIPO_IMOVEL = "309")',
- 'visible' => true
- ),
- 310 => array(
- 'label' => 'Prédio Industrial',
- 'plural' => 'Prédios Industriais',
- 'query' => '(TIPO_IMOVEL = "310")',
- 'visible' => true
- ),
- 311 => array(
- 'label' => 'Terreno Industrial',
- 'plural' => 'Terrenos Industriais',
- 'query' => '(TIPO_IMOVEL = "311")',
- 'visible' => true
- ),
- 312 => array(
- 'label' => 'UHE',
- 'plural' => 'UHE',
- 'query' => '(TIPO_IMOVEL = "312")',
- 'visible' => true
- ),
- 313 => array(
- 'label' => 'Usina',
- 'plural' => 'Usinas',
- 'query' => '(TIPO_IMOVEL = "313")',
- 'visible' => true
- ),
- 314 => array(
- 'label' => 'Área Industrial',
- 'plural' => 'Áreas Industriais',
- 'query' => '(TIPO_IMOVEL = "314")',
- 'visible' => true
- ),
- //RURAL - 407
- 400 => array(
- 'label' => 'Rural',
- 'plural' => 'Rurais',
- 'query' => '( (TIPO_IMOVEL >= "401") AND (TIPO_IMOVEL <= "499") )',
- 'visible' => false
- ),
- 401 => array(
- 'label' => 'Chácara',
- 'plural' => 'Chácaras',
- 'query' => '(TIPO_IMOVEL = "401")',
- 'visible' => true
- ),
- 402 => array(
- 'label' => 'Fazenda',
- 'plural' => 'Fazendas',
- 'query' => '(TIPO_IMOVEL = "402")',
- 'visible' => true
- ),
- 403 => array(
- 'label' => 'Haras',
- 'plural' => 'Haras',
- 'query' => '(TIPO_IMOVEL = "403")',
- 'visible' => true
- ),
- 404 => array(
- 'label' => 'Loteamento Rural',
- 'plural' => 'Loteamentos Rurais',
- 'query' => '(TIPO_IMOVEL = "404")',
- 'visible' => true
- ),
- 405 => array(
- 'label' => 'Rancho',
- 'plural' => 'Ranchos',
- 'query' => '(TIPO_IMOVEL = "405")',
- 'visible' => true
- ),
- 406 => array(
- 'label' => 'Sítio',
- 'plural' => 'Sítios',
- 'query' => '(TIPO_IMOVEL = "406")',
- 'visible' => true
- ),
- 407 => array(
- 'label' => 'Terreno Rural',
- 'plural' => 'Terrenos Rurais',
- 'query' => '(TIPO_IMOVEL = "407")',
- 'visible' => true
- ),
- );
Add Comment
Please, Sign In to add comment