略微加速

PHP官方手册 - 互联网笔记

PHP - Manual: SDO_DAS_XML::saveFile

2024-05-02

SDO_DAS_XML::saveFile

(^)

SDO_DAS_XML::saveFile Saves the SDO_DAS_XML_Document object to a file

说明

SDO_DAS_XML::saveFile ( SDO_XMLDocument $xdoc , string $xml_file [, int $indent ] ) : void

Saves the SDO_DAS_XML_Document object to a file.

参数

xdoc

SDO_DAS_XML_Document object.

xml_file

xml file.

indent

Optional argument to specify that the xml should be formatted. A non-negative integer is the amount to indent each level of the xml. So, the integer 2, for example, will indent the xml so that each contained element is two spaces further to the right than its containing element. The integer 0 will cause the xml to be completely left-aligned. The integer -1 means no formatting - the xml will come out on one long line.

返回值

None.

错误/异常

SDO_DAS_XML_FileException

Thrown if the specified file cannot be found.

add a note add a note

User Contributed Notes

There are no user contributed notes for this page.

官方地址:https://www.php.net/manual/en/sdo-das-xml.savefile.php

北京半月雨文化科技有限公司.版权所有 京ICP备12026184号-3