<?php
/* * ********************************************************************************************
 * 								Open Real Estate
 * 								----------------
 * 	version				:	V1.36.0
 * 	copyright			:	(c) 2016 Monoray
 * 							http://monoray.net
 * 							http://monoray.ru
 *
 * 	website				:	http://open-real-estate.info/en
 *
 * 	contact us			:	http://open-real-estate.info/en/contact-us
 *
 * 	license:			:	http://open-real-estate.info/en/license
 * 							http://open-real-estate.info/ru/license
 *
 * This file is part of Open Real Estate
 *
 * ********************************************************************************************* */

class Api
{
    public function getApartmentsShowAttributes()
    {
        $fields = 'id, type, obj_type_id, price_type, loc_country, loc_region, loc_city, city_id, is_price_poa, price, price_to, 
                    num_of_rooms, floor, floor_total, square, land_square, lat, lng, rating, is_special_offer, owner_active, active, imagesList, in_currency';

        $apartment = new Apartment;
        $safeFields = $apartment->getI18nFieldSafe();

        return $fields . ', ' . $safeFields;
    }
}
