update parser function processOBJECTPROPERTIES.php

convert mysqli functions to object oriented style and reformat