Ejemplo n.º 1
0
 function saveMachineriesForBuildup($xmlStr)
 {
     if (!($domDoc = domxml_open_mem($xmlStr))) {
         return false;
     }
     $machineries = new Machineries();
     $machineries->parseDomDocument($domDoc);
     $ret = $machineries->insertRecordForBuildup();
     return $ret;
     //$machineries->domMachineries->dump_mem();
 }