Updates - API updates and PHP-SDK 1.0.19 release
PHP-SDK 1.0.19
Support for created at and updated at on Realty
<?php
$realty->getCreatedAt(); //returns date as string value in default format 2015-11-05
$realty->getCreatedAt('d.m.Y'); //returns date as string value in a given custom format 05.11.2015
$realty->getCreatedAt(null); //returns date as PHP DateTime Object
$realty->getUpdatedAt(); //returns date as string value in default format 2015-11-05
$realty->getUpdatedAt('d.m.Y'); //returns date as string value in a given custom format 05.11.2015
$realty->getUpdatedAt(null); //returns date as PHP DateTime Object
Realty List Call
<erstellt_am>2015-11-05 20:00:00</erstellt_am>
<aktualisiert_am>2015-11-05 21:00:00</aktualisiert_am>
Realty Detail Call
<verwaltung_objekt>
<user_defined_simplefield feldname="erstellt_am">2015-11-05 20:00:00</user_defined_simplefield>
<user_defined_simplefield feldname="aktualisiert_am">2015-11-05 21:00:00</user_defined_simplefield>
</verwaltung_objekt>
Shortcut methods for sorting on RealtyQuery
<?php
$query->orderByPrice(); //ascending
$query->orderByPropertyNumber('asc'); //ascending
$query->orderByArea('desc'); //descending
$query->orderByLivingArea();
$query->orderByFloorArea();
$query->orderBySurfaceArea();
$query->orderByCreatedAt();
$query->orderByUpdatedAt();