PHP Doku:: Saves the SDO_DAS_XML_Document object to a file - function.sdo-das-xml-savefile.html

Verlauf / Chronik / History: (1) anzeigen

Sie sind hier:
Doku-StartseitePHP-HandbuchFunktionsreferenzXML-ManipulationSDO XML Data Access ServiceSDO DAS XML FunktionenSDO_DAS_XML::saveFile

Ein Service von Reinhard Neidl - Webprogrammierung.

SDO DAS XML Funktionen

<<SDO_DAS_XML::loadString

SDO_DAS_XML::saveString>>

SDO_DAS_XML::saveFile

(^)

SDO_DAS_XML::saveFile Saves the SDO_DAS_XML_Document object to a file

Beschreibung

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

Saves the SDO_DAS_XML_Document object to a file.

Parameter-Liste

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.

Rückgabewerte

None.

Fehler/Exceptions

SDO_DAS_XML_FileException

Thrown if the specified file cannot be found.


Keine BenutzerBeiträge.
- Beiträge aktualisieren...



PHP Powered Diese Seite bei php.net
The PHP manual text and comments are covered by the Creative Commons Attribution 3.0 License © the PHP Documentation Group - Impressum - mail("TO:Reinhard Neidl",...)