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