Example #1
0
 function saveLandForBuildup($xmlStr)
 {
     if (!($domDoc = domxml_open_mem($xmlStr))) {
         return false;
     }
     $land = new Land();
     $land->parseDomDocument($domDoc);
     $ret = $land->insertRecordForBuildup();
     return $ret;
 }