Esempio n. 1
0
 function saveERPTSSettings($xmlStr)
 {
     if (!($domDoc = domxml_open_mem($xmlStr))) {
         return false;
     }
     $erptsSettings = new eRPTSSettings();
     $erptsSettings->parseDomDocument($domDoc);
     $ret = $erptsSettings->insertRecord();
     return $ret;
 }