Source of: /manual/en/function.sdo-das-xml-savestring.php
<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$PARENTS = array();
include_once dirname(__FILE__) ."/toc/ref.sdo-das-xml.inc";
$setup = array (
'home' =>
array (
0 => 'index.php',
1 => 'PHP Manual',
),
'head' =>
array (
0 => 'UTF-8',
1 => 'en',
),
'this' =>
array (
0 => 'function.sdo-das-xml-savestring.php',
1 => 'SDO_DAS_XML::saveString',
),
'up' =>
array (
0 => 'ref.sdo-das-xml.php',
1 => 'SDO DAS XML Functions',
),
'prev' =>
array (
0 => 'function.sdo-das-xml-savefile.php',
1 => 'SDO_DAS_XML::saveFile',
),
'next' =>
array (
0 => 'book.simplexml.php',
1 => 'SimpleXML',
),
);
$setup["toc"] = $TOC;
$setup["parents"] = $PARENTS;
manual_setup($setup);
manual_header();
?>
<div id="function.sdo-das-xml-savestring" class="refentry">
<div class="refnamediv">
<h1 class="refname">SDO_DAS_XML::saveString</h1>
<p class="verinfo">(^)</p><p class="refpurpose"><span class="refname">SDO_DAS_XML::saveString</span> — <span class="dc-title">
Saves the SDO_DAS_XML_Document object to a string
</span></p>
</div>
<a name="function.sdo-das-xml-savestring.description"></a><div class="refsect1 description">
<h3 class="title">Description</h3>
<div class="methodsynopsis dc-description">
<span class="type">string</span> <span class="methodname"><b>SDO_DAS_XML::saveString</b></span>
( <span class="methodparam"><span class="type"><span class="type SDO_XMLDocument">SDO_XMLDocument</span></span> <tt class="parameter">$xdoc</tt></span>
[, <span class="methodparam"><span class="type">int</span> <tt class="parameter">$indent</tt></span>
] )</div>
<p class="para rdfs-comment">
Saves the SDO_DAS_XML_Document object to string.
</p>
</div>
<a name="function.sdo-das-xml-savestring.parameters"></a><div class="refsect1 parameters">
<h3 class="title">Parameters</h3>
<p class="para">
</p><dl>
<dt class="varlistentry">
<span class="term">
<i><tt class="parameter">xdoc</tt></i>
</span>
</dt><dd class="listitem">
<p class="para">
SDO_DAS_XML_Document object.
</p>
</dd>
<dt class="varlistentry">
<span class="term">
<i><tt class="parameter">indent</tt></i>
</span>
</dt><dd class="listitem">
<p class="para">
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.
</p>
</dd>
</dl>
<p>
</p>
</div>
<a name="function.sdo-das-xml-savestring.returnvalues"></a><div class="refsect1 returnvalues">
<h3 class="title">Return Values</h3>
<p class="para">
xml string.
</p>
</div>
</div><?php manual_footer(); ?>