Extension of https://github.com/DarkMantisCS/FileMaker-PHP-API-Interface/blob/master/class.fmdb.php