function saveImprovementsBuildingsActualUses($xmlStr) { if (!($domDoc = domxml_open_mem($xmlStr))) { return false; } $improvementsBuildingsActualUses = new ImprovementsBuildingsActualUses(); $improvementsBuildingsActualUses->parseDomDocument($domDoc); $ret = $improvementsBuildingsActualUses->insertRecord(); return $ret; }