当前位置: 首页>>代码示例>>PHP>>正文


PHP domxml_new_doc函数代码示例

本文整理汇总了PHP中domxml_new_doc函数的典型用法代码示例。如果您正苦于以下问题:PHP domxml_new_doc函数的具体用法?PHP domxml_new_doc怎么用?PHP domxml_new_doc使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。


在下文中一共展示了domxml_new_doc函数的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1: setDomDocument

 function setDomDocument()
 {
     $this->domDocument = domxml_new_doc("1.0");
     $rec = $this->domDocument->create_element("TreasurySettings");
     $rec = $this->domDocument->append_child($rec);
     $this->setDocNode("autoCalculate", $this->autoCalculate, $this->domDocument, $rec);
 }
开发者ID:armic,项目名称:erpts,代码行数:7,代码来源:AssessmentSettings.php

示例2: array2xml

 function array2xml($array)
 {
     if (!is_array($array)) {
         return false;
     }
     $this->array = $array;
     $this->dom = domxml_new_doc("1.0");
 }
开发者ID:jor3l,项目名称:OSModules,代码行数:8,代码来源:array2xml.class.php

示例3: GetSOA

 function GetSOA($entityID = 13, $ownerType = "Person")
 {
     $this->ownerType = $ownerType;
     $this->entityID = $entityID;
     $this->xmlSOA = domxml_new_doc("1.0");
     $node = $this->xmlSOA->create_element("TDHistory");
     $this->tdHistory = $this->xmlSOA->append_child($node);
 }
开发者ID:armic,项目名称:erpts,代码行数:8,代码来源:GetSOA.php

示例4: domxml_new_doc

 function &createNew($version)
 {
     if ($GLOBALS['xmlv'] == XMLV4) {
         $this->node = domxml_new_doc($version);
     } else {
         $this->node = new DOMDocument($version);
     }
     return $this;
 }
开发者ID:abhinay100,项目名称:forma_app,代码行数:9,代码来源:xmlwrapper.php

示例5: setDomDocument

 function setDomDocument()
 {
     $this->domDocument = domxml_new_doc("1.0");
     $rec = $this->domDocument->create_element("Shares");
     $rec = $this->domDocument->append_child($rec);
     $this->setDocNode("provincialCityShare", $this->provincialCityShare, $this->domDocument, $rec);
     $this->setDocNode("municipalShare", $this->municipalShare, $this->domDocument, $rec);
     $this->setDocNode("barangayShare", $this->barangayShare, $this->domDocument, $rec);
 }
开发者ID:armic,项目名称:erpts,代码行数:9,代码来源:Shares.php

示例6: setDomDocument

 function setDomDocument()
 {
     $this->domDocument = domxml_new_doc("1.0");
     $rec = $this->domDocument->create_element("ODHistory");
     $rec = $this->domDocument->append_child($rec);
     $this->setDocNode("odHistoryID", $this->odHistoryID, $this->domDocument, $rec);
     $this->setDocNode("presentODID", $this->presentODID, $this->domDocument, $rec);
     $this->setDocNode("previousODID", $this->previousODID, $this->domDocument, $rec);
     $this->setDocNode("transactionCode", $this->transactionCode, $this->domDocument, $rec);
 }
开发者ID:armic,项目名称:erpts,代码行数:10,代码来源:ODHistory.php

示例7: setDomStoreyRecords

 function setDomStoreyRecords()
 {
     $this->domStoreyRecords = domxml_new_doc("1.0");
     $domList = $this->domStoreyRecords->create_element("StoreyList");
     $domList = $this->domStoreyRecords->append_child($domList);
     foreach ($this->storeyList as $key => $value) {
         $domStorey = $value->getDomStorey();
         $this->appendToDomList($domList, $domStorey);
     }
     return true;
 }
开发者ID:armic,项目名称:erpts,代码行数:11,代码来源:StoreyRecords.php

示例8: setDomDocument

 function setDomDocument()
 {
     $this->domDocument = domxml_new_doc("1.0");
     $rec = $this->domDocument->create_element("Province");
     $rec = $this->domDocument->append_child($rec);
     //$rec->set_attribute("provinceID",$this->provinceID);
     $this->setDocNode("provinceID", $this->provinceID, $this->domDocument, $rec);
     $this->setDocNode("code", $this->code, $this->domDocument, $rec);
     $this->setDocNode("description", $this->description, $this->domDocument, $rec);
     $this->setDocNode("status", $this->status, $this->domDocument, $rec);
 }
开发者ID:armic,项目名称:erpts,代码行数:11,代码来源:Province.php

示例9: setDomDocument

 function setDomDocument()
 {
     $this->domDocument = domxml_new_doc("1.0");
     $domList = $this->domDocument->create_element("LandList");
     $domList = $this->domDocument->append_child($domList);
     foreach ($this->arrayList as $key => $value) {
         $domDocument = $value->getDomDocument();
         $this->appendToDomList($domList, $domDocument);
     }
     return true;
 }
开发者ID:armic,项目名称:erpts,代码行数:11,代码来源:ImprovementsBuildingsRecords.php

示例10: setDomDocument

 function setDomDocument()
 {
     $this->domDocument = domxml_new_doc("1.0");
     $rec = $this->domDocument->create_element("LandClasses");
     $rec = $this->domDocument->append_child($rec);
     //$rec->set_attribute("landClassesID",$this->landClassesID);
     $this->setDocNode("landClassesID", $this->landClassesID, $this->domDocument, $rec);
     $this->setDocNode("code", $this->code, $this->domDocument, $rec);
     $this->setDocNode("description", $this->description, $this->domDocument, $rec);
     $this->setDocNode("value", $this->value, $this->domDocument, $rec);
     $this->setDocNode("status", $this->status, $this->domDocument, $rec);
 }
开发者ID:armic,项目名称:erpts,代码行数:12,代码来源:LandClasses.php

示例11: setDomDocument

 function setDomDocument()
 {
     $this->domDocument = domxml_new_doc("1.0");
     $rec = $this->domDocument->create_element("Barangay");
     $rec = $this->domDocument->append_child($rec);
     //$rec->set_attribute("barangayID",$this->barangayID);
     $this->setDocNode("barangayID", $this->barangayID, $this->domDocument, $rec);
     $this->setDocNode("code", $this->code, $this->domDocument, $rec);
     $this->setDocNode("districtID", $this->districtID, $this->domDocument, $rec);
     $this->setDocNode("description", $this->description, $this->domDocument, $rec);
     $this->setDocNode("status", $this->status, $this->domDocument, $rec);
 }
开发者ID:armic,项目名称:erpts,代码行数:12,代码来源:Barangay.php

示例12: setDomDocument

 function setDomDocument()
 {
     $this->domDocument = domxml_new_doc("1.0");
     $rec = $this->domDocument->create_element("LGU");
     $rec = $this->domDocument->append_child($rec);
     $this->setDocNode("LGUID", $this->LGUID, $this->domDocument, $rec);
     $this->setDocNode("LGUName", $this->LGUName, $this->domDocument, $rec);
     $this->setDocNode("LGUBiz", $this->LGUBiz, $this->domDocument, $rec);
     $this->setDocNode("LGUDB", $this->LGUDB, $this->domDocument, $rec);
     $this->setDocNode("LGUusername", $this->LGUusername, $this->domDocument, $rec);
     $this->setDocNode("LGUpassword", $this->LGUpassword, $this->domDocument, $rec);
 }
开发者ID:armic,项目名称:erpts,代码行数:12,代码来源:LGU.php

示例13: setDomDocument

 function setDomDocument()
 {
     $this->domDocument = domxml_new_doc("1.0");
     $rec = $this->domDocument->create_element("PlantsTreesActualUses");
     $rec = $this->domDocument->append_child($rec);
     //$rec->set_attribute("plantsTreesActualUsesID",$this->plantsTreesActualUsesID);
     $this->setDocNode("plantsTreesActualUsesID", $this->plantsTreesActualUsesID, $this->domDocument, $rec);
     $this->setDocNode("code", $this->code, $this->domDocument, $rec);
     $this->setDocNode("reportCode", $this->reportCode, $this->domDocument, $rec);
     $this->setDocNode("description", $this->description, $this->domDocument, $rec);
     $this->setDocNode("value", $this->value, $this->domDocument, $rec);
     $this->setDocNode("status", $this->status, $this->domDocument, $rec);
 }
开发者ID:armic,项目名称:erpts,代码行数:13,代码来源:PlantsTreesActualUses.php

示例14: setDomDocument

 function setDomDocument()
 {
     $this->domDocument = domxml_new_doc("1.0");
     $rec = $this->domDocument->create_element("MachineriesDepreciation");
     $rec = $this->domDocument->append_child($rec);
     //$rec->set_attribute("machineriesDepreciationID",$this->machineriesDepreciationID);
     $this->setDocNode("machineriesDepreciationID", $this->machineriesDepreciationID, $this->domDocument, $rec);
     $this->setDocNode("code", $this->code, $this->domDocument, $rec);
     $this->setDocNode("reportCode", $this->reportCode, $this->domDocument, $rec);
     $this->setDocNode("description", $this->description, $this->domDocument, $rec);
     $this->setDocNode("value", $this->value, $this->domDocument, $rec);
     $this->setDocNode("status", $this->status, $this->domDocument, $rec);
 }
开发者ID:armic,项目名称:erpts,代码行数:13,代码来源:MachineriesDepreciation.php

示例15: setDomDocument

 function setDomDocument()
 {
     $this->domDocument = domxml_new_doc("1.0");
     $rec = $this->domDocument->create_element("Owner");
     $rec = $this->domDocument->append_child($rec);
     $rec->set_attribute("ownerID", $this->ownerID);
     $this->setDocNode("ownerID", $this->ownerID, $this->domDocument, $rec);
     if (count($this->personArray)) {
         $this->setArrayDocNode("personArray", $this->personArray, $rec);
     }
     if (count($this->companyArray)) {
         $this->setArrayDocNode("companyArray", $this->companyArray, $rec);
     }
 }
开发者ID:armic,项目名称:erpts,代码行数:14,代码来源:Owner.php


注:本文中的domxml_new_doc函数示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。