예제 #1
0
 function saveMachineries($xmlStr)
 {
     if (!($domDoc = domxml_open_mem($xmlStr))) {
         return false;
     }
     $machineries = new Machineries();
     $machineries->parseDomDocument($domDoc);
     $ret = $machineries->insertRecord();
     return $ret;
     //$machineries->domMachineries->dump_mem();
 }