<?php
  include_once '../doc-typo3-funcs.php';
  $doxygen_vars = array(	"title" => "TYPO3 4.0.1: t3lib_xml Class Reference",
				"datetime" => "Sat Dec 2 19:26:41 2006",
				"date" => "2 Dec 2006",
				"doxygenversion" => "1.4.6",
				"projectname" => "TYPO3 4.0.1",
				"projectnumber" => "4.0.1"
			);
  get_header($doxygen_vars);
?>
<!-- Generated by Doxygen 1.4.6 -->
<div class="tabs">
  <ul>
    <li><a href="main.html"><span>Main&nbsp;Page</span></a></li>
    <li><a href="namespaces.html"><span>Namespaces</span></a></li>
    <li id="current"><a href="classes.html"><span>Classes</span></a></li>
    <li><a href="files.html"><span>Files</span></a></li>
    <li><a href="dirs.html"><span>Directories</span></a></li>
    <li><a href="pages.html"><span>Related&nbsp;Pages</span></a></li>
    <li><a href="examples.html"><span>Examples</span></a></li>
    <li>
      <form action="search.php" method="get">
        <table cellspacing="0" cellpadding="0" border="0">
          <tr>
            <td><label>&nbsp;<u>S</u>earch&nbsp;for&nbsp;</label></td>
            <td><input type="text" name="query" value="" size="20" accesskey="s"/></td>
          </tr>
        </table>
      </form>
    </li>
  </ul></div>
<div class="tabs">
  <ul>
    <li><a href="classes.html"><span>Alphabetical&nbsp;List</span></a></li>
    <li><a href="annotated.html"><span>Class&nbsp;List</span></a></li>
    <li><a href="hierarchy.html"><span>Class&nbsp;Hierarchy</span></a></li>
    <li><a href="functions.html"><span>Class&nbsp;Members</span></a></li>
  </ul></div>
<h1>t3lib_xml Class Reference</h1><!-- doxytag: class="t3lib_xml" --><a href="classt3lib__xml-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0">
<tr><td></td></tr>
<tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classt3lib__xml.html#16296028c7bbd08525e1d7344821ef5f">t3lib_xml</a> ($topLevelName)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classt3lib__xml.html#1f3126fba71ba7339a3550a2eb4722de">setRecFields</a> ($table, $list)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classt3lib__xml.html#254597222a64ef4bbfc494b489a19bd8">getResult</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classt3lib__xml.html#d38bb02a7d84ebd718f967256c36a276">WAPHeader</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classt3lib__xml.html#e400235d1d9ca42631a3f3f40ce7932b">renderHeader</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classt3lib__xml.html#6ab5ebe360794279de68931775e2e748">renderFooter</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classt3lib__xml.html#7e9fd7b4292cd21d13f13447676ffc7a">newLevel</a> ($name, $beginEndFlag=0, $params=array())</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classt3lib__xml.html#51526b72f8474de96f2686a36d390149">output</a> ($content)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classt3lib__xml.html#799f3a583aeb2447c33cc17f25b64f0a">indent</a> ($b)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classt3lib__xml.html#143c77df3698f28b8977c202e90f3074">renderRecords</a> ($table, $res)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classt3lib__xml.html#12e4616b117b0110ac04ee8f7b8a386f">addRecord</a> ($table, $row)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classt3lib__xml.html#6e741d54d6dae4238b1848a4d68ad315">getRowInXML</a> ($table, $row)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classt3lib__xml.html#1b9d7aa2c60f4dc82c1c327870f7be1a">utf8</a> ($content)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classt3lib__xml.html#de6540c9e998e8a1b4d48b7d448ec206">substNewline</a> ($string)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classt3lib__xml.html#c9c75ffc35071762bff1742a7a8fbbdf">fieldWrap</a> ($field, $value)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classt3lib__xml.html#2e3f8b14323a2aa91f5409a3d0523e1e">WAPback</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classt3lib__xml.html#04f462d83562ff475feec3ae8d5873fb">addLine</a> ($str)</td></tr>

<tr><td colspan="2"><br><h2>Public Attributes</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="791acfb98fe0243b7c7ddcd45d03b544"></a><!-- doxytag: member="t3lib_xml::$topLevelName" ref="791acfb98fe0243b7c7ddcd45d03b544" args="" -->
&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classt3lib__xml.html#791acfb98fe0243b7c7ddcd45d03b544">$topLevelName</a> = 'typo3_test'</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="901db24764246cdc74839e581ba1ad1b"></a><!-- doxytag: member="t3lib_xml::$XML_recFields" ref="901db24764246cdc74839e581ba1ad1b" args="" -->
&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classt3lib__xml.html#901db24764246cdc74839e581ba1ad1b">$XML_recFields</a> = array()</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="81ba99ab5b9b09645d8aa91588e76cc7"></a><!-- doxytag: member="t3lib_xml::$XMLIndent" ref="81ba99ab5b9b09645d8aa91588e76cc7" args="" -->
&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classt3lib__xml.html#81ba99ab5b9b09645d8aa91588e76cc7">$XMLIndent</a> = 0</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="087db1b349fa719947bd81a8f9333ffb"></a><!-- doxytag: member="t3lib_xml::$Icode" ref="087db1b349fa719947bd81a8f9333ffb" args="" -->
&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classt3lib__xml.html#087db1b349fa719947bd81a8f9333ffb">$Icode</a> = ''</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="d796b6243904e99e84756a0daa118af7"></a><!-- doxytag: member="t3lib_xml::$XMLdebug" ref="d796b6243904e99e84756a0daa118af7" args="" -->
&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classt3lib__xml.html#d796b6243904e99e84756a0daa118af7">$XMLdebug</a> = 0</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="0cf3461b20b6ef9b495760b5c3f3fe1b"></a><!-- doxytag: member="t3lib_xml::$includeNonEmptyValues" ref="0cf3461b20b6ef9b495760b5c3f3fe1b" args="" -->
&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classt3lib__xml.html#0cf3461b20b6ef9b495760b5c3f3fe1b">$includeNonEmptyValues</a> = 0</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="8aaa4575240659d6979277fa9151755c"></a><!-- doxytag: member="t3lib_xml::$lines" ref="8aaa4575240659d6979277fa9151755c" args="" -->
&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classt3lib__xml.html#8aaa4575240659d6979277fa9151755c">$lines</a> = array()</td></tr>

</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>

<p>

<p>
Definition at line <a class="el" href="class_8t3lib__xml_8php-source.html#l00086">86</a> of file <a class="el" href="class_8t3lib__xml_8php-source.html">class.t3lib_xml.php</a>.<hr><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" name="16296028c7bbd08525e1d7344821ef5f"></a><!-- doxytag: member="t3lib_xml::t3lib_xml" ref="16296028c7bbd08525e1d7344821ef5f" args="($topLevelName)" --><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top">t3lib_xml::t3lib_xml           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">$&nbsp;</td>
          <td class="mdname1" valign="top" nowrap> <em>topLevelName</em>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Constructor, setting topLevelName to the input var<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>string</em>&nbsp;</td><td>Top Level Name </td></tr>
  </table>
</dl>
<dl compact><dt><b>Returns:</b></dt><dd>void </dd></dl>

<p>
Definition at line <a class="el" href="class_8t3lib__xml_8php-source.html#l00102">102</a> of file <a class="el" href="class_8t3lib__xml_8php-source.html">class.t3lib_xml.php</a>.
<p>
References <a class="el" href="class_8t3lib__xml_8php-source.html#l00087">$topLevelName</a>.    </td>
  </tr>
</table>
<hr><h2>Member Function Documentation</h2>
<a class="anchor" name="04f462d83562ff475feec3ae8d5873fb"></a><!-- doxytag: member="t3lib_xml::addLine" ref="04f462d83562ff475feec3ae8d5873fb" args="($str)" --><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top">t3lib_xml::addLine           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">$&nbsp;</td>
          <td class="mdname1" valign="top" nowrap> <em>str</em>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Add a line to the internal XML structure (automatically prefixed with -&gt;Icode.<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>string</em>&nbsp;</td><td>Line to add to the $this-&gt;lines array </td></tr>
  </table>
</dl>
<dl compact><dt><b>Returns:</b></dt><dd>void </dd></dl>

<p>
Definition at line <a class="el" href="class_8t3lib__xml_8php-source.html#l00315">315</a> of file <a class="el" href="class_8t3lib__xml_8php-source.html">class.t3lib_xml.php</a>.    </td>
  </tr>
</table>
<a class="anchor" name="12e4616b117b0110ac04ee8f7b8a386f"></a><!-- doxytag: member="t3lib_xml::addRecord" ref="12e4616b117b0110ac04ee8f7b8a386f" args="($table, $row)" --><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top">t3lib_xml::addRecord           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">$&nbsp;</td>
          <td class="mdname" nowrap> <em>table</em>, </td>
        </tr>
        <tr>
          <td class="md" nowrap align="right"></td>
          <td class="md"></td>
          <td class="md" nowrap>$&nbsp;</td>
          <td class="mdname" nowrap> <em>row</em></td>
        </tr>
        <tr>
          <td class="md"></td>
          <td class="md">)&nbsp;</td>
          <td class="md" colspan="2"></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Adds record, $row, from table, $table, to the internal array of XML-lines<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>string</em>&nbsp;</td><td>Table name </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>array</em>&nbsp;</td><td>The row to add to XML structure from the table name </td></tr>
  </table>
</dl>
<dl compact><dt><b>Returns:</b></dt><dd>void </dd></dl>

<p>
Definition at line <a class="el" href="class_8t3lib__xml_8php-source.html#l00237">237</a> of file <a class="el" href="class_8t3lib__xml_8php-source.html">class.t3lib_xml.php</a>.    </td>
  </tr>
</table>
<a class="anchor" name="c9c75ffc35071762bff1742a7a8fbbdf"></a><!-- doxytag: member="t3lib_xml::fieldWrap" ref="c9c75ffc35071762bff1742a7a8fbbdf" args="($field, $value)" --><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top">t3lib_xml::fieldWrap           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">$&nbsp;</td>
          <td class="mdname" nowrap> <em>field</em>, </td>
        </tr>
        <tr>
          <td class="md" nowrap align="right"></td>
          <td class="md"></td>
          <td class="md" nowrap>$&nbsp;</td>
          <td class="mdname" nowrap> <em>value</em></td>
        </tr>
        <tr>
          <td class="md"></td>
          <td class="md">)&nbsp;</td>
          <td class="md" colspan="2"></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Wraps the value in tags with element name, $field.<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>string</em>&nbsp;</td><td>Fieldname from a record - will be the element name </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>string</em>&nbsp;</td><td>Value from the field - will be wrapped in the elements. </td></tr>
  </table>
</dl>
<dl compact><dt><b>Returns:</b></dt><dd>string The wrapped string. </dd></dl>

<p>
Definition at line <a class="el" href="class_8t3lib__xml_8php-source.html#l00292">292</a> of file <a class="el" href="class_8t3lib__xml_8php-source.html">class.t3lib_xml.php</a>.    </td>
  </tr>
</table>
<a class="anchor" name="254597222a64ef4bbfc494b489a19bd8"></a><!-- doxytag: member="t3lib_xml::getResult" ref="254597222a64ef4bbfc494b489a19bd8" args="()" --><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top">t3lib_xml::getResult           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Returns the result of the XML rendering, basically this is imploding the internal -&gt;lines array with linebreaks.<p>
<dl compact><dt><b>Returns:</b></dt><dd>string </dd></dl>

<p>
Definition at line <a class="el" href="class_8t3lib__xml_8php-source.html#l00122">122</a> of file <a class="el" href="class_8t3lib__xml_8php-source.html">class.t3lib_xml.php</a>.
<p>
References <a class="el" href="class_8t3lib__xml_8php-source.html#l00192">output()</a>.    </td>
  </tr>
</table>
<a class="anchor" name="6e741d54d6dae4238b1848a4d68ad315"></a><!-- doxytag: member="t3lib_xml::getRowInXML" ref="6e741d54d6dae4238b1848a4d68ad315" args="($table, $row)" --><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top">t3lib_xml::getRowInXML           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">$&nbsp;</td>
          <td class="mdname" nowrap> <em>table</em>, </td>
        </tr>
        <tr>
          <td class="md" nowrap align="right"></td>
          <td class="md"></td>
          <td class="md" nowrap>$&nbsp;</td>
          <td class="mdname" nowrap> <em>row</em></td>
        </tr>
        <tr>
          <td class="md"></td>
          <td class="md">)&nbsp;</td>
          <td class="md" colspan="2"></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Internal function for adding the actual content of the $row from $table to the internal structure. Notice that only fields from $table that are listed in $this-&gt;XML_recFields[$table] (set by <a class="el" href="classt3lib__xml.html#1f3126fba71ba7339a3550a2eb4722de">setRecFields()</a>) will be rendered (and in the order found in that array!) Content from the row will be htmlspecialchar()'ed, UTF-8 encoded and have chr(10) (newlines) exchanged for '&lt;newline&gt;' tags. The element name for a value equals the fieldname from the record.<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>string</em>&nbsp;</td><td>Table name </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>array</em>&nbsp;</td><td>Row from table to add. </td></tr>
  </table>
</dl>
<dl compact><dt><b>Returns:</b></dt><dd>void  private </dd></dl>

<p>
Definition at line <a class="el" href="class_8t3lib__xml_8php-source.html#l00255">255</a> of file <a class="el" href="class_8t3lib__xml_8php-source.html">class.t3lib_xml.php</a>.
<p>
References <a class="el" href="incfile_8php-source.html#l00011">t3lib_div::trimExplode()</a>.    </td>
  </tr>
</table>
<a class="anchor" name="799f3a583aeb2447c33cc17f25b64f0a"></a><!-- doxytag: member="t3lib_xml::indent" ref="799f3a583aeb2447c33cc17f25b64f0a" args="($b)" --><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top">t3lib_xml::indent           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">$&nbsp;</td>
          <td class="mdname1" valign="top" nowrap> <em>b</em>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Increments/Decrements Indentation counter, -&gt;XMLIndent Sets and returns -&gt;Icode variable which is a line prefix consisting of a number of tab-chars corresponding to the indent-levels of the current posision (-&gt;XMLindent)<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>boolean</em>&nbsp;</td><td>If true the XMLIndent var is increased, otherwise decreased </td></tr>
  </table>
</dl>
<dl compact><dt><b>Returns:</b></dt><dd>string -&gt;Icode - the prefix string with TAB-chars. </dd></dl>

<p>
Definition at line <a class="el" href="class_8t3lib__xml_8php-source.html#l00208">208</a> of file <a class="el" href="class_8t3lib__xml_8php-source.html">class.t3lib_xml.php</a>.
<p>
Referenced by <a class="el" href="class_8t3lib__xml_8php-source.html#l00167">newLevel()</a>.    </td>
  </tr>
</table>
<a class="anchor" name="7e9fd7b4292cd21d13f13447676ffc7a"></a><!-- doxytag: member="t3lib_xml::newLevel" ref="7e9fd7b4292cd21d13f13447676ffc7a" args="($name, $beginEndFlag=0, $params=array())" --><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top">t3lib_xml::newLevel           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">$&nbsp;</td>
          <td class="mdname" nowrap> <em>name</em>, </td>
        </tr>
        <tr>
          <td class="md" nowrap align="right"></td>
          <td class="md"></td>
          <td class="md" nowrap>$&nbsp;</td>
          <td class="mdname" nowrap> <em>beginEndFlag</em> = <code>0</code>, </td>
        </tr>
        <tr>
          <td class="md" nowrap align="right"></td>
          <td class="md"></td>
          <td class="md" nowrap>$&nbsp;</td>
          <td class="mdname" nowrap> <em>params</em> = <code>array()</code></td>
        </tr>
        <tr>
          <td class="md"></td>
          <td class="md">)&nbsp;</td>
          <td class="md" colspan="2"></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Indents/Outdents a new level named, $name<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>string</em>&nbsp;</td><td>The name of the new element for this level </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>boolean</em>&nbsp;</td><td>If false, then this function call will *end* the level, otherwise create it. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>array</em>&nbsp;</td><td>Array of attributes in key/value pairs which will be added to the element (tag), $name </td></tr>
  </table>
</dl>
<dl compact><dt><b>Returns:</b></dt><dd>void </dd></dl>

<p>
Definition at line <a class="el" href="class_8t3lib__xml_8php-source.html#l00167">167</a> of file <a class="el" href="class_8t3lib__xml_8php-source.html">class.t3lib_xml.php</a>.
<p>
References <a class="el" href="class_8t3lib__xml_8php-source.html#l00208">indent()</a>.
<p>
Referenced by <a class="el" href="class_8t3lib__xml_8php-source.html#l00155">renderFooter()</a>, <a class="el" href="class_8t3lib__xml_8php-source.html#l00144">renderHeader()</a>, and <a class="el" href="class_8t3lib__xml_8php-source.html#l00132">WAPHeader()</a>.    </td>
  </tr>
</table>
<a class="anchor" name="51526b72f8474de96f2686a36d390149"></a><!-- doxytag: member="t3lib_xml::output" ref="51526b72f8474de96f2686a36d390149" args="($content)" --><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top">t3lib_xml::output           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">$&nbsp;</td>
          <td class="mdname1" valign="top" nowrap> <em>content</em>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Function that will return the content from string $content. If the internal -&gt;XMLdebug flag is set the content returned will be formatted in<pre>-tags</pre><p>
<pre><dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>string</em>&nbsp;</td><td>The XML content to output
</td></tr>
  </table>
</dl>
<dl compact><dt><b>Returns:</b></dt><dd>string		Output
</dd></dl>
</pre>
<p>
Definition at line <a class="el" href="class_8t3lib__xml_8php-source.html#l00192">192</a> of file <a class="el" href="class_8t3lib__xml_8php-source.html">class.t3lib_xml.php</a>.
<p>
Referenced by <a class="el" href="class_8t3lib__xml_8php-source.html#l00122">getResult()</a>.    </td>
  </tr>
</table>
<a class="anchor" name="6ab5ebe360794279de68931775e2e748"></a><!-- doxytag: member="t3lib_xml::renderFooter" ref="6ab5ebe360794279de68931775e2e748" args="()" --><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top">t3lib_xml::renderFooter           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Sets the footer (of -&gt;topLevelName)<p>
<dl compact><dt><b>Returns:</b></dt><dd>void </dd></dl>

<p>
Definition at line <a class="el" href="class_8t3lib__xml_8php-source.html#l00155">155</a> of file <a class="el" href="class_8t3lib__xml_8php-source.html">class.t3lib_xml.php</a>.
<p>
References <a class="el" href="class_8t3lib__xml_8php-source.html#l00167">newLevel()</a>.    </td>
  </tr>
</table>
<a class="anchor" name="e400235d1d9ca42631a3f3f40ce7932b"></a><!-- doxytag: member="t3lib_xml::renderHeader" ref="e400235d1d9ca42631a3f3f40ce7932b" args="()" --><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top">t3lib_xml::renderHeader           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Initialize "anonymous" XML document with &lt;?xml + &lt;!DOCTYPE header tags and setting -&gt;topLevelName as the first level. Encoding is set to UTF-8!<p>
<dl compact><dt><b>Returns:</b></dt><dd>void </dd></dl>

<p>
Definition at line <a class="el" href="class_8t3lib__xml_8php-source.html#l00144">144</a> of file <a class="el" href="class_8t3lib__xml_8php-source.html">class.t3lib_xml.php</a>.
<p>
References <a class="el" href="class_8t3lib__xml_8php-source.html#l00167">newLevel()</a>.    </td>
  </tr>
</table>
<a class="anchor" name="143c77df3698f28b8977c202e90f3074"></a><!-- doxytag: member="t3lib_xml::renderRecords" ref="143c77df3698f28b8977c202e90f3074" args="($table, $res)" --><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top">t3lib_xml::renderRecords           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">$&nbsp;</td>
          <td class="mdname" nowrap> <em>table</em>, </td>
        </tr>
        <tr>
          <td class="md" nowrap align="right"></td>
          <td class="md"></td>
          <td class="md" nowrap>$&nbsp;</td>
          <td class="mdname" nowrap> <em>res</em></td>
        </tr>
        <tr>
          <td class="md"></td>
          <td class="md">)&nbsp;</td>
          <td class="md" colspan="2"></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Takes a SQL result for $table and traverses it, adding rows<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>string</em>&nbsp;</td><td>Tablename </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>pointer</em>&nbsp;</td><td>SQL resource pointer, should be reset </td></tr>
  </table>
</dl>
<dl compact><dt><b>Returns:</b></dt><dd>void </dd></dl>

<p>
Definition at line <a class="el" href="class_8t3lib__xml_8php-source.html#l00224">224</a> of file <a class="el" href="class_8t3lib__xml_8php-source.html">class.t3lib_xml.php</a>.    </td>
  </tr>
</table>
<a class="anchor" name="1f3126fba71ba7339a3550a2eb4722de"></a><!-- doxytag: member="t3lib_xml::setRecFields" ref="1f3126fba71ba7339a3550a2eb4722de" args="($table, $list)" --><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top">t3lib_xml::setRecFields           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">$&nbsp;</td>
          <td class="mdname" nowrap> <em>table</em>, </td>
        </tr>
        <tr>
          <td class="md" nowrap align="right"></td>
          <td class="md"></td>
          <td class="md" nowrap>$&nbsp;</td>
          <td class="mdname" nowrap> <em>list</em></td>
        </tr>
        <tr>
          <td class="md"></td>
          <td class="md">)&nbsp;</td>
          <td class="md" colspan="2"></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
When outputting a input record in XML only fields listed in $this-&gt;XML_recFields for the current table will be rendered.<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>string</em>&nbsp;</td><td>Table name </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>string</em>&nbsp;</td><td>Commalist of fields names from the table, $table, which is supposed to be rendered in the XML output. If a field is not in this list, it is not rendered. </td></tr>
  </table>
</dl>
<dl compact><dt><b>Returns:</b></dt><dd>void </dd></dl>

<p>
Definition at line <a class="el" href="class_8t3lib__xml_8php-source.html#l00113">113</a> of file <a class="el" href="class_8t3lib__xml_8php-source.html">class.t3lib_xml.php</a>.    </td>
  </tr>
</table>
<a class="anchor" name="de6540c9e998e8a1b4d48b7d448ec206"></a><!-- doxytag: member="t3lib_xml::substNewline" ref="de6540c9e998e8a1b4d48b7d448ec206" args="($string)" --><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top">t3lib_xml::substNewline           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">$&nbsp;</td>
          <td class="mdname1" valign="top" nowrap> <em>string</em>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Substitutes chr(10) characters with a '&lt;newline&gt;' tag.<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>string</em>&nbsp;</td><td>Input value </td></tr>
  </table>
</dl>
<dl compact><dt><b>Returns:</b></dt><dd>string Processed input value </dd></dl>

<p>
Definition at line <a class="el" href="class_8t3lib__xml_8php-source.html#l00281">281</a> of file <a class="el" href="class_8t3lib__xml_8php-source.html">class.t3lib_xml.php</a>.    </td>
  </tr>
</table>
<a class="anchor" name="1b9d7aa2c60f4dc82c1c327870f7be1a"></a><!-- doxytag: member="t3lib_xml::utf8" ref="1b9d7aa2c60f4dc82c1c327870f7be1a" args="($content)" --><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top">t3lib_xml::utf8           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">$&nbsp;</td>
          <td class="mdname1" valign="top" nowrap> <em>content</em>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
UTF-8 encodes the input content (from ISO-8859-1!)<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>string</em>&nbsp;</td><td>String content to UTF-8 encode </td></tr>
  </table>
</dl>
<dl compact><dt><b>Returns:</b></dt><dd>string Encoded content. </dd></dl>

<p>
Definition at line <a class="el" href="class_8t3lib__xml_8php-source.html#l00271">271</a> of file <a class="el" href="class_8t3lib__xml_8php-source.html">class.t3lib_xml.php</a>.    </td>
  </tr>
</table>
<a class="anchor" name="2e3f8b14323a2aa91f5409a3d0523e1e"></a><!-- doxytag: member="t3lib_xml::WAPback" ref="2e3f8b14323a2aa91f5409a3d0523e1e" args="()" --><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top">t3lib_xml::WAPback           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Creates the BACK button for WAP documents<p>
<dl compact><dt><b>Returns:</b></dt><dd>void </dd></dl>

<p>
Definition at line <a class="el" href="class_8t3lib__xml_8php-source.html#l00301">301</a> of file <a class="el" href="class_8t3lib__xml_8php-source.html">class.t3lib_xml.php</a>.    </td>
  </tr>
</table>
<a class="anchor" name="d38bb02a7d84ebd718f967256c36a276"></a><!-- doxytag: member="t3lib_xml::WAPHeader" ref="d38bb02a7d84ebd718f967256c36a276" args="()" --><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top">t3lib_xml::WAPHeader           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Initialize WML (WAP) document with &lt;?xml + &lt;!DOCTYPE header tags and setting -&gt;topLevelName as the first level.<p>
<dl compact><dt><b>Returns:</b></dt><dd>void </dd></dl>

<p>
Definition at line <a class="el" href="class_8t3lib__xml_8php-source.html#l00132">132</a> of file <a class="el" href="class_8t3lib__xml_8php-source.html">class.t3lib_xml.php</a>.
<p>
References <a class="el" href="class_8t3lib__xml_8php-source.html#l00167">newLevel()</a>.    </td>
  </tr>
</table>
<hr>The documentation for this class was generated from the following file:<ul>
<li>typo3_src-4.0.1/t3lib/<a class="el" href="class_8t3lib__xml_8php-source.html">class.t3lib_xml.php</a></ul>
<?php
  include_once '../doc-typo3-funcs.php';
  get_footer();
?>