/[cvs]/nfo/php/libs/com.newsblob.phphtmllib/doc/phpHtmlLib/XMLDocumentClass.html
ViewVC logotype

Diff of /nfo/php/libs/com.newsblob.phphtmllib/doc/phpHtmlLib/XMLDocumentClass.html

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.2 by jonen, Sat Feb 22 20:56:37 2003 UTC revision 1.4 by jonen, Thu May 6 16:24:30 2004 UTC
# Line 1  Line 1 
1  <!DOCTYPE HTML PUBLIC '-//W3C//DTD HTML 4.0 Transitional//EN' 'http://www.w3.org/TR/REC-html40/loose.dtd'>  <?xml version="1.0" encoding="iso-8859-1"?>
2  <!--NewPage-->  <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3  <HTML>    <html xmlns="http://www.w3.org/1999/xhtml">
4  <HEAD>                  <head>
5          <!-- Generated by PhpDoc date: 'Thu, 20 Feb 2003 16:24:01 -0800' -->                          <!-- template designed by Marco Von Ballmoos -->
6          <TITLE>Docs For Class XMLDocumentClass</TITLE>                          <title>Docs For Class XMLDocumentClass</title>
7  <LINK REL ='stylesheet' TYPE='text/css' HREF='../media/stylesheet.css' TITLE='Style'>                          <link rel="stylesheet" href="../media/stylesheet.css" />
8  </HEAD>                          <meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1'/>
9  <BODY style="background-color: #eeeeee; font-family: arial; font-size: .9em;">                  </head>
10  <!-- Links -->                  <body>
11  <a NAME="top"></A>                          <div class="page-body">                
12  <table WIDTH="100%" class="links">  <h2 class="class-name">Class XMLDocumentClass</h2>
13   <TR>  
14     <TD class="font10">  <a name="sec-description"></a>
15        Links:  <div class="info-box">
16        <A HREF="#children_summary" class="links" title="Classes extended from XMLDocumentClass">Child Classes</A>          <div class="info-box-title">Description</div>
17        <A HREF="#var_summary" class="links" title="Class Variable Summary">Variables</A>          <div class="nav-bar">
18        <A HREF="#var_inherited_summary" class="links" title="Inherited Class Variable Summary">Inherited Variables</A>                                          <span class="disabled">Description</span> |
19        <A HREF="#functions_inherited" class="links" title="Inherited Method Summary">Inherited Methods</A>                                                          <a href="#sec-descendents">Descendents</a>
20        <A HREF="#method_summary" class="links" title="Method Summary">Methods</A>                          |                                                                                       <a href="#sec-var-summary">Vars</a> (<a href="#sec-vars">details</a>)
21        <A HREF="#variable_detail" class="links" title="Variable Detail">Variable Detail</A>                                                  |                                                                                       <a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>)
22        <A HREF="#method_detail" class="links" title="Method Detail">Method Detail</A>                                                  
23     </TD>                                          </div>
24   </TR>          <div class="info-box-body">
25  </TABLE>                          <!-- ========== Info from phpDoc block ========= -->
26  <BR>  <p class="short-description">This class lets you build a complete  xml document and render it.</p>
27  <!-- Start of Class Data -->  <p class="description"><p>It automatically creates the root xml tag  that will contain all of the content.  The name of the tag is the first parameter to  the constructor.  You can add/change the attributes  to the root tag via the set_root_attributes() or  the set_root_attribute() methods.</p></p>
28  <H2>          <ul class="tags">
29          Class XMLDocumentClass                                  <li><span class="field">author:</span> Walter A. Boring IV &lt;<a href="mailto:waboring@buildabetterweb.com">waboring@buildabetterweb.com</a>&gt;</li>
30  </H2> (line <span class="linenumber">29</span>)                          </ul>
31  <pre>                  <p class="notes">
32  <a href="../phpHtmlLib/Container.html">Container</a>                          Located in <a class="field" href="_widgets_xml_XMLDocumentClass_inc.html">/widgets/xml/XMLDocumentClass.inc</a> (line <span class="field">29</span>)
33                    </p>
34                    
35                                    
36                    <pre><a href="../phpHtmlLib/Container.html">Container</a>
37     |     |
    --XMLDocumentClass</pre>  
 <SPAN class="type">Classes extended from XMLDocumentClass:</SPAN>  
                 <dl>  
         <dt><a href="../phpHtmlLib/SVGDocumentClass.html">SVGDocumentClass</a></dt>  
                 <dd>This class lets you build a complete  SVG document.</dd>  
         </dl>  
                 <dl>  
         <dt><a href="../phpHtmlLib/WMLDocumentClass.html">WMLDocumentClass</a></dt>  
                 <dd>This class lets you build a complete  WML document and render it</dd>  
         </dl>  
         </p>  
 <p>  
         <b><i>Located in File: Program_Root/widgets/XMLDocumentClass.inc</i></b><br>  
 </p>  
 <hr>  
 This class lets you build a complete  xml document and render it.  
 <br />  
 <p>It automatically creates the root xml tag  that will contain all of the content.  The name of the tag is the first parameter to  the constructor.  You can add/change the attributes  to the root tag via the set_root_attributes() or  the set_root_attribute() methods.</p>  
 <UL>  
                 <LI><b>author</b> - <CODE>Walter A. Boring IV &lt;<a href="mailto:waboring@buildabetterweb.com">mailto:waboring@buildabetterweb.com</a>&gt;</CODE></LI>  
         </UL>  
 <hr>  
 <!-- =========== VAR SUMMARY =========== -->  
 <A NAME='var_summary'><!-- --></A>  
 <TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='100%' CLASS="border">  
         <TR BGCOLOR='#CCCCFF' CLASS='TableHeadingColor'>  
                 <TD>  
                         <span CLASS="font12bold">Class Variable Summary</span>  
             <A HREF="#top" CLASS="links">^TOP</A>  
                 </TD>  
         </TR>  
   
                 <!-- =========== Summary =========== -->  
         <TR BGCOLOR='white' CLASS='TableRowColor'>  
                 <TD>  
                         <CODE><B><A HREF="../phpHtmlLib/XMLDocumentClass.html#var$dtd">$dtd</A></B></CODE>  
                         <BR>  
                         <blockquote> Holds the url of dtd </blockquote>  
                         <blockquote> Default Value: <CODE>->&nbsp;NULL<-</CODE> </blockquote>  
                 </TD>  
         </TR>  
                 <!-- =========== Summary =========== -->  
         <TR BGCOLOR='white' CLASS='TableRowColor'>  
                 <TD>  
                         <CODE><B><A HREF="../phpHtmlLib/XMLDocumentClass.html#var$root_name">$root_name</A></B></CODE>  
                         <BR>  
                         <blockquote> Holds the name of the root xml </blockquote>  
                         <blockquote> Default Value: <CODE>->&nbsp;NULL<-</CODE> </blockquote>  
                 </TD>  
         </TR>  
                 <!-- =========== Summary =========== -->  
         <TR BGCOLOR='white' CLASS='TableRowColor'>  
                 <TD>  
                         <CODE><B><A HREF="../phpHtmlLib/XMLDocumentClass.html#var$_doctype_links">$_doctype_links</A></B></CODE>  
                         <BR>  
                         <blockquote> This contains the doctype links </blockquote>  
                         <blockquote> Default Value: <CODE>->array()<-</CODE> </blockquote>  
                 </TD>  
         </TR>  
                 <!-- =========== Summary =========== -->  
         <TR BGCOLOR='white' CLASS='TableRowColor'>  
                 <TD>  
                         <CODE><B><A HREF="../phpHtmlLib/XMLDocumentClass.html#var$_doctype_source">$_doctype_source</A></B></CODE>  
                         <BR>  
                         <blockquote> the DOCTYPE source attribute </blockquote>  
                         <blockquote> Default Value: <CODE>->&nbsp;"SYSTEM"<-</CODE> </blockquote>  
                 </TD>  
         </TR>  
                 <!-- =========== Summary =========== -->  
         <TR BGCOLOR='white' CLASS='TableRowColor'>  
                 <TD>  
                         <CODE><B><A HREF="../phpHtmlLib/XMLDocumentClass.html#var$_http_content_type">$_http_content_type</A></B></CODE>  
                         <BR>  
                         <blockquote> The http content-type </blockquote>  
                         <blockquote> Default Value: <CODE>->&nbsp;"application/xml"<-</CODE> </blockquote>  
                 </TD>  
         </TR>  
                 <!-- =========== Summary =========== -->  
         <TR BGCOLOR='white' CLASS='TableRowColor'>  
                 <TD>  
                         <CODE><B><A HREF="../phpHtmlLib/XMLDocumentClass.html#var$_root_tag">$_root_tag</A></B></CODE>  
                         <BR>  
                         <blockquote> The root xml tag for all data </blockquote>  
                         <blockquote> Default Value: <CODE>->&nbsp;NULL<-</CODE> </blockquote>  
                 </TD>  
         </TR>  
                 <!-- =========== Summary =========== -->  
         <TR BGCOLOR='white' CLASS='TableRowColor'>  
                 <TD>  
                         <CODE><B><A HREF="../phpHtmlLib/XMLDocumentClass.html#var$_show_char_encoding">$_show_char_encoding</A></B></CODE>  
                         <BR>  
                         <blockquote> this is a hack to show the  character encoding or not. </blockquote>  
                         <blockquote> Default Value: <CODE>->&nbsp;TRUE<-</CODE> </blockquote>  
                 </TD>  
         </TR>  
                 <!-- =========== Summary =========== -->  
         <TR BGCOLOR='white' CLASS='TableRowColor'>  
                 <TD>  
                         <CODE><B><A HREF="../phpHtmlLib/XMLDocumentClass.html#var$_show_http_header">$_show_http_header</A></B></CODE>  
                         <BR>  
                         <blockquote> This flag tells if we should  output the header content type. </blockquote>  
                         <blockquote> Default Value: <CODE>->&nbsp;FALSE<-</CODE> </blockquote>  
                 </TD>  
         </TR>  
                 <!-- =========== Summary =========== -->  
         <TR BGCOLOR='white' CLASS='TableRowColor'>  
                 <TD>  
                         <CODE><B><A HREF="../phpHtmlLib/XMLDocumentClass.html#var$_xml_obj">$_xml_obj</A></B></CODE>  
                         <BR>  
                         <blockquote> holds the xml tag object that </blockquote>  
                         <blockquote> Default Value: <CODE>->&nbsp;NULL<-</CODE> </blockquote>  
                 </TD>  
         </TR>  
                 <!-- =========== Summary =========== -->  
         <TR BGCOLOR='white' CLASS='TableRowColor'>  
                 <TD>  
                         <CODE><B><A HREF="../phpHtmlLib/XMLDocumentClass.html#var$_xml_stylesheet_container">$_xml_stylesheet_container</A></B></CODE>  
                         <BR>  
                         <blockquote> The container for all the  xml-stylesheet tags </blockquote>  
                         <blockquote> Default Value: <CODE>->&nbsp;NULL<-</CODE> </blockquote>  
                 </TD>  
         </TR>  
         </TABLE>  
 <hr>  
 <!-- =========== VAR INHERITED SUMMARY =========== -->  
 <A NAME='var_inherited_summary'><!-- --></A>  
 <TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='100%' CLASS="border">  
         <TR BGCOLOR='#CCCCFF' CLASS='TableHeadingColor'>  
                 <TD>  
                         <span CLASS="font12bold">Inherited Class Variable Summary</span>  
             <A HREF="#top" CLASS="links">^TOP</A>  
                 </TD>  
         </TR>  
   
                 <!-- =========== Summary =========== -->  
         <TR BGCOLOR='white'>  
                 <TD>  
                         <span CLASS="font10bold">Inherited From Class <a href="../phpHtmlLib/Container.html">Container</a></span>  
             <table CELLPADDING='3' CELLSPACING='0' WIDTH='95%' CLASS="border" ALIGN="center">  
                         <tr CLASS="tableheadingcolor">  
                                 <th>Variable</th>  
                                 <th>Default Value</th>  
                                 <th>Description</th>  
                         </tr>  
                                                         <tr>  
                                 <td CLASS="font10bold"><a href="../phpHtmlLib/Container.html#var$_flags">Container::$_flags</a></td>  
                                 <td CLASS="font10" STYLE="white-space: nowrap">-> _NEWLINEAFTERCONTENT<-</td>  
                                 <td CLASS="font10">The flags that tell us</td>  
                         </tr>  
                                                         </table>  
             <BR>  
         </TD>  
         </TR>  
         </TABLE>  
   
 <hr>  
 <!-- =========== METHOD SUMMARY =========== -->  
 <A NAME='method_summary'><!-- --></A>  
 <TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='100%' Class="border">  
         <TR BGCOLOR='#CCCCFF' CLASS='TableHeadingColor'>  
                 <TD>  
                         <span class="font12bold">Method Summary</span>  
             <A HREF="#top" CLASS="links">^TOP</A>  
                 </TD>  
         </TR>  
   
                 <!-- =========== Summary =========== -->  
         <TR BGCOLOR='white' CLASS='TableRowColor'>  
                 <TD>  
                         <CODE><B><A HREF='../phpHtmlLib/XMLDocumentClass.html#methodXMLDocumentClass'>void constructor XMLDocumentClass ( $root_name, [$dtd = NULL], [$root_attributes = array()] )</A></B></CODE>  
                         <BR>  
                         <blockquote> The constructor </blockquote>  
                 </TD>  
         </TR>  
                 <!-- =========== Summary =========== -->  
         <TR BGCOLOR='white' CLASS='TableRowColor'>  
                 <TD>  
                         <CODE><B><A HREF='../phpHtmlLib/XMLDocumentClass.html#methodadd'>void add (  )</A></B></CODE>  
                         <BR>  
                         <blockquote> we override this class to make sure  we push all content inside the  local _xml_obj tag </blockquote>  
                 </TD>  
         </TR>  
                 <!-- =========== Summary =========== -->  
         <TR BGCOLOR='white' CLASS='TableRowColor'>  
                 <TD>  
                         <CODE><B><A HREF='../phpHtmlLib/XMLDocumentClass.html#methodadd_reference'>void add_reference ( &$content )</A></B></CODE>  
                         <BR>  
                         <blockquote> we override this class to make sure  we push all content inside the  local _xml_obj tag </blockquote>  
                 </TD>  
         </TR>  
                 <!-- =========== Summary =========== -->  
         <TR BGCOLOR='white' CLASS='TableRowColor'>  
                 <TD>  
                         <CODE><B><A HREF='../phpHtmlLib/XMLDocumentClass.html#methodadd_xml_stylesheet_link'>void add_xml_stylesheet_link ( $href )</A></B></CODE>  
                         <BR>  
                         <blockquote> This function is used to add a new  xml-stylesheet tag to the top  portion of the document. </blockquote>  
                 </TD>  
         </TR>  
                 <!-- =========== Summary =========== -->  
         <TR BGCOLOR='white' CLASS='TableRowColor'>  
                 <TD>  
                         <CODE><B><A HREF='../phpHtmlLib/XMLDocumentClass.html#methoddump_http_header'>void dump_http_header (  )</A></B></CODE>  
                         <BR>  
                         <blockquote> This function is used to output the http  header for this document. </blockquote>  
                 </TD>  
         </TR>  
                 <!-- =========== Summary =========== -->  
         <TR BGCOLOR='white' CLASS='TableRowColor'>  
                 <TD>  
                         <CODE><B><A HREF='../phpHtmlLib/XMLDocumentClass.html#methodget_doctype_source'>string get_doctype_source (  )</A></B></CODE>  
                         <BR>  
                         <blockquote> This function returns the current  DOCTYPE tag's source attribute </blockquote>  
                 </TD>  
         </TR>  
                 <!-- =========== Summary =========== -->  
         <TR BGCOLOR='white' CLASS='TableRowColor'>  
                 <TD>  
                         <CODE><B><A HREF='../phpHtmlLib/XMLDocumentClass.html#methodget_encoding'>string get_encoding (  )</A></B></CODE>  
                         <BR>  
                         <blockquote> This function gets the current encoding type </blockquote>  
                 </TD>  
         </TR>  
                 <!-- =========== Summary =========== -->  
         <TR BGCOLOR='white' CLASS='TableRowColor'>  
                 <TD>  
                         <CODE><B><A HREF='../phpHtmlLib/XMLDocumentClass.html#methodget_http_content_type'>string get_http_content_type (  )</A></B></CODE>  
                         <BR>  
                         <blockquote> This function returns the current  value of the http header content type </blockquote>  
                 </TD>  
         </TR>  
                 <!-- =========== Summary =========== -->  
         <TR BGCOLOR='white' CLASS='TableRowColor'>  
                 <TD>  
                         <CODE><B><A HREF='../phpHtmlLib/XMLDocumentClass.html#methodget_root_attributes'>array get_root_attributes (  )</A></B></CODE>  
                         <BR>  
                         <blockquote> This function is used to get the  root xml tag's attributes </blockquote>  
                 </TD>  
         </TR>  
                 <!-- =========== Summary =========== -->  
         <TR BGCOLOR='white' CLASS='TableRowColor'>  
                 <TD>  
                         <CODE><B><A HREF='../phpHtmlLib/XMLDocumentClass.html#methodget_root_name'>string get_root_name (  )</A></B></CODE>  
                         <BR>  
                         <blockquote> This function gets the document name </blockquote>  
                 </TD>  
         </TR>  
                 <!-- =========== Summary =========== -->  
         <TR BGCOLOR='white' CLASS='TableRowColor'>  
                 <TD>  
                         <CODE><B><A HREF='../phpHtmlLib/XMLDocumentClass.html#methodpush'>void push (  )</A></B></CODE>  
                         <BR>  
                         <blockquote> Same as add(). </blockquote>  
                 </TD>  
         </TR>  
                 <!-- =========== Summary =========== -->  
         <TR BGCOLOR='white' CLASS='TableRowColor'>  
                 <TD>  
                         <CODE><B><A HREF='../phpHtmlLib/XMLDocumentClass.html#methodpush_reference'>void push_reference ( &$content )</A></B></CODE>  
                         <BR>  
                         <blockquote> Same as add_reference  NOTE : only exists for compatibility with 1.1.x </blockquote>  
                 </TD>  
         </TR>  
                 <!-- =========== Summary =========== -->  
         <TR BGCOLOR='white' CLASS='TableRowColor'>  
                 <TD>  
                         <CODE><B><A HREF='../phpHtmlLib/XMLDocumentClass.html#methodrender'>string render ( [$indent_level = 0] )</A></B></CODE>  
                         <BR>  
                         <blockquote> function that will render the XML Document. </blockquote>  
                 </TD>  
         </TR>  
                 <!-- =========== Summary =========== -->  
         <TR BGCOLOR='white' CLASS='TableRowColor'>  
                 <TD>  
                         <CODE><B><A HREF='../phpHtmlLib/XMLDocumentClass.html#methodreset_content'>void reset_content (  )</A></B></CODE>  
                         <BR>  
                         <blockquote> we override this class to make sure  we push all content inside the  local _xml_obj tag </blockquote>  
                 </TD>  
         </TR>  
                 <!-- =========== Summary =========== -->  
         <TR BGCOLOR='white' CLASS='TableRowColor'>  
                 <TD>  
                         <CODE><B><A HREF='../phpHtmlLib/XMLDocumentClass.html#methodset_doctype_link'>void set_doctype_link ( $link )</A></B></CODE>  
                         <BR>  
                         <blockquote> This method is used to set the link attributes </blockquote>  
                 </TD>  
         </TR>  
                 <!-- =========== Summary =========== -->  
         <TR BGCOLOR='white' CLASS='TableRowColor'>  
                 <TD>  
                         <CODE><B><A HREF='../phpHtmlLib/XMLDocumentClass.html#methodset_doctype_source'>void set_doctype_source ( $source )</A></B></CODE>  
                         <BR>  
                         <blockquote> this function is used to change the  DOCTYPE tag's source attribute.  By  default it is set to SYSTEM. </blockquote>  
                 </TD>  
         </TR>  
                 <!-- =========== Summary =========== -->  
         <TR BGCOLOR='white' CLASS='TableRowColor'>  
                 <TD>  
                         <CODE><B><A HREF='../phpHtmlLib/XMLDocumentClass.html#methodset_encoding'>void set_encoding ( $charset )</A></B></CODE>  
                         <BR>  
                         <blockquote> set the character set </blockquote>  
                 </TD>  
         </TR>  
                 <!-- =========== Summary =========== -->  
         <TR BGCOLOR='white' CLASS='TableRowColor'>  
                 <TD>  
                         <CODE><B><A HREF='../phpHtmlLib/XMLDocumentClass.html#methodset_http_content_type'>void set_http_content_type ( [$type = "application/xml"] )</A></B></CODE>  
                         <BR>  
                         <blockquote> This function is used to set the  http header content-type for output to browsers </blockquote>  
                 </TD>  
         </TR>  
                 <!-- =========== Summary =========== -->  
         <TR BGCOLOR='white' CLASS='TableRowColor'>  
                 <TD>  
                         <CODE><B><A HREF='../phpHtmlLib/XMLDocumentClass.html#methodset_root_attribute'>void set_root_attribute ( $name, $value )</A></B></CODE>  
                         <BR>  
                         <blockquote> This sets 1 root tag attribute value pair </blockquote>  
                 </TD>  
         </TR>  
                 <!-- =========== Summary =========== -->  
         <TR BGCOLOR='white' CLASS='TableRowColor'>  
                 <TD>  
                         <CODE><B><A HREF='../phpHtmlLib/XMLDocumentClass.html#methodset_root_attributes'>void set_root_attributes ( $attributes )</A></B></CODE>  
                         <BR>  
                         <blockquote> This function is used to set the  root xml tag's attributes </blockquote>  
                 </TD>  
         </TR>  
                 <!-- =========== Summary =========== -->  
         <TR BGCOLOR='white' CLASS='TableRowColor'>  
                 <TD>  
                         <CODE><B><A HREF='../phpHtmlLib/XMLDocumentClass.html#methodset_root_name'>void set_root_name ( $root_name )</A></B></CODE>  
                         <BR>  
                         <blockquote> Set the document name  and the root tag's name. </blockquote>  
                 </TD>  
         </TR>  
                 <!-- =========== Summary =========== -->  
         <TR BGCOLOR='white' CLASS='TableRowColor'>  
                 <TD>  
                         <CODE><B><A HREF='../phpHtmlLib/XMLDocumentClass.html#methodshow_character_encoding'>void show_character_encoding ( [$flag = TRUE] )</A></B></CODE>  
                         <BR>  
                         <blockquote> method to update the flag that lets us know  to show/render the character encoding string  in the xml tag or not </blockquote>  
                 </TD>  
         </TR>  
                 <!-- =========== Summary =========== -->  
         <TR BGCOLOR='white' CLASS='TableRowColor'>  
                 <TD>  
                         <CODE><B><A HREF='../phpHtmlLib/XMLDocumentClass.html#methodshow_http_header'>void show_http_header ( [$flag = TRUE] )</A></B></CODE>  
                         <BR>  
                         <blockquote> this function is used to set the flag  that tells this class to automatically  output the content type in the http header </blockquote>  
                 </TD>  
         </TR>  
                 <!-- =========== Summary =========== -->  
         <TR BGCOLOR='white' CLASS='TableRowColor'>  
                 <TD>  
                         <CODE><B><A HREF='../phpHtmlLib/XMLDocumentClass.html#method_build_doctype'>void _build_doctype (  )</A></B></CODE>  
                         <BR>  
                         <blockquote> This method builds the DOCTYPE tag for the document </blockquote>  
                 </TD>  
         </TR>  
                 <!-- =========== Summary =========== -->  
         <TR BGCOLOR='white' CLASS='TableRowColor'>  
                 <TD>  
                         <CODE><B><A HREF='../phpHtmlLib/XMLDocumentClass.html#method_build_root_tag'>void _build_root_tag (  )</A></B></CODE>  
                         <BR>  
                         <blockquote> This function builds the root xml </blockquote>  
                 </TD>  
         </TR>  
                 <!-- =========== Summary =========== -->  
         <TR BGCOLOR='white' CLASS='TableRowColor'>  
                 <TD>  
                         <CODE><B><A HREF='../phpHtmlLib/XMLDocumentClass.html#method_build_xml_stylesheet_container'>void _build_xml_stylesheet_container (  )</A></B></CODE>  
                         <BR>  
                         <blockquote> This function builds the _xml_stylesheet_container </blockquote>  
                 </TD>  
         </TR>  
                 <!-- =========== Summary =========== -->  
         <TR BGCOLOR='white' CLASS='TableRowColor'>  
                 <TD>  
                         <CODE><B><A HREF='../phpHtmlLib/XMLDocumentClass.html#method_create_xml_obj'><a href="../phpHtmlLib/XMLtag.html">XMLtag</a> _create_xml_obj (  )</A></B></CODE>  
                         <BR>  
                         <blockquote> This function builds the local </blockquote>  
                 </TD>  
         </TR>  
         </TABLE>  
 <!-- =========== INHERITED METHOD SUMMARY =========== -->  
 <A NAME='functions_inherited'><!-- --></A>  
 <TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='100%' CLASS="border">  
         <TR BGCOLOR='#CCCCFF' CLASS='TableHeadingColor'>  
                 <TD>  
                         <span CLASS="font12bold">Inherited Method Summary</span>  
             <A HREF="#top" CLASS="links">^TOP</A>  
                 </TD>  
         </TR>  
   
                 <!-- =========== Summary =========== -->  
         <TR BGCOLOR='white' CLASS='TableRowColor'>  
                 <TD>  
                         <span CLASS="font10bold">Inherited From Class <a href="../phpHtmlLib/Container.html">Container</a></span>  
             <TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='95%' CLASS="border" ALIGN="center">  
                                 <tr CLASS="tableheadingcolor">  
                                         <th>Function</th>  
                                         <th>Description</th>  
                                 </tr>  
                                                                 <tr>  
                                         <td CLASS="font10bold"><a href="../phpHtmlLib/Container.html#methodContainer">Container::Container()</a></td>  
                                         <td CLASS="font10">The constructor.</td>  
                                                                 <tr>  
                                         <td CLASS="font10bold"><a href="../phpHtmlLib/Container.html#methodadd">Container::add()</a></td>  
                                         <td CLASS="font10">add content onto content stack</td>  
                                                                 <tr>  
                                         <td CLASS="font10bold"><a href="../phpHtmlLib/Container.html#methodadd_reference">Container::add_reference()</a></td>  
                                         <td CLASS="font10">Add content onto content stack  so you can change the item later.</td>  
                                                                 <tr>  
                                         <td CLASS="font10bold"><a href="../phpHtmlLib/Container.html#methodcount_content">Container::count_content()</a></td>  
                                         <td CLASS="font10">counts the number of content objects</td>  
                                                                 <tr>  
                                         <td CLASS="font10bold"><a href="../phpHtmlLib/Container.html#methodget_indent_flag">Container::get_indent_flag()</a></td>  
                                         <td CLASS="font10">This flag gets the current value  of the indent flag</td>  
                                                                 <tr>  
                                         <td CLASS="font10bold"><a href="../phpHtmlLib/Container.html#methodpush">Container::push()</a></td>  
                                         <td CLASS="font10">Same as add().</td>  
                                                                 <tr>  
                                         <td CLASS="font10bold"><a href="../phpHtmlLib/Container.html#methodpush_reference">Container::push_reference()</a></td>  
                                         <td CLASS="font10">Same as add_reference  NOTE : only exists for compatibility with 1.1.x</td>  
                                                                 <tr>  
                                         <td CLASS="font10bold"><a href="../phpHtmlLib/Container.html#methodrender">Container::render()</a></td>  
                                         <td CLASS="font10">This function is compatible with the  rest of the phpHtmllib API spec.</td>  
                                                                 <tr>  
                                         <td CLASS="font10bold"><a href="../phpHtmlLib/Container.html#methodreset_content">Container::reset_content()</a></td>  
                                         <td CLASS="font10">destroy existing content and start with new content.</td>  
                                                                 <tr>  
                                         <td CLASS="font10bold"><a href="../phpHtmlLib/Container.html#methodset_collapse">Container::set_collapse()</a></td>  
                                         <td CLASS="font10">This function turns on the collapse flag</td>  
                                                                 <tr>  
                                         <td CLASS="font10bold"><a href="../phpHtmlLib/Container.html#methodset_indent_flag">Container::set_indent_flag()</a></td>  
                                         <td CLASS="font10">function to set the indent flag</td>  
                                                                 <tr>  
                                         <td CLASS="font10bold"><a href="../phpHtmlLib/Container.html#method_set_flags">Container::_set_flags()</a></td>  
                                         <td CLASS="font10">This method is used to set the bitmask  flags for this tag.  It tells the  class how to render the tag.</td>  
                                                         </table>  
             <br>                          
                 </TD>  
         </TR>  
         </TABLE>  
 <hr>  
 <!-- ============ VARIABLE DETAIL =========== -->  
   
 <A NAME='variable_detail'></A>  
 <TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='100%' CLASS="border">  
         <TR BGCOLOR='#CCCCFF' CLASS='TableHeadingColor'>  
                 <TD>  
                         <span CLASS="font12bold">Variable Detail</span>  
             <A HREF="#top" CLASS="links">^TOP</A>  
                 </TD>  
         </TR>  
 </TABLE>  
   
 <A NAME='var$dtd'><!-- --></A><H3>$dtd</H3> (line <span class="linenumber">69</span>)<br />  
 <b>Data type:</b> mixed<br>Holds the url of dtd  
 <br />  
   
 <UL>  
         </UL>  
 <HR>  
 <A NAME='var$root_name'><!-- --></A><H3>$root_name</H3> (line <span class="linenumber">76</span>)<br />  
 <b>Data type:</b> mixed<br>Holds the name of the root xml  
 <br />  
 <p>element as well as the DOCTYPE  document_element attribute</p>  
 <UL>  
         </UL>  
 <HR>  
 <A NAME='var$_doctype_links'><!-- --></A><H3>$_doctype_links</H3> (line <span class="linenumber">105</span>)<br />  
 <b>Data type:</b> mixed<br>This contains the doctype links  
 <br />  
 <p>attributes.  There can be a maximum  of 2 according to the XML spec</p>  
 <UL>  
         </UL>  
 <HR>  
 <A NAME='var$_doctype_source'><!-- --></A><H3>$_doctype_source</H3> (line <span class="linenumber">98</span>)<br />  
 <b>Data type:</b> string<br>the DOCTYPE source attribute  
 <br />  
   
 <UL>  
         </UL>  
 <HR>  
 <A NAME='var$_http_content_type'><!-- --></A><H3>$_http_content_type</H3> (line <span class="linenumber">111</span>)<br />  
 <b>Data type:</b> mixed<br>The http content-type  
 <br />  
   
 <UL>  
         </UL>  
 <HR>  
 <A NAME='var$_root_tag'><!-- --></A><H3>$_root_tag</H3> (line <span class="linenumber">83</span>)<br />  
 <b>Data type:</b> <a href="../phpHtmlLib/XMLTagClass.html">XMLTagClass</a><br>The root xml tag for all data  
 <br />  
   
 <UL>  
                 <LI><b>var</b> - <CODE>object</CODE></LI>  
         </UL>  
 <HR>  
 <A NAME='var$_show_char_encoding'><!-- --></A><H3>$_show_char_encoding</H3> (line <span class="linenumber">64</span>)<br />  
 <b>Data type:</b> boolean<br>this is a hack to show the  character encoding or not.  
 <br />  
 <p>DEFAULT: on</p>  
 <UL>  
         </UL>  
 <HR>  
 <A NAME='var$_show_http_header'><!-- --></A><H3>$_show_http_header</H3> (line <span class="linenumber">55</span>)<br />  
 <b>Data type:</b> mixed<br>This flag tells if we should  output the header content type.  
 <br />  
 <p>this is usefull for folks using  this class for output not destined  for a browser.</p>  
 <UL>  
         </UL>  
 <HR>  
 <A NAME='var$_xml_obj'><!-- --></A><H3>$_xml_obj</H3> (line <span class="linenumber">37</span>)<br />  
 <b>Data type:</b> mixed<br>holds the xml tag object that  
 <br />  
 <p>all content will be wrapped in</p>  
 <UL>  
         </UL>  
 <HR>  
 <A NAME='var$_xml_stylesheet_container'><!-- --></A><H3>$_xml_stylesheet_container</H3> (line <span class="linenumber">119</span>)<br />  
 <b>Data type:</b> object<br>The container for all the  xml-stylesheet tags  
 <br />  
   
 <UL>  
         </UL>  
 <HR>  
 <hr>  
 <!-- ============ METHOD DETAIL =========== -->  
   
 <A NAME='method_detail'></A>  
 <TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='100%' CLASS="border">  
         <TR BGCOLOR='#CCCCFF' CLASS='TableHeadingColor'>  
                 <TD>  
                         <span class="font12bold">Method Detail</span>  
             <A HREF="#top" CLASS="links">^TOP</A>  
                 </TD>  
         </TR>  
 </TABLE>  
 <BR>  
 <DIV CLASS="function">  
 <A NAME='methodXMLDocumentClass'><!-- --></A>  
 <SPAN CLASS="font12bold">Constructor XMLDocumentClass</SPAN> (line <span class="linenumber">130</span>)  
 <BR>  
 <SPAN CLASS="font10bold">Usage : </SPAN>  
 <span class="font10bold" style="color: #FF0000">void</SPAN>&nbsp;  
 <span class="font10bold" style="color: #0000FF">XMLDocumentClass(  
 string  
 $root_name, [string  
 $dtd = NULL], [array  
 $root_attributes = array()])</SPAN>  
 <BR>  
   
 <BR>  
 <SPAN CLASS="font10bold">Description : </SPAN>  
 The constructor  
 <br />  
   
 <DL>  
         <DT class="font10bold">Function Parameters:</DT>  
                 <DD CLASS="font10" STYLE="padding-bottom:5px;"><span STYLE="font-style: italic;">- <span style="color: #FF0000;font-weight:bold;">string</SPAN> <span style="color: #0000FF;font-weight:bold">$root_name</SPAN></SPAN> - the root xml tag's name</DD>  
                 <DD CLASS="font10" STYLE="padding-bottom:5px;"><span STYLE="font-style: italic;">- <span style="color: #FF0000;font-weight:bold;">string</SPAN> <span style="color: #0000FF;font-weight:bold">$dtd</SPAN></SPAN> - the link path to the DTD (if any)</DD>  
                 <DD CLASS="font10" STYLE="padding-bottom:5px;"><span STYLE="font-style: italic;">- <span style="color: #FF0000;font-weight:bold;">array</SPAN> <span style="color: #0000FF;font-weight:bold">$root_attributes</SPAN></SPAN> - the root tag's attributes</DD>  
           
         <DT class="font10bold">Function Info:</DT>  
         </DL>  
 </DIV>  
 <BR>  
 <DIV CLASS="function">  
 <A NAME='methodadd'><!-- --></A>  
 <SPAN CLASS="font12bold">add</SPAN> (line <span class="linenumber">194</span>)  
 <BR>  
 <SPAN CLASS="font10bold">Usage : </SPAN>  
 <span class="font10bold" style="color: #FF0000">void</SPAN>&nbsp;  
 <span class="font10bold" style="color: #0000FF">add(  
 mixed  
 $content)</SPAN>  
 <BR>  
   
 <span class="font10bold" style="padding-left: 10px;">Overrides :</span> <a href="../phpHtmlLib/Container.html#methodadd">Container::add()</a> add content onto content stack  
 <BR>  
 <SPAN CLASS="font10bold">Description : </SPAN>  
 we override this class to make sure  we push all content inside the  local _xml_obj tag  
 <br />  
 <p>push content onto content stack  adds content to tag as a FIFO.  You can have n number of parameters.  each one will get added in succession to the content.</p>  
 <DL>  
         <DT class="font10bold">Function Parameters:</DT>  
                 <DD CLASS="font10" STYLE="padding-bottom:5px;"><span STYLE="font-style: italic;">- <span style="color: #FF0000;font-weight:bold;">mixed</SPAN> <span style="color: #0000FF;font-weight:bold">$content</SPAN></SPAN> - either string, or tag object.</DD>  
           
         <DT class="font10bold">Function Info:</DT>  
                 <DD CLASS="font10" STYLE="padding-bottom:5px;"><b>access</b> - public</DD>  
         </DL>  
 </DIV>  
 <BR>  
 <DIV CLASS="function">  
 <A NAME='methodadd_reference'><!-- --></A>  
 <SPAN CLASS="font12bold">add_reference</SPAN> (line <span class="linenumber">236</span>)  
 <BR>  
 <SPAN CLASS="font10bold">Usage : </SPAN>  
 <span class="font10bold" style="color: #FF0000">void</SPAN>&nbsp;  
 <span class="font10bold" style="color: #0000FF">add_reference(  
 mixed  
 &$content, mixed  
 $content)</SPAN>  
 <BR>  
   
 <span class="font10bold" style="padding-left: 10px;">Overrides :</span> <a href="../phpHtmlLib/Container.html#methodadd_reference">Container::add_reference()</a> Add content onto content stack  so you can change the item later.  
 <BR>  
 <SPAN CLASS="font10bold">Description : </SPAN>  
 we override this class to make sure  we push all content inside the  local _xml_obj tag  
 <br />  
 <p>push content onto content stack  adds content to tag as a FIFO  You can only add 1 element at a time, and  it will be added as a reference.  So you can't do  push_reference("something");, since "something" is a  static.</p>  
 <DL>  
         <DT class="font10bold">Function Parameters:</DT>  
                 <DD CLASS="font10" STYLE="padding-bottom:5px;"><span STYLE="font-style: italic;">- <span style="color: #FF0000;font-weight:bold;">mixed</SPAN> <span style="color: #0000FF;font-weight:bold">$content</SPAN></SPAN> - either string, or tag object. the tag object gets stored as a reference to the original, so you can push it, then modify it later.</DD>  
           
         <DT class="font10bold">Function Info:</DT>  
                 <DD CLASS="font10" STYLE="padding-bottom:5px;"><b>access</b> - public</DD>  
         </DL>  
 </DIV>  
 <BR>  
 <DIV CLASS="function">  
 <A NAME='methodadd_xml_stylesheet_link'><!-- --></A>  
 <SPAN CLASS="font12bold">add_xml_stylesheet_link</SPAN> (line <span class="linenumber">266</span>)  
 <BR>  
 <SPAN CLASS="font10bold">Usage : </SPAN>  
 <span class="font10bold" style="color: #FF0000">void</SPAN>&nbsp;  
 <span class="font10bold" style="color: #0000FF">add_xml_stylesheet_link(  
 string  
 $href)</SPAN>  
 <BR>  
   
 <BR>  
 <SPAN CLASS="font10bold">Description : </SPAN>  
 This function is used to add a new  xml-stylesheet tag to the top  portion of the document.  
 <br />  
 <p>This will automatically get added  after the xml tag and before the  &lt;!DOCTYPE &gt; tag</p>  
 <DL>  
         <DT class="font10bold">Function Parameters:</DT>  
                 <DD CLASS="font10" STYLE="padding-bottom:5px;"><span STYLE="font-style: italic;">- <span style="color: #FF0000;font-weight:bold;">string</SPAN> <span style="color: #0000FF;font-weight:bold">$href</SPAN></SPAN> - the href for the stylesheet link</DD>  
           
         <DT class="font10bold">Function Info:</DT>  
         </DL>  
 </DIV>  
 <BR>  
 <DIV CLASS="function">  
 <A NAME='methoddump_http_header'><!-- --></A>  
 <SPAN CLASS="font12bold">dump_http_header</SPAN> (line <span class="linenumber">444</span>)  
 <BR>  
 <SPAN CLASS="font10bold">Usage : </SPAN>  
 <span class="font10bold" style="color: #FF0000">void</SPAN>&nbsp;  
 <span class="font10bold" style="color: #0000FF">dump_http_header(  
 )</SPAN>  
 <BR>  
   
 <BR>  
 <SPAN CLASS="font10bold">Description : </SPAN>  
 This function is used to output the http  header for this document.  
 <br />  
 <p>It makes a call to php's Header() to  set the Content-type</p>  
 <DL>  
   
         <DT class="font10bold">Function Info:</DT>  
         </DL>  
 </DIV>  
 <BR>  
 <DIV CLASS="function">  
 <A NAME='methodget_doctype_source'><!-- --></A>  
 <SPAN CLASS="font12bold">get_doctype_source</SPAN> (line <span class="linenumber">480</span>)  
 <BR>  
 <SPAN CLASS="font10bold">Usage : </SPAN>  
 <span class="font10bold" style="color: #FF0000">string</SPAN>&nbsp;  
 <span class="font10bold" style="color: #0000FF">get_doctype_source(  
 )</SPAN>  
 <BR>  
   
 <BR>  
 <SPAN CLASS="font10bold">Description : </SPAN>  
 This function returns the current  DOCTYPE tag's source attribute  
 <br />  
   
 <DL>  
   
         <DT class="font10bold">Function Info:</DT>  
         </DL>  
 </DIV>  
 <BR>  
 <DIV CLASS="function">  
 <A NAME='methodget_encoding'><!-- --></A>  
 <SPAN CLASS="font12bold">get_encoding</SPAN> (line <span class="linenumber">330</span>)  
 <BR>  
 <SPAN CLASS="font10bold">Usage : </SPAN>  
 <span class="font10bold" style="color: #FF0000">string</SPAN>&nbsp;  
 <span class="font10bold" style="color: #0000FF">get_encoding(  
 )</SPAN>  
 <BR>  
   
 <BR>  
 <SPAN CLASS="font10bold">Description : </SPAN>  
 This function gets the current encoding type  
 <br />  
   
 <DL>  
   
         <DT class="font10bold">Function Info:</DT>  
                 <DD CLASS="font10" STYLE="padding-bottom:5px;"><b>return</b> - - the current encoding type for the xml</DD>  
         </DL>  
 </DIV>  
 <BR>  
 <DIV CLASS="function">  
 <A NAME='methodget_http_content_type'><!-- --></A>  
 <SPAN CLASS="font12bold">get_http_content_type</SPAN> (line <span class="linenumber">433</span>)  
 <BR>  
 <SPAN CLASS="font10bold">Usage : </SPAN>  
 <span class="font10bold" style="color: #FF0000">string</SPAN>&nbsp;  
 <span class="font10bold" style="color: #0000FF">get_http_content_type(  
 )</SPAN>  
 <BR>  
   
 <BR>  
 <SPAN CLASS="font10bold">Description : </SPAN>  
 This function returns the current  value of the http header content type  
 <br />  
   
 <DL>  
   
         <DT class="font10bold">Function Info:</DT>  
         </DL>  
 </DIV>  
 <BR>  
 <DIV CLASS="function">  
 <A NAME='methodget_root_attributes'><!-- --></A>  
 <SPAN CLASS="font12bold">get_root_attributes</SPAN> (line <span class="linenumber">380</span>)  
 <BR>  
 <SPAN CLASS="font10bold">Usage : </SPAN>  
 <span class="font10bold" style="color: #FF0000">array</SPAN>&nbsp;  
 <span class="font10bold" style="color: #0000FF">get_root_attributes(  
 )</SPAN>  
 <BR>  
   
 <BR>  
 <SPAN CLASS="font10bold">Description : </SPAN>  
 This function is used to get the  root xml tag's attributes  
 <br />  
   
 <DL>  
   
         <DT class="font10bold">Function Info:</DT>  
         </DL>  
 </DIV>  
 <BR>  
 <DIV CLASS="function">  
 <A NAME='methodget_root_name'><!-- --></A>  
 <SPAN CLASS="font12bold">get_root_name</SPAN> (line <span class="linenumber">350</span>)  
 <BR>  
 <SPAN CLASS="font10bold">Usage : </SPAN>  
 <span class="font10bold" style="color: #FF0000">string</SPAN>&nbsp;  
 <span class="font10bold" style="color: #0000FF">get_root_name(  
 )</SPAN>  
 <BR>  
   
 <BR>  
 <SPAN CLASS="font10bold">Description : </SPAN>  
 This function gets the document name  
 <br />  
   
 <DL>  
   
         <DT class="font10bold">Function Info:</DT>  
                 <DD CLASS="font10" STYLE="padding-bottom:5px;"><b>return</b> - - the current document name for the xml</DD>  
         </DL>  
 </DIV>  
 <BR>  
 <DIV CLASS="function">  
 <A NAME='methodpush'><!-- --></A>  
 <SPAN CLASS="font12bold">push</SPAN> (line <span class="linenumber">213</span>)  
 <BR>  
 <SPAN CLASS="font10bold">Usage : </SPAN>  
 <span class="font10bold" style="color: #FF0000">void</SPAN>&nbsp;  
 <span class="font10bold" style="color: #0000FF">push(  
 mixed  
 $content)</SPAN>  
 <BR>  
   
 <span class="font10bold" style="padding-left: 10px;">Overrides :</span> <a href="../phpHtmlLib/Container.html#methodpush">Container::push()</a> Same as add().  
 <BR>  
 <SPAN CLASS="font10bold">Description : </SPAN>  
 Same as add().  
 <br />  
 <p>NOTE: only exists for 1.1.x compatibility</p>  
 <DL>  
         <DT class="font10bold">Function Parameters:</DT>  
                 <DD CLASS="font10" STYLE="padding-bottom:5px;"><span STYLE="font-style: italic;">- <span style="color: #FF0000;font-weight:bold;">mixed</SPAN> <span style="color: #0000FF;font-weight:bold">$content</SPAN></SPAN> - either string, or tag object.</DD>  
           
         <DT class="font10bold">Function Info:</DT>  
                 <DD CLASS="font10" STYLE="padding-bottom:5px;"><b>access</b> - public</DD>  
                 <DD CLASS="font10" STYLE="padding-bottom:5px;"><b>deprecated</b> - </DD>  
         </DL>  
 </DIV>  
 <BR>  
 <DIV CLASS="function">  
 <A NAME='methodpush_reference'><!-- --></A>  
 <SPAN CLASS="font12bold">push_reference</SPAN> (line <span class="linenumber">252</span>)  
 <BR>  
 <SPAN CLASS="font10bold">Usage : </SPAN>  
 <span class="font10bold" style="color: #FF0000">void</SPAN>&nbsp;  
 <span class="font10bold" style="color: #0000FF">push_reference(  
 mixed  
 &$content)</SPAN>  
 <BR>  
   
 <span class="font10bold" style="padding-left: 10px;">Overrides :</span> <a href="../phpHtmlLib/Container.html#methodpush_reference">Container::push_reference()</a> Same as add_reference  NOTE : only exists for compatibility with 1.1.x  
 <BR>  
 <SPAN CLASS="font10bold">Description : </SPAN>  
 Same as add_reference  NOTE : only exists for compatibility with 1.1.x  
 <br />  
   
 <DL>  
         <DT class="font10bold">Function Parameters:</DT>  
                 <DD CLASS="font10" STYLE="padding-bottom:5px;"><span STYLE="font-style: italic;">- <span style="color: #FF0000;font-weight:bold;">mixed</SPAN> <span style="color: #0000FF;font-weight:bold">&$content</SPAN></SPAN> - a reference to some variable.</DD>  
           
         <DT class="font10bold">Function Info:</DT>  
                 <DD CLASS="font10" STYLE="padding-bottom:5px;"><b>access</b> - public</DD>  
         </DL>  
 </DIV>  
 <BR>  
 <DIV CLASS="function">  
 <A NAME='methodrender'><!-- --></A>  
 <SPAN CLASS="font12bold">render</SPAN> (line <span class="linenumber">149</span>)  
 <BR>  
 <SPAN CLASS="font10bold">Usage : </SPAN>  
 <span class="font10bold" style="color: #FF0000">string</SPAN>&nbsp;  
 <span class="font10bold" style="color: #0000FF">render(  
 int  
 $indent_level, int  
 1)</SPAN>  
 <BR>  
   
 <span class="font10bold" style="padding-left: 10px;">Overrides :</span> <a href="../phpHtmlLib/Container.html#methodrender">Container::render()</a> This function is compatible with the  rest of the phpHtmllib API spec.  
 <BR>  
 <SPAN CLASS="font10bold">Description : </SPAN>  
 function that will render the XML Document.  
 <br />  
   
 <DL>  
         <DT class="font10bold">Function Parameters:</DT>  
                 <DD CLASS="font10" STYLE="padding-bottom:5px;"><span STYLE="font-style: italic;">- <span style="color: #FF0000;font-weight:bold;">int</SPAN> <span style="color: #0000FF;font-weight:bold">1</SPAN></SPAN> - the output debug flag to maintain compatibility w/ the API.</DD>  
                 <DD CLASS="font10" STYLE="padding-bottom:5px;"><span STYLE="font-style: italic;">- <span style="color: #FF0000;font-weight:bold;">int</SPAN> <span style="color: #0000FF;font-weight:bold">$indent_level</SPAN></SPAN> - the indentation level for the container.</DD>  
           
         <DT class="font10bold">Function Info:</DT>  
                 <DD CLASS="font10" STYLE="padding-bottom:5px;"><b>return</b> - the raw html output.</DD>  
         </DL>  
 </DIV>  
 <BR>  
 <DIV CLASS="function">  
 <A NAME='methodreset_content'><!-- --></A>  
 <SPAN CLASS="font12bold">reset_content</SPAN> (line <span class="linenumber">288</span>)  
 <BR>  
 <SPAN CLASS="font10bold">Usage : </SPAN>  
 <span class="font10bold" style="color: #FF0000">void</SPAN>&nbsp;  
 <span class="font10bold" style="color: #0000FF">reset_content(  
 mixed  
 $content)</SPAN>  
 <BR>  
   
 <span class="font10bold" style="padding-left: 10px;">Overrides :</span> <a href="../phpHtmlLib/Container.html#methodreset_content">Container::reset_content()</a> destroy existing content and start with new content.  
 <BR>  
 <SPAN CLASS="font10bold">Description : </SPAN>  
 we override this class to make sure  we push all content inside the  local _xml_obj tag  
 <br />  
 <p>destroy existing content and start with new content.</p>  
 <DL>  
         <DT class="font10bold">Function Parameters:</DT>  
                 <DD CLASS="font10" STYLE="padding-bottom:5px;"><span STYLE="font-style: italic;">- <span style="color: #FF0000;font-weight:bold;">mixed</SPAN> <span style="color: #0000FF;font-weight:bold">$content</SPAN></SPAN> can be tag object, or raw (string).</DD>  
           
         <DT class="font10bold">Function Info:</DT>  
                 <DD CLASS="font10" STYLE="padding-bottom:5px;"><b>access</b> - public</DD>  
         </DL>  
 </DIV>  
 <BR>  
 <DIV CLASS="function">  
 <A NAME='methodset_doctype_link'><!-- --></A>  
 <SPAN CLASS="font12bold">set_doctype_link</SPAN> (line <span class="linenumber">389</span>)  
 <BR>  
 <SPAN CLASS="font10bold">Usage : </SPAN>  
 <span class="font10bold" style="color: #FF0000">void</SPAN>&nbsp;  
 <span class="font10bold" style="color: #0000FF">set_doctype_link(  
 mixed  
 $link)</SPAN>  
 <BR>  
   
 <BR>  
 <SPAN CLASS="font10bold">Description : </SPAN>  
 This method is used to set the link attributes  
 <br />  
 <p>for the DOCTYPE tag</p>  
 <DL>  
   
         <DT class="font10bold">Function Info:</DT>  
         </DL>  
 </DIV>  
 <BR>  
 <DIV CLASS="function">  
 <A NAME='methodset_doctype_source'><!-- --></A>  
 <SPAN CLASS="font12bold">set_doctype_source</SPAN> (line <span class="linenumber">461</span>)  
 <BR>  
 <SPAN CLASS="font10bold">Usage : </SPAN>  
 <span class="font10bold" style="color: #FF0000">void</SPAN>&nbsp;  
 <span class="font10bold" style="color: #0000FF">set_doctype_source(  
 string  
 $source)</SPAN>  
 <BR>  
   
 <BR>  
 <SPAN CLASS="font10bold">Description : </SPAN>  
 this function is used to change the  DOCTYPE tag's source attribute.  By  default it is set to SYSTEM.  
 <br />  
 <p>(ie &lt;!DOCTYPE html SYSTEM &gt; )                     ^^^^^^</p><p>NOTE: only 2 valid values 'SYSTEM', 'PUBLIC'</p>  
 <DL>  
         <DT class="font10bold">Function Parameters:</DT>  
                 <DD CLASS="font10" STYLE="padding-bottom:5px;"><span STYLE="font-style: italic;">- <span style="color: #FF0000;font-weight:bold;">string</SPAN> <span style="color: #0000FF;font-weight:bold">$source</SPAN></SPAN> - the new source attribute</DD>  
           
         <DT class="font10bold">Function Info:</DT>  
         </DL>  
 </DIV>  
 <BR>  
 <DIV CLASS="function">  
 <A NAME='methodset_encoding'><!-- --></A>  
 <SPAN CLASS="font12bold">set_encoding</SPAN> (line <span class="linenumber">320</span>)  
 <BR>  
 <SPAN CLASS="font10bold">Usage : </SPAN>  
 <span class="font10bold" style="color: #FF0000">void</SPAN>&nbsp;  
 <span class="font10bold" style="color: #0000FF">set_encoding(  
 string  
 $charset)</SPAN>  
 <BR>  
   
 <BR>  
 <SPAN CLASS="font10bold">Description : </SPAN>  
 set the character set  
 <br />  
   
 <DL>  
         <DT class="font10bold">Function Parameters:</DT>  
                 <DD CLASS="font10" STYLE="padding-bottom:5px;"><span STYLE="font-style: italic;">- <span style="color: #FF0000;font-weight:bold;">string</SPAN> <span style="color: #0000FF;font-weight:bold">$charset</SPAN></SPAN> - the charset for the meta tag</DD>  
           
         <DT class="font10bold">Function Info:</DT>  
         </DL>  
 </DIV>  
 <BR>  
 <DIV CLASS="function">  
 <A NAME='methodset_http_content_type'><!-- --></A>  
 <SPAN CLASS="font12bold">set_http_content_type</SPAN> (line <span class="linenumber">423</span>)  
 <BR>  
 <SPAN CLASS="font10bold">Usage : </SPAN>  
 <span class="font10bold" style="color: #FF0000">void</SPAN>&nbsp;  
 <span class="font10bold" style="color: #0000FF">set_http_content_type(  
 [string  
 $type = "application/xml"])</SPAN>  
 <BR>  
   
 <BR>  
 <SPAN CLASS="font10bold">Description : </SPAN>  
 This function is used to set the  http header content-type for output to browsers  
 <br />  
   
 <DL>  
         <DT class="font10bold">Function Parameters:</DT>  
                 <DD CLASS="font10" STYLE="padding-bottom:5px;"><span STYLE="font-style: italic;">- <span style="color: #FF0000;font-weight:bold;">string</SPAN> <span style="color: #0000FF;font-weight:bold">$type</SPAN></SPAN> </DD>  
           
         <DT class="font10bold">Function Info:</DT>  
         </DL>  
 </DIV>  
 <BR>  
 <DIV CLASS="function">  
 <A NAME='methodset_root_attribute'><!-- --></A>  
 <SPAN CLASS="font12bold">set_root_attribute</SPAN> (line <span class="linenumber">370</span>)  
 <BR>  
 <SPAN CLASS="font10bold">Usage : </SPAN>  
 <span class="font10bold" style="color: #FF0000">void</SPAN>&nbsp;  
 <span class="font10bold" style="color: #0000FF">set_root_attribute(  
 string  
 $name, string  
 $value)</SPAN>  
 <BR>  
   
 <BR>  
 <SPAN CLASS="font10bold">Description : </SPAN>  
 This sets 1 root tag attribute value pair  
 <br />  
   
 <DL>  
         <DT class="font10bold">Function Parameters:</DT>  
                 <DD CLASS="font10" STYLE="padding-bottom:5px;"><span STYLE="font-style: italic;">- <span style="color: #FF0000;font-weight:bold;">string</SPAN> <span style="color: #0000FF;font-weight:bold">$name</SPAN></SPAN> - the attribute name</DD>  
                 <DD CLASS="font10" STYLE="padding-bottom:5px;"><span STYLE="font-style: italic;">- <span style="color: #FF0000;font-weight:bold;">string</SPAN> <span style="color: #0000FF;font-weight:bold">$value</SPAN></SPAN> - the attribute value</DD>  
           
         <DT class="font10bold">Function Info:</DT>  
         </DL>  
 </DIV>  
 <BR>  
 <DIV CLASS="function">  
 <A NAME='methodset_root_attributes'><!-- --></A>  
 <SPAN CLASS="font12bold">set_root_attributes</SPAN> (line <span class="linenumber">360</span>)  
 <BR>  
 <SPAN CLASS="font10bold">Usage : </SPAN>  
 <span class="font10bold" style="color: #FF0000">void</SPAN>&nbsp;  
 <span class="font10bold" style="color: #0000FF">set_root_attributes(  
 array  
 $attributes)</SPAN>  
 <BR>  
   
 <BR>  
 <SPAN CLASS="font10bold">Description : </SPAN>  
 This function is used to set the  root xml tag's attributes  
 <br />  
   
 <DL>  
         <DT class="font10bold">Function Parameters:</DT>  
                 <DD CLASS="font10" STYLE="padding-bottom:5px;"><span STYLE="font-style: italic;">- <span style="color: #FF0000;font-weight:bold;">array</SPAN> <span style="color: #0000FF;font-weight:bold">$attributes</SPAN></SPAN> </DD>  
           
         <DT class="font10bold">Function Info:</DT>  
         </DL>  
 </DIV>  
 <BR>  
 <DIV CLASS="function">  
 <A NAME='methodset_root_name'><!-- --></A>  
 <SPAN CLASS="font12bold">set_root_name</SPAN> (line <span class="linenumber">340</span>)  
 <BR>  
 <SPAN CLASS="font10bold">Usage : </SPAN>  
 <span class="font10bold" style="color: #FF0000">void</SPAN>&nbsp;  
 <span class="font10bold" style="color: #0000FF">set_root_name(  
 mixed  
 $root_name, string  
 $doc_name)</SPAN>  
 <BR>  
   
 <BR>  
 <SPAN CLASS="font10bold">Description : </SPAN>  
 Set the document name  and the root tag's name.  
 <br />  
   
 <DL>  
         <DT class="font10bold">Function Parameters:</DT>  
                 <DD CLASS="font10" STYLE="padding-bottom:5px;"><span STYLE="font-style: italic;">- <span style="color: #FF0000;font-weight:bold;">string</SPAN> <span style="color: #0000FF;font-weight:bold">$doc_name</SPAN></SPAN> </DD>  
           
         <DT class="font10bold">Function Info:</DT>  
         </DL>  
 </DIV>  
 <BR>  
 <DIV CLASS="function">  
 <A NAME='methodshow_character_encoding'><!-- --></A>  
 <SPAN CLASS="font12bold">show_character_encoding</SPAN> (line <span class="linenumber">402</span>)  
 <BR>  
 <SPAN CLASS="font10bold">Usage : </SPAN>  
 <span class="font10bold" style="color: #FF0000">void</SPAN>&nbsp;  
 <span class="font10bold" style="color: #0000FF">show_character_encoding(  
 [boolean  
 $flag = TRUE])</SPAN>  
 <BR>  
   
 <BR>  
 <SPAN CLASS="font10bold">Description : </SPAN>  
 method to update the flag that lets us know  to show/render the character encoding string  in the xml tag or not  
 <br />  
   
 <DL>  
         <DT class="font10bold">Function Parameters:</DT>  
                 <DD CLASS="font10" STYLE="padding-bottom:5px;"><span STYLE="font-style: italic;">- <span style="color: #FF0000;font-weight:bold;">boolean</SPAN> <span style="color: #0000FF;font-weight:bold">$flag</SPAN></SPAN> </DD>  
           
         <DT class="font10bold">Function Info:</DT>  
         </DL>  
 </DIV>  
 <BR>  
 <DIV CLASS="function">  
 <A NAME='methodshow_http_header'><!-- --></A>  
 <SPAN CLASS="font12bold">show_http_header</SPAN> (line <span class="linenumber">413</span>)  
 <BR>  
 <SPAN CLASS="font10bold">Usage : </SPAN>  
 <span class="font10bold" style="color: #FF0000">void</SPAN>&nbsp;  
 <span class="font10bold" style="color: #0000FF">show_http_header(  
 [boolean  
 $flag = TRUE])</SPAN>  
 <BR>  
   
 <BR>  
 <SPAN CLASS="font10bold">Description : </SPAN>  
 this function is used to set the flag  that tells this class to automatically  output the content type in the http header  
 <br />  
   
 <DL>  
         <DT class="font10bold">Function Parameters:</DT>  
                 <DD CLASS="font10" STYLE="padding-bottom:5px;"><span STYLE="font-style: italic;">- <span style="color: #FF0000;font-weight:bold;">boolean</SPAN> <span style="color: #0000FF;font-weight:bold">$flag</SPAN></SPAN> </DD>  
           
         <DT class="font10bold">Function Info:</DT>  
         </DL>  
 </DIV>  
 <BR>  
 <DIV CLASS="function">  
 <A NAME='method_build_doctype'><!-- --></A>  
 <SPAN CLASS="font12bold">_build_doctype</SPAN> (line <span class="linenumber">489</span>)  
 <BR>  
 <SPAN CLASS="font10bold">Usage : </SPAN>  
 <span class="font10bold" style="color: #FF0000">void</SPAN>&nbsp;  
 <span class="font10bold" style="color: #0000FF">_build_doctype(  
 )</SPAN>  
 <BR>  
   
 <BR>  
 <SPAN CLASS="font10bold">Description : </SPAN>  
 This method builds the DOCTYPE tag for the document  
 <br />  
   
 <DL>  
   
         <DT class="font10bold">Function Info:</DT>  
         </DL>  
 </DIV>  
 <BR>  
 <DIV CLASS="function">  
 <A NAME='method_build_root_tag'><!-- --></A>  
 <SPAN CLASS="font12bold">_build_root_tag</SPAN> (line <span class="linenumber">311</span>)  
 <BR>  
 <SPAN CLASS="font10bold">Usage : </SPAN>  
 <span class="font10bold" style="color: #FF0000">void</SPAN>&nbsp;  
 <span class="font10bold" style="color: #0000FF">_build_root_tag(  
 )</SPAN>  
 <BR>  
   
 <BR>  
 <SPAN CLASS="font10bold">Description : </SPAN>  
 This function builds the root xml  
 <br />  
 <p>tag that will contain all of the Document's  xml tags</p>  
 <DL>  
   
         <DT class="font10bold">Function Info:</DT>  
         </DL>  
 </DIV>  
 <BR>  
 <DIV CLASS="function">  
 <A NAME='method_build_xml_stylesheet_container'><!-- --></A>  
 <SPAN CLASS="font12bold">_build_xml_stylesheet_container</SPAN> (line <span class="linenumber">274</span>)  
 <BR>  
 <SPAN CLASS="font10bold">Usage : </SPAN>  
 <span class="font10bold" style="color: #FF0000">void</SPAN>&nbsp;  
 <span class="font10bold" style="color: #0000FF">_build_xml_stylesheet_container(  
 )</SPAN>  
 <BR>  
   
 <BR>  
 <SPAN CLASS="font10bold">Description : </SPAN>  
 This function builds the _xml_stylesheet_container  
 <br />  
   
 <DL>  
   
         <DT class="font10bold">Function Info:</DT>  
         </DL>  
 </DIV>  
 <BR>  
 <DIV CLASS="function">  
 <A NAME='method_create_xml_obj'><!-- --></A>  
 <SPAN CLASS="font12bold">_create_xml_obj</SPAN> (line <span class="linenumber">301</span>)  
 <BR>  
 <SPAN CLASS="font10bold">Usage : </SPAN>  
 <span class="font10bold" style="color: #FF0000"><a href="../phpHtmlLib/XMLtag.html">XMLtag</a></SPAN>&nbsp;  
 <span class="font10bold" style="color: #0000FF">_create_xml_obj(  
 )</SPAN>  
 <BR>  
   
 <BR>  
 <SPAN CLASS="font10bold">Description : </SPAN>  
 This function builds the local  
 <br />  
 <p>xml container object that holds  all xml tags that are pushed into  this class</p>  
 <DL>  
   
         <DT class="font10bold">Function Info:</DT>  
                 <DD CLASS="font10" STYLE="padding-bottom:5px;"><b>return</b> - object</DD>  
         </DL>  
 </DIV>  
 <BR>  
         <div id="credit">  
                 <hr>  
                 Documention generated on Thu, 20 Feb 2003 16:24:01 -0800 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.2.0rc1</a>  
         </div>  
 </body>  
 </html>  
38       --XMLDocumentClass</pre>
39            
40                            </div>
41    </div>
42    
43            <a name="sec-descendents"></a>
44            <div class="info-box">
45                    <div class="info-box-title">Direct descendents</div>
46                    <div class="nav-bar">
47                            <a href="#sec-description">Description</a> |
48                            <span class="disabled">Descendents</span>
49                            |                                                                                               <a href="#sec-var-summary">Vars</a> (<a href="#sec-vars">details</a>)
50                                                                    |                                                                                                                       <a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>)
51                                                            
52                                                                    </div>
53                    <div class="info-box-body">
54                            <table cellpadding="2" cellspacing="0" class="class-table">
55                                    <tr>
56                                            <th class="class-table-header">Class</th>
57                                            <th class="class-table-header">Description</th>
58                                    </tr>
59                                                                    <tr>
60                                            <td style="padding-right: 2em"><a href="../phpHtmlLib/SVGDocumentClass.html">SVGDocumentClass</a></td>
61                                            <td>
62                                                                                            This class lets you build a complete  SVG document.
63                                                                                    </td>
64                                    </tr>
65                                                                    <tr>
66                                            <td style="padding-right: 2em"><a href="../phpHtmlLib/WMLDocumentClass.html">WMLDocumentClass</a></td>
67                                            <td>
68                                                                                            This class lets you build a complete  WML document and render it
69                                                                                    </td>
70                                    </tr>
71                                                            </table>
72                    </div>
73            </div>
74    
75    
76            <a name="sec-var-summary"></a>
77            <div class="info-box">
78                    <div class="info-box-title">Variable Summary</span></div>
79                    <div class="nav-bar">
80                            <a href="#sec-description">Description</a> |
81                                                            <a href="#sec-descendents">Descendents</a> |
82                                                    <span class="disabled">Vars</span> (<a href="#sec-vars">details</a>)
83                                                            |
84                                                                            <a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>)
85                                                            
86                                                                    </div>
87                    <div class="info-box-body">
88                            <div class="var-summary">
89                                                                    <div class="var-title">
90                                            <span class="var-type">mixed</span>
91                                            <a href="#$dtd" title="details" class="var-name">$dtd</a>
92                                    </div>
93                                                                    <div class="var-title">
94                                            <span class="var-type">mixed</span>
95                                            <a href="#$root_name" title="details" class="var-name">$root_name</a>
96                                    </div>
97                                                                    <div class="var-title">
98                                            <span class="var-type">mixed</span>
99                                            <a href="#$_doctype_links" title="details" class="var-name">$_doctype_links</a>
100                                    </div>
101                                                                    <div class="var-title">
102                                            <span class="var-type">string</span>
103                                            <a href="#$_doctype_source" title="details" class="var-name">$_doctype_source</a>
104                                    </div>
105                                                                    <div class="var-title">
106                                            <span class="var-type">mixed</span>
107                                            <a href="#$_http_content_type" title="details" class="var-name">$_http_content_type</a>
108                                    </div>
109                                                                    <div class="var-title">
110                                            <span class="var-type"><a href="../phpHtmlLib/XMLTagClass.html">XMLTagClass</a></span>
111                                            <a href="#$_root_tag" title="details" class="var-name">$_root_tag</a>
112                                    </div>
113                                                                    <div class="var-title">
114                                            <span class="var-type">boolean</span>
115                                            <a href="#$_show_char_encoding" title="details" class="var-name">$_show_char_encoding</a>
116                                    </div>
117                                                                    <div class="var-title">
118                                            <span class="var-type">mixed</span>
119                                            <a href="#$_show_http_header" title="details" class="var-name">$_show_http_header</a>
120                                    </div>
121                                                                    <div class="var-title">
122                                            <span class="var-type">mixed</span>
123                                            <a href="#$_xml_obj" title="details" class="var-name">$_xml_obj</a>
124                                    </div>
125                                                                    <div class="var-title">
126                                            <span class="var-type">object</span>
127                                            <a href="#$_xml_stylesheet_container" title="details" class="var-name">$_xml_stylesheet_container</a>
128                                    </div>
129                                                            </div>
130                    </div>
131            </div>
132    
133            <a name="sec-method-summary"></a>
134            <div class="info-box">
135                    <div class="info-box-title">Method Summary</span></div>
136                    <div class="nav-bar">
137                            <a href="#sec-description">Description</a> |
138                                                            <a href="#sec-descendents">Descendents</a> |
139                                                                                                                                                    <a href="#sec-var-summary">Vars</a> (<a href="#sec-vars">details</a>)
140                                    
141                                    |
142                                                    <span class="disabled">Methods</span> (<a href="#sec-methods">details</a>)
143                    </div>
144                    <div class="info-box-body">                    
145                            <div class="method-summary">
146                                                                    
147                                    <div class="method-definition">
148                                                                                            <span class="method-result">XMLDocumentClass</span>
149                                                                                    <a href="#XMLDocumentClass" title="details" class="method-name">XMLDocumentClass</a>
150                                                                                            (<span class="var-type">string</span>&nbsp;<span class="var-name">$root_name</span>, [<span class="var-type">string</span>&nbsp;<span class="var-name">$dtd</span> = <span class="var-default">NULL</span>], [<span class="var-type">array</span>&nbsp;<span class="var-name">$root_attributes</span> = <span class="var-default">array()</span>])
151                                                                            </div>
152                                                                    
153                                    <div class="method-definition">
154                                                                                            <span class="method-result">void</span>
155                                                                                    <a href="#add" title="details" class="method-name">add</a>
156                                                                                            (<span class="var-type">mixed</span>&nbsp;<span class="var-name">$content</span>)
157                                                                            </div>
158                                                                    
159                                    <div class="method-definition">
160                                                                                            <span class="method-result">void</span>
161                                                                                    <a href="#add_reference" title="details" class="method-name">add_reference</a>
162                                                                                            (<span class="var-type">mixed</span>&nbsp;<span class="var-name">&$content</span>)
163                                                                            </div>
164                                                                    
165                                    <div class="method-definition">
166                                                                                            <span class="method-result">void</span>
167                                                                                    <a href="#add_xml_stylesheet_link" title="details" class="method-name">add_xml_stylesheet_link</a>
168                                                                                            (<span class="var-type">string</span>&nbsp;<span class="var-name">$href</span>)
169                                                                            </div>
170                                                                    
171                                    <div class="method-definition">
172                                                                                            <span class="method-result">void</span>
173                                                                                    <a href="#dump_http_header" title="details" class="method-name">dump_http_header</a>
174                                                                                    ()
175                                                                            </div>
176                                                                    
177                                    <div class="method-definition">
178                                                                                            <span class="method-result">string</span>
179                                                                                    <a href="#get_doctype_source" title="details" class="method-name">get_doctype_source</a>
180                                                                                    ()
181                                                                            </div>
182                                                                    
183                                    <div class="method-definition">
184                                                                                            <span class="method-result">string</span>
185                                                                                    <a href="#get_encoding" title="details" class="method-name">get_encoding</a>
186                                                                                    ()
187                                                                            </div>
188                                                                    
189                                    <div class="method-definition">
190                                                                                            <span class="method-result">string</span>
191                                                                                    <a href="#get_http_content_type" title="details" class="method-name">get_http_content_type</a>
192                                                                                    ()
193                                                                            </div>
194                                                                    
195                                    <div class="method-definition">
196                                                                                            <span class="method-result">array</span>
197                                                                                    <a href="#get_root_attributes" title="details" class="method-name">get_root_attributes</a>
198                                                                                    ()
199                                                                            </div>
200                                                                    
201                                    <div class="method-definition">
202                                                                                            <span class="method-result">string</span>
203                                                                                    <a href="#get_root_name" title="details" class="method-name">get_root_name</a>
204                                                                                    ()
205                                                                            </div>
206                                                                    
207                                    <div class="method-definition">
208                                                                                            <span class="method-result">void</span>
209                                                                                    <a href="#push" title="details" class="method-name">push</a>
210                                                                                            (<span class="var-type">mixed</span>&nbsp;<span class="var-name">$content</span>)
211                                                                            </div>
212                                                                    
213                                    <div class="method-definition">
214                                                                                            <span class="method-result">void</span>
215                                                                                    <a href="#push_reference" title="details" class="method-name">push_reference</a>
216                                                                                            (<span class="var-type">mixed</span>&nbsp;<span class="var-name">&$content</span>)
217                                                                            </div>
218                                                                    
219                                    <div class="method-definition">
220                                                                                            <span class="method-result">string</span>
221                                                                                    <a href="#render" title="details" class="method-name">render</a>
222                                                                                            (<span class="var-type">int</span>&nbsp;<span class="var-name">$indent_level</span>, <span class="var-type">int</span>&nbsp;<span class="var-name">1</span>)
223                                                                            </div>
224                                                                    
225                                    <div class="method-definition">
226                                                                                            <span class="method-result">void</span>
227                                                                                    <a href="#reset_content" title="details" class="method-name">reset_content</a>
228                                                                                            (<span class="var-type">mixed</span>&nbsp;<span class="var-name">$content</span>)
229                                                                            </div>
230                                                                    
231                                    <div class="method-definition">
232                                                                                            <span class="method-result">void</span>
233                                                                                    <a href="#set_doctype_link" title="details" class="method-name">set_doctype_link</a>
234                                                                                            (<span class="var-type">mixed</span>&nbsp;<span class="var-name">$link</span>)
235                                                                            </div>
236                                                                    
237                                    <div class="method-definition">
238                                                                                            <span class="method-result">void</span>
239                                                                                    <a href="#set_doctype_source" title="details" class="method-name">set_doctype_source</a>
240                                                                                            (<span class="var-type">string</span>&nbsp;<span class="var-name">$source</span>)
241                                                                            </div>
242                                                                    
243                                    <div class="method-definition">
244                                                                                            <span class="method-result">void</span>
245                                                                                    <a href="#set_encoding" title="details" class="method-name">set_encoding</a>
246                                                                                            (<span class="var-type">string</span>&nbsp;<span class="var-name">$charset</span>)
247                                                                            </div>
248                                                                    
249                                    <div class="method-definition">
250                                                                                            <span class="method-result">void</span>
251                                                                                    <a href="#set_http_content_type" title="details" class="method-name">set_http_content_type</a>
252                                                                                            ([<span class="var-type">string</span>&nbsp;<span class="var-name">$type</span> = <span class="var-default">"application/xml"</span>])
253                                                                            </div>
254                                                                    
255                                    <div class="method-definition">
256                                                                                            <span class="method-result">void</span>
257                                                                                    <a href="#set_root_attribute" title="details" class="method-name">set_root_attribute</a>
258                                                                                            (<span class="var-type">string</span>&nbsp;<span class="var-name">$name</span>, <span class="var-type">string</span>&nbsp;<span class="var-name">$value</span>)
259                                                                            </div>
260                                                                    
261                                    <div class="method-definition">
262                                                                                            <span class="method-result">void</span>
263                                                                                    <a href="#set_root_attributes" title="details" class="method-name">set_root_attributes</a>
264                                                                                            (<span class="var-type">array</span>&nbsp;<span class="var-name">$attributes</span>)
265                                                                            </div>
266                                                                    
267                                    <div class="method-definition">
268                                                                                            <span class="method-result">void</span>
269                                                                                    <a href="#set_root_name" title="details" class="method-name">set_root_name</a>
270                                                                                            (<span class="var-type">mixed</span>&nbsp;<span class="var-name">$root_name</span>, <span class="var-type">string</span>&nbsp;<span class="var-name">$doc_name</span>)
271                                                                            </div>
272                                                                    
273                                    <div class="method-definition">
274                                                                                            <span class="method-result">void</span>
275                                                                                    <a href="#show_character_encoding" title="details" class="method-name">show_character_encoding</a>
276                                                                                            ([<span class="var-type">boolean</span>&nbsp;<span class="var-name">$flag</span> = <span class="var-default">TRUE</span>])
277                                                                            </div>
278                                                                    
279                                    <div class="method-definition">
280                                                                                            <span class="method-result">void</span>
281                                                                                    <a href="#show_http_header" title="details" class="method-name">show_http_header</a>
282                                                                                            ([<span class="var-type">boolean</span>&nbsp;<span class="var-name">$flag</span> = <span class="var-default">TRUE</span>])
283                                                                            </div>
284                                                                    
285                                    <div class="method-definition">
286                                                                                            <span class="method-result">void</span>
287                                                                                    <a href="#_build_doctype" title="details" class="method-name">_build_doctype</a>
288                                                                                    ()
289                                                                            </div>
290                                                                    
291                                    <div class="method-definition">
292                                                                                            <span class="method-result">void</span>
293                                                                                    <a href="#_build_root_tag" title="details" class="method-name">_build_root_tag</a>
294                                                                                    ()
295                                                                            </div>
296                                                                    
297                                    <div class="method-definition">
298                                                                                            <span class="method-result">void</span>
299                                                                                    <a href="#_build_xml_stylesheet_container" title="details" class="method-name">_build_xml_stylesheet_container</a>
300                                                                                    ()
301                                                                            </div>
302                                                                    
303                                    <div class="method-definition">
304                                                                                            <span class="method-result"><a href="../phpHtmlLib/XMLtag.html">XMLtag</a></span>
305                                                                                    <a href="#_create_xml_obj" title="details" class="method-name">_create_xml_obj</a>
306                                                                                    ()
307                                                                            </div>
308                                                            </div>
309                    </div>
310            </div>          
311    
312            <a name="sec-vars"></a>
313            <div class="info-box">
314                    <div class="info-box-title">Variables</div>
315                    <div class="nav-bar">
316                            <a href="#sec-description">Description</a> |
317                                                            <a href="#sec-descendents">Descendents</a> |
318                                                                                    <a href="#sec-var-summary">Vars</a> (<span class="disabled">details</span>)
319                                                    
320                            
321                                                                                    |
322                                                                            <a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>)
323                                                            
324                                            </div>
325                    <div class="info-box-body">
326                            <a name="var$dtd" id="$dtd"><!-- --></A>
327    <div class="evenrow">
328    
329            <div class="var-header">
330                    <span class="var-title">
331                            <span class="var-type">mixed</span>
332                            <span class="var-name">$dtd</span>
333                             = <span class="var-default"> NULL</span>                       (line <span class="line-number">69</span>)
334                    </span>
335            </div>
336    
337            <!-- ========== Info from phpDoc block ========= -->
338    <p class="short-description">Holds the url of dtd</p>
339            
340            
341                    
342                    
343    
344    </div>
345    <a name="var$root_name" id="$root_name"><!-- --></A>
346    <div class="oddrow">
347    
348            <div class="var-header">
349                    <span class="var-title">
350                            <span class="var-type">mixed</span>
351                            <span class="var-name">$root_name</span>
352                             = <span class="var-default"> NULL</span>                       (line <span class="line-number">76</span>)
353                    </span>
354            </div>
355    
356            <!-- ========== Info from phpDoc block ========= -->
357    <p class="short-description">Holds the name of the root xml</p>
358    <p class="description"><p>element as well as the DOCTYPE  document_element attribute</p></p>
359            
360            
361                    
362                    
363    
364    </div>
365    <a name="var$_doctype_links" id="$_doctype_links"><!-- --></A>
366    <div class="evenrow">
367    
368            <div class="var-header">
369                    <span class="var-title">
370                            <span class="var-type">mixed</span>
371                            <span class="var-name">$_doctype_links</span>
372                             = <span class="var-default">array()</span>                     (line <span class="line-number">105</span>)
373                    </span>
374            </div>
375    
376            <!-- ========== Info from phpDoc block ========= -->
377    <p class="short-description">This contains the doctype links</p>
378    <p class="description"><p>attributes.  There can be a maximum  of 2 according to the XML spec</p></p>
379            
380            
381                    
382                    
383    
384    </div>
385    <a name="var$_doctype_source" id="$_doctype_source"><!-- --></A>
386    <div class="oddrow">
387    
388            <div class="var-header">
389                    <span class="var-title">
390                            <span class="var-type">string</span>
391                            <span class="var-name">$_doctype_source</span>
392                             = <span class="var-default"> &quot;SYSTEM&quot;</span>                 (line <span class="line-number">98</span>)
393                    </span>
394            </div>
395    
396            <!-- ========== Info from phpDoc block ========= -->
397    <p class="short-description">the DOCTYPE source attribute</p>
398            
399            
400                    
401                    
402    
403    </div>
404    <a name="var$_http_content_type" id="$_http_content_type"><!-- --></A>
405    <div class="evenrow">
406    
407            <div class="var-header">
408                    <span class="var-title">
409                            <span class="var-type">mixed</span>
410                            <span class="var-name">$_http_content_type</span>
411                             = <span class="var-default"> &quot;application/xml&quot;</span>                        (line <span class="line-number">111</span>)
412                    </span>
413            </div>
414    
415            <!-- ========== Info from phpDoc block ========= -->
416    <p class="short-description">The http content-type</p>
417            
418            
419                    
420                    
421    
422    </div>
423    <a name="var$_root_tag" id="$_root_tag"><!-- --></A>
424    <div class="oddrow">
425    
426            <div class="var-header">
427                    <span class="var-title">
428                            <span class="var-type"><a href="../phpHtmlLib/XMLTagClass.html">XMLTagClass</a></span>
429                            <span class="var-name">$_root_tag</span>
430                             = <span class="var-default"> NULL</span>                       (line <span class="line-number">83</span>)
431                    </span>
432            </div>
433    
434            <!-- ========== Info from phpDoc block ========= -->
435    <p class="short-description">The root xml tag for all data</p>
436            <ul class="tags">
437                                    <li><span class="field">var:</span> object</li>
438                            </ul>
439            
440            
441                    
442                    
443    
444    </div>
445    <a name="var$_show_char_encoding" id="$_show_char_encoding"><!-- --></A>
446    <div class="evenrow">
447    
448            <div class="var-header">
449                    <span class="var-title">
450                            <span class="var-type">boolean</span>
451                            <span class="var-name">$_show_char_encoding</span>
452                             = <span class="var-default"> TRUE</span>                       (line <span class="line-number">64</span>)
453                    </span>
454            </div>
455    
456            <!-- ========== Info from phpDoc block ========= -->
457    <p class="short-description">this is a hack to show the  character encoding or not.</p>
458    <p class="description"><p>DEFAULT: on</p></p>
459            
460            
461                    
462                    
463    
464    </div>
465    <a name="var$_show_http_header" id="$_show_http_header"><!-- --></A>
466    <div class="oddrow">
467    
468            <div class="var-header">
469                    <span class="var-title">
470                            <span class="var-type">mixed</span>
471                            <span class="var-name">$_show_http_header</span>
472                             = <span class="var-default"> FALSE</span>                      (line <span class="line-number">55</span>)
473                    </span>
474            </div>
475    
476            <!-- ========== Info from phpDoc block ========= -->
477    <p class="short-description">This flag tells if we should  output the header content type.</p>
478    <p class="description"><p>this is usefull for folks using  this class for output not destined  for a browser.</p></p>
479            
480            
481                    
482                    
483    
484    </div>
485    <a name="var$_xml_obj" id="$_xml_obj"><!-- --></A>
486    <div class="evenrow">
487    
488            <div class="var-header">
489                    <span class="var-title">
490                            <span class="var-type">mixed</span>
491                            <span class="var-name">$_xml_obj</span>
492                             = <span class="var-default"> NULL</span>                       (line <span class="line-number">37</span>)
493                    </span>
494            </div>
495    
496            <!-- ========== Info from phpDoc block ========= -->
497    <p class="short-description">holds the xml tag object that</p>
498    <p class="description"><p>all content will be wrapped in</p></p>
499            
500            
501                    
502                    
503    
504    </div>
505    <a name="var$_xml_stylesheet_container" id="$_xml_stylesheet_container"><!-- --></A>
506    <div class="oddrow">
507    
508            <div class="var-header">
509                    <span class="var-title">
510                            <span class="var-type">object</span>
511                            <span class="var-name">$_xml_stylesheet_container</span>
512                             = <span class="var-default"> NULL</span>                       (line <span class="line-number">119</span>)
513                    </span>
514            </div>
515    
516            <!-- ========== Info from phpDoc block ========= -->
517    <p class="short-description">The container for all the  xml-stylesheet tags</p>
518            
519            
520                    
521                    
522    
523    </div>
524                                                    
525                    </div>
526            </div>
527            
528            <a name="sec-methods"></a>
529            <div class="info-box">
530                    <div class="info-box-title">Methods</div>
531                    <div class="nav-bar">
532                            <a href="#sec-description">Description</a> |
533                                                            <a href="#sec-descendents">Descendents</a> |
534                                                                                                                            <a href="#sec-var-summary">Vars</a> (<a href="#sec-vars">details</a>)
535                                                                                                                                            <a href="#sec-method-summary">Methods</a> (<span class="disabled">details</span>)
536                                                    
537                    </div>
538                    <div class="info-box-body">
539                            <A NAME='method_detail'></A>
540    <a name="methodXMLDocumentClass" id="XMLDocumentClass"><!-- --></a>
541    <div class="evenrow">
542            
543            <div class="method-header">
544                    <span class="method-title">Constructor XMLDocumentClass</span> (line <span class="line-number">130</span>)
545            </div>
546            
547            <!-- ========== Info from phpDoc block ========= -->
548    <p class="short-description">The constructor</p>
549            
550            <div class="method-signature">
551                    <span class="method-result">XMLDocumentClass</span>
552                    <span class="method-name">
553                            XMLDocumentClass
554                    </span>
555                                            (<span class="var-type">string</span>&nbsp;<span class="var-name">$root_name</span>, [<span class="var-type">string</span>&nbsp;<span class="var-name">$dtd</span> = <span class="var-default">NULL</span>], [<span class="var-type">array</span>&nbsp;<span class="var-name">$root_attributes</span> = <span class="var-default">array()</span>])
556                            </div>
557            
558                            <ul class="parameters">
559                                            <li>
560                                    <span class="var-type">string</span>
561                                    <span class="var-name">$root_name</span><span class="var-description">: - the root xml tag's name</span>                        </li>
562                                            <li>
563                                    <span class="var-type">string</span>
564                                    <span class="var-name">$dtd</span><span class="var-description">: - the link path to the DTD (if any)</span>                    </li>
565                                            <li>
566                                    <span class="var-type">array</span>
567                                    <span class="var-name">$root_attributes</span><span class="var-description">: - the root tag's attributes</span>                        </li>
568                                    </ul>
569                    
570                    
571            </div>
572    <a name="methodadd" id="add"><!-- --></a>
573    <div class="oddrow">
574            
575            <div class="method-header">
576                    <span class="method-title">add</span> (line <span class="line-number">197</span>)
577            </div>
578            
579            <!-- ========== Info from phpDoc block ========= -->
580    <p class="short-description">we override this class to make sure  we push all content inside the  local _xml_obj tag</p>
581    <p class="description"><p>push content onto content stack  adds content to tag as a FIFO.  You can have n number of parameters.  each one will get added in succession to the content.</p></p>
582            <ul class="tags">
583                                    <li><span class="field">access:</span> public</li>
584                            </ul>
585            
586            <div class="method-signature">
587                    <span class="method-result">void</span>
588                    <span class="method-name">
589                            add
590                    </span>
591                                            (<span class="var-type">mixed</span>&nbsp;<span class="var-name">$content</span>)
592                            </div>
593            
594                            <ul class="parameters">
595                                            <li>
596                                    <span class="var-type">mixed</span>
597                                    <span class="var-name">$content</span><span class="var-description">: - either string, or tag object.</span>                    </li>
598                                    </ul>
599                    
600                            <hr class="separator" />
601                    <div class="notes">Redefinition of:</div>
602                    <dl>
603                            <dt><a href="../phpHtmlLib/Container.html#methodadd">Container::add()</a></dt>
604                                                    <dd>add content onto content stack</dd>
605                                            </dl>
606                    
607            </div>
608    <a name="methodadd_reference" id="add_reference"><!-- --></a>
609    <div class="evenrow">
610            
611            <div class="method-header">
612                    <span class="method-title">add_reference</span> (line <span class="line-number">239</span>)
613            </div>
614            
615            <!-- ========== Info from phpDoc block ========= -->
616    <p class="short-description">we override this class to make sure  we push all content inside the  local _xml_obj tag</p>
617    <p class="description"><p>push content onto content stack  adds content to tag as a FIFO  You can only add 1 element at a time, and  it will be added as a reference.  So you can't do  push_reference(&quot;something&quot;);, since &quot;something&quot; is a  static.</p></p>
618            <ul class="tags">
619                                    <li><span class="field">access:</span> public</li>
620                            </ul>
621            
622            <div class="method-signature">
623                    <span class="method-result">void</span>
624                    <span class="method-name">
625                            add_reference
626                    </span>
627                                            (<span class="var-type">mixed</span>&nbsp;<span class="var-name">&$content</span>)
628                            </div>
629            
630                            <ul class="parameters">
631                                            <li>
632                                    <span class="var-type">mixed</span>
633                                    <span class="var-name">$content</span><span class="var-description">: - either string, or tag object.                              the tag object gets stored as a                              reference to the original, so you                              can push it, then modify it later.</span>                        </li>
634                                    </ul>
635                    
636                            <hr class="separator" />
637                    <div class="notes">Redefinition of:</div>
638                    <dl>
639                            <dt><a href="../phpHtmlLib/Container.html#methodadd_reference">Container::add_reference()</a></dt>
640                                                    <dd>Add content onto content stack  so you can change the item later.</dd>
641                                            </dl>
642                    
643            </div>
644    <a name="methodadd_xml_stylesheet_link" id="add_xml_stylesheet_link"><!-- --></a>
645    <div class="oddrow">
646            
647            <div class="method-header">
648                    <span class="method-title">add_xml_stylesheet_link</span> (line <span class="line-number">269</span>)
649            </div>
650            
651            <!-- ========== Info from phpDoc block ========= -->
652    <p class="short-description">This function is used to add a new  xml-stylesheet tag to the top  portion of the document.</p>
653    <p class="description"><p>This will automatically get added  after the xml tag and before the  &lt;!DOCTYPE &gt; tag</p></p>
654            
655            <div class="method-signature">
656                    <span class="method-result">void</span>
657                    <span class="method-name">
658                            add_xml_stylesheet_link
659                    </span>
660                                            (<span class="var-type">string</span>&nbsp;<span class="var-name">$href</span>)
661                            </div>
662            
663                            <ul class="parameters">
664                                            <li>
665                                    <span class="var-type">string</span>
666                                    <span class="var-name">$href</span><span class="var-description">: - the href for the stylesheet link</span>                    </li>
667                                    </ul>
668                    
669                    
670            </div>
671    <a name="methoddump_http_header" id="dump_http_header"><!-- --></a>
672    <div class="evenrow">
673            
674            <div class="method-header">
675                    <span class="method-title">dump_http_header</span> (line <span class="line-number">447</span>)
676            </div>
677            
678            <!-- ========== Info from phpDoc block ========= -->
679    <p class="short-description">This function is used to output the http  header for this document.</p>
680    <p class="description"><p>It makes a call to php's Header() to  set the Content-type</p></p>
681            
682            <div class="method-signature">
683                    <span class="method-result">void</span>
684                    <span class="method-name">
685                            dump_http_header
686                    </span>
687                                    ()
688                            </div>
689            
690                    
691                    
692            </div>
693    <a name="methodget_doctype_source" id="get_doctype_source"><!-- --></a>
694    <div class="oddrow">
695            
696            <div class="method-header">
697                    <span class="method-title">get_doctype_source</span> (line <span class="line-number">483</span>)
698            </div>
699            
700            <!-- ========== Info from phpDoc block ========= -->
701    <p class="short-description">This function returns the current  DOCTYPE tag's source attribute</p>
702            
703            <div class="method-signature">
704                    <span class="method-result">string</span>
705                    <span class="method-name">
706                            get_doctype_source
707                    </span>
708                                    ()
709                            </div>
710            
711                    
712                    
713            </div>
714    <a name="methodget_encoding" id="get_encoding"><!-- --></a>
715    <div class="evenrow">
716            
717            <div class="method-header">
718                    <span class="method-title">get_encoding</span> (line <span class="line-number">333</span>)
719            </div>
720            
721            <!-- ========== Info from phpDoc block ========= -->
722    <p class="short-description">This function gets the current encoding type</p>
723            <ul class="tags">
724                                    <li><span class="field">return:</span> - the current encoding type                   for the xml</li>
725                            </ul>
726            
727            <div class="method-signature">
728                    <span class="method-result">string</span>
729                    <span class="method-name">
730                            get_encoding
731                    </span>
732                                    ()
733                            </div>
734            
735                    
736                    
737            </div>
738    <a name="methodget_http_content_type" id="get_http_content_type"><!-- --></a>
739    <div class="oddrow">
740            
741            <div class="method-header">
742                    <span class="method-title">get_http_content_type</span> (line <span class="line-number">436</span>)
743            </div>
744            
745            <!-- ========== Info from phpDoc block ========= -->
746    <p class="short-description">This function returns the current  value of the http header content type</p>
747            
748            <div class="method-signature">
749                    <span class="method-result">string</span>
750                    <span class="method-name">
751                            get_http_content_type
752                    </span>
753                                    ()
754                            </div>
755            
756                    
757                    
758            </div>
759    <a name="methodget_root_attributes" id="get_root_attributes"><!-- --></a>
760    <div class="evenrow">
761            
762            <div class="method-header">
763                    <span class="method-title">get_root_attributes</span> (line <span class="line-number">383</span>)
764            </div>
765            
766            <!-- ========== Info from phpDoc block ========= -->
767    <p class="short-description">This function is used to get the  root xml tag's attributes</p>
768            
769            <div class="method-signature">
770                    <span class="method-result">array</span>
771                    <span class="method-name">
772                            get_root_attributes
773                    </span>
774                                    ()
775                            </div>
776            
777                    
778                    
779            </div>
780    <a name="methodget_root_name" id="get_root_name"><!-- --></a>
781    <div class="oddrow">
782            
783            <div class="method-header">
784                    <span class="method-title">get_root_name</span> (line <span class="line-number">353</span>)
785            </div>
786            
787            <!-- ========== Info from phpDoc block ========= -->
788    <p class="short-description">This function gets the document name</p>
789            <ul class="tags">
790                                    <li><span class="field">return:</span> - the current document name                   for the xml</li>
791                            </ul>
792            
793            <div class="method-signature">
794                    <span class="method-result">string</span>
795                    <span class="method-name">
796                            get_root_name
797                    </span>
798                                    ()
799                            </div>
800            
801                    
802                    
803            </div>
804    <a name="methodpush" id="push"><!-- --></a>
805    <div class="evenrow">
806            
807            <div class="method-header">
808                    <span class="method-title">push</span> (line <span class="line-number">216</span>)
809            </div>
810            
811            <!-- ========== Info from phpDoc block ========= -->
812    <p class="short-description">Same as add().</p>
813    <p class="description"><p>NOTE: only exists for 1.1.x compatibility</p></p>
814            <ul class="tags">
815                                    <li><span class="field">access:</span> public</li>
816                                    <li><span class="field">deprecated:</span> </li>
817                            </ul>
818            
819            <div class="method-signature">
820                    <span class="method-result">void</span>
821                    <span class="method-name">
822                            push
823                    </span>
824                                            (<span class="var-type">mixed</span>&nbsp;<span class="var-name">$content</span>)
825                            </div>
826            
827                            <ul class="parameters">
828                                            <li>
829                                    <span class="var-type">mixed</span>
830                                    <span class="var-name">$content</span><span class="var-description">: - either string, or tag object.</span>                    </li>
831                                    </ul>
832                    
833                            <hr class="separator" />
834                    <div class="notes">Redefinition of:</div>
835                    <dl>
836                            <dt><a href="../phpHtmlLib/Container.html#methodpush">Container::push()</a></dt>
837                                                    <dd>Same as add().</dd>
838                                            </dl>
839                    
840            </div>
841    <a name="methodpush_reference" id="push_reference"><!-- --></a>
842    <div class="oddrow">
843            
844            <div class="method-header">
845                    <span class="method-title">push_reference</span> (line <span class="line-number">255</span>)
846            </div>
847            
848            <!-- ========== Info from phpDoc block ========= -->
849    <p class="short-description">Same as add_reference  NOTE : only exists for compatibility with 1.1.x</p>
850            <ul class="tags">
851                                    <li><span class="field">access:</span> public</li>
852                            </ul>
853            
854            <div class="method-signature">
855                    <span class="method-result">void</span>
856                    <span class="method-name">
857                            push_reference
858                    </span>
859                                            (<span class="var-type">mixed</span>&nbsp;<span class="var-name">&$content</span>)
860                            </div>
861            
862                            <ul class="parameters">
863                                            <li>
864                                    <span class="var-type">mixed</span>
865                                    <span class="var-name">&$content</span><span class="var-description">: - a reference to some variable.</span>                   </li>
866                                    </ul>
867                    
868                            <hr class="separator" />
869                    <div class="notes">Redefinition of:</div>
870                    <dl>
871                            <dt><a href="../phpHtmlLib/Container.html#methodpush_reference">Container::push_reference()</a></dt>
872                                                    <dd>Same as add_reference  NOTE : only exists for compatibility with 1.1.x</dd>
873                                            </dl>
874                    
875            </div>
876    <a name="methodrender" id="render"><!-- --></a>
877    <div class="evenrow">
878            
879            <div class="method-header">
880                    <span class="method-title">render</span> (line <span class="line-number">152</span>)
881            </div>
882            
883            <!-- ========== Info from phpDoc block ========= -->
884    <p class="short-description">function that will render the XML Document.</p>
885            <ul class="tags">
886                                    <li><span class="field">return:</span> the raw html output.</li>
887                            </ul>
888            
889            <div class="method-signature">
890                    <span class="method-result">string</span>
891                    <span class="method-name">
892                            render
893                    </span>
894                                            (<span class="var-type">int</span>&nbsp;<span class="var-name">$indent_level</span>, <span class="var-type">int</span>&nbsp;<span class="var-name">1</span>)
895                            </div>
896            
897                            <ul class="parameters">
898                                            <li>
899                                    <span class="var-type">int</span>
900                                    <span class="var-name">1</span><span class="var-description">: - the output debug flag to               maintain compatibility w/ the API.</span>                       </li>
901                                            <li>
902                                    <span class="var-type">int</span>
903                                    <span class="var-name">$indent_level</span><span class="var-description">: - the indentation level for               the container.</span>                      </li>
904                                    </ul>
905                    
906                            <hr class="separator" />
907                    <div class="notes">Redefinition of:</div>
908                    <dl>
909                            <dt><a href="../phpHtmlLib/Container.html#methodrender">Container::render()</a></dt>
910                                                    <dd>This function is compatible with the  rest of the phpHtmllib API spec.</dd>
911                                            </dl>
912                    
913            </div>
914    <a name="methodreset_content" id="reset_content"><!-- --></a>
915    <div class="oddrow">
916            
917            <div class="method-header">
918                    <span class="method-title">reset_content</span> (line <span class="line-number">291</span>)
919            </div>
920            
921            <!-- ========== Info from phpDoc block ========= -->
922    <p class="short-description">we override this class to make sure  we push all content inside the  local _xml_obj tag</p>
923    <p class="description"><p>destroy existing content and start with new content.</p></p>
924            <ul class="tags">
925                                    <li><span class="field">access:</span> public</li>
926                            </ul>
927            
928            <div class="method-signature">
929                    <span class="method-result">void</span>
930                    <span class="method-name">
931                            reset_content
932                    </span>
933                                            (<span class="var-type">mixed</span>&nbsp;<span class="var-name">$content</span>)
934                            </div>
935            
936                            <ul class="parameters">
937                                            <li>
938                                    <span class="var-type">mixed</span>
939                                    <span class="var-name">$content</span><span class="var-description">: can be tag object, or raw (string).</span>                        </li>
940                                    </ul>
941                    
942                            <hr class="separator" />
943                    <div class="notes">Redefinition of:</div>
944                    <dl>
945                            <dt><a href="../phpHtmlLib/Container.html#methodreset_content">Container::reset_content()</a></dt>
946                                                    <dd>destroy existing content and start with new content.</dd>
947                                            </dl>
948                    
949            </div>
950    <a name="methodset_doctype_link" id="set_doctype_link"><!-- --></a>
951    <div class="evenrow">
952            
953            <div class="method-header">
954                    <span class="method-title">set_doctype_link</span> (line <span class="line-number">392</span>)
955            </div>
956            
957            <!-- ========== Info from phpDoc block ========= -->
958    <p class="short-description">This method is used to set the link attributes</p>
959    <p class="description"><p>for the DOCTYPE tag</p></p>
960            
961            <div class="method-signature">
962                    <span class="method-result">void</span>
963                    <span class="method-name">
964                            set_doctype_link
965                    </span>
966                                            (<span class="var-type">mixed</span>&nbsp;<span class="var-name">$link</span>)
967                            </div>
968            
969                    
970                    
971            </div>
972    <a name="methodset_doctype_source" id="set_doctype_source"><!-- --></a>
973    <div class="oddrow">
974            
975            <div class="method-header">
976                    <span class="method-title">set_doctype_source</span> (line <span class="line-number">464</span>)
977            </div>
978            
979            <!-- ========== Info from phpDoc block ========= -->
980    <p class="short-description">this function is used to change the  DOCTYPE tag's source attribute.  By  default it is set to SYSTEM.</p>
981    <p class="description"><p>(ie &lt;!DOCTYPE html SYSTEM &gt; )                     ^^^^^^</p><p>NOTE: only 2 valid values 'SYSTEM', 'PUBLIC'</p></p>
982            
983            <div class="method-signature">
984                    <span class="method-result">void</span>
985                    <span class="method-name">
986                            set_doctype_source
987                    </span>
988                                            (<span class="var-type">string</span>&nbsp;<span class="var-name">$source</span>)
989                            </div>
990            
991                            <ul class="parameters">
992                                            <li>
993                                    <span class="var-type">string</span>
994                                    <span class="var-name">$source</span><span class="var-description">: - the new source attribute</span>                  </li>
995                                    </ul>
996                    
997                    
998            </div>
999    <a name="methodset_encoding" id="set_encoding"><!-- --></a>
1000    <div class="evenrow">
1001            
1002            <div class="method-header">
1003                    <span class="method-title">set_encoding</span> (line <span class="line-number">323</span>)
1004            </div>
1005            
1006            <!-- ========== Info from phpDoc block ========= -->
1007    <p class="short-description">set the character set</p>
1008            
1009            <div class="method-signature">
1010                    <span class="method-result">void</span>
1011                    <span class="method-name">
1012                            set_encoding
1013                    </span>
1014                                            (<span class="var-type">string</span>&nbsp;<span class="var-name">$charset</span>)
1015                            </div>
1016            
1017                            <ul class="parameters">
1018                                            <li>
1019                                    <span class="var-type">string</span>
1020                                    <span class="var-name">$charset</span><span class="var-description">: - the charset for the meta tag</span>                     </li>
1021                                    </ul>
1022                    
1023                    
1024            </div>
1025    <a name="methodset_http_content_type" id="set_http_content_type"><!-- --></a>
1026    <div class="oddrow">
1027            
1028            <div class="method-header">
1029                    <span class="method-title">set_http_content_type</span> (line <span class="line-number">426</span>)
1030            </div>
1031            
1032            <!-- ========== Info from phpDoc block ========= -->
1033    <p class="short-description">This function is used to set the  http header content-type for output to browsers</p>
1034            
1035            <div class="method-signature">
1036                    <span class="method-result">void</span>
1037                    <span class="method-name">
1038                            set_http_content_type
1039                    </span>
1040                                            ([<span class="var-type">string</span>&nbsp;<span class="var-name">$type</span> = <span class="var-default">"application/xml"</span>])
1041                            </div>
1042            
1043                            <ul class="parameters">
1044                                            <li>
1045                                    <span class="var-type">string</span>
1046                                    <span class="var-name">$type</span>                     </li>
1047                                    </ul>
1048                    
1049                    
1050            </div>
1051    <a name="methodset_root_attribute" id="set_root_attribute"><!-- --></a>
1052    <div class="evenrow">
1053            
1054            <div class="method-header">
1055                    <span class="method-title">set_root_attribute</span> (line <span class="line-number">373</span>)
1056            </div>
1057            
1058            <!-- ========== Info from phpDoc block ========= -->
1059    <p class="short-description">This sets 1 root tag attribute value pair</p>
1060            
1061            <div class="method-signature">
1062                    <span class="method-result">void</span>
1063                    <span class="method-name">
1064                            set_root_attribute
1065                    </span>
1066                                            (<span class="var-type">string</span>&nbsp;<span class="var-name">$name</span>, <span class="var-type">string</span>&nbsp;<span class="var-name">$value</span>)
1067                            </div>
1068            
1069                            <ul class="parameters">
1070                                            <li>
1071                                    <span class="var-type">string</span>
1072                                    <span class="var-name">$name</span><span class="var-description">: - the attribute name</span>                  </li>
1073                                            <li>
1074                                    <span class="var-type">string</span>
1075                                    <span class="var-name">$value</span><span class="var-description">: - the attribute value</span>                        </li>
1076                                    </ul>
1077                    
1078                    
1079            </div>
1080    <a name="methodset_root_attributes" id="set_root_attributes"><!-- --></a>
1081    <div class="oddrow">
1082            
1083            <div class="method-header">
1084                    <span class="method-title">set_root_attributes</span> (line <span class="line-number">363</span>)
1085            </div>
1086            
1087            <!-- ========== Info from phpDoc block ========= -->
1088    <p class="short-description">This function is used to set the  root xml tag's attributes</p>
1089            
1090            <div class="method-signature">
1091                    <span class="method-result">void</span>
1092                    <span class="method-name">
1093                            set_root_attributes
1094                    </span>
1095                                            (<span class="var-type">array</span>&nbsp;<span class="var-name">$attributes</span>)
1096                            </div>
1097            
1098                            <ul class="parameters">
1099                                            <li>
1100                                    <span class="var-type">array</span>
1101                                    <span class="var-name">$attributes</span>                       </li>
1102                                    </ul>
1103                    
1104                    
1105            </div>
1106    <a name="methodset_root_name" id="set_root_name"><!-- --></a>
1107    <div class="evenrow">
1108            
1109            <div class="method-header">
1110                    <span class="method-title">set_root_name</span> (line <span class="line-number">343</span>)
1111            </div>
1112            
1113            <!-- ========== Info from phpDoc block ========= -->
1114    <p class="short-description">Set the document name  and the root tag's name.</p>
1115            
1116            <div class="method-signature">
1117                    <span class="method-result">void</span>
1118                    <span class="method-name">
1119                            set_root_name
1120                    </span>
1121                                            (<span class="var-type">mixed</span>&nbsp;<span class="var-name">$root_name</span>, <span class="var-type">string</span>&nbsp;<span class="var-name">$doc_name</span>)
1122                            </div>
1123            
1124                            <ul class="parameters">
1125                                            <li>
1126                                    <span class="var-type">string</span>
1127                                    <span class="var-name">$doc_name</span>                 </li>
1128                                    </ul>
1129                    
1130                    
1131            </div>
1132    <a name="methodshow_character_encoding" id="show_character_encoding"><!-- --></a>
1133    <div class="oddrow">
1134            
1135            <div class="method-header">
1136                    <span class="method-title">show_character_encoding</span> (line <span class="line-number">405</span>)
1137            </div>
1138            
1139            <!-- ========== Info from phpDoc block ========= -->
1140    <p class="short-description">method to update the flag that lets us know  to show/render the character encoding string  in the xml tag or not</p>
1141            
1142            <div class="method-signature">
1143                    <span class="method-result">void</span>
1144                    <span class="method-name">
1145                            show_character_encoding
1146                    </span>
1147                                            ([<span class="var-type">boolean</span>&nbsp;<span class="var-name">$flag</span> = <span class="var-default">TRUE</span>])
1148                            </div>
1149            
1150                            <ul class="parameters">
1151                                            <li>
1152                                    <span class="var-type">boolean</span>
1153                                    <span class="var-name">$flag</span>                     </li>
1154                                    </ul>
1155                    
1156                    
1157            </div>
1158    <a name="methodshow_http_header" id="show_http_header"><!-- --></a>
1159    <div class="evenrow">
1160            
1161            <div class="method-header">
1162                    <span class="method-title">show_http_header</span> (line <span class="line-number">416</span>)
1163            </div>
1164            
1165            <!-- ========== Info from phpDoc block ========= -->
1166    <p class="short-description">this function is used to set the flag  that tells this class to automatically  output the content type in the http header</p>
1167            
1168            <div class="method-signature">
1169                    <span class="method-result">void</span>
1170                    <span class="method-name">
1171                            show_http_header
1172                    </span>
1173                                            ([<span class="var-type">boolean</span>&nbsp;<span class="var-name">$flag</span> = <span class="var-default">TRUE</span>])
1174                            </div>
1175            
1176                            <ul class="parameters">
1177                                            <li>
1178                                    <span class="var-type">boolean</span>
1179                                    <span class="var-name">$flag</span>                     </li>
1180                                    </ul>
1181                    
1182                    
1183            </div>
1184    <a name="method_build_doctype" id="_build_doctype"><!-- --></a>
1185    <div class="oddrow">
1186            
1187            <div class="method-header">
1188                    <span class="method-title">_build_doctype</span> (line <span class="line-number">492</span>)
1189            </div>
1190            
1191            <!-- ========== Info from phpDoc block ========= -->
1192    <p class="short-description">This method builds the DOCTYPE tag for the document</p>
1193            
1194            <div class="method-signature">
1195                    <span class="method-result">void</span>
1196                    <span class="method-name">
1197                            _build_doctype
1198                    </span>
1199                                    ()
1200                            </div>
1201            
1202                    
1203                    
1204            </div>
1205    <a name="method_build_root_tag" id="_build_root_tag"><!-- --></a>
1206    <div class="evenrow">
1207            
1208            <div class="method-header">
1209                    <span class="method-title">_build_root_tag</span> (line <span class="line-number">314</span>)
1210            </div>
1211            
1212            <!-- ========== Info from phpDoc block ========= -->
1213    <p class="short-description">This function builds the root xml</p>
1214    <p class="description"><p>tag that will contain all of the Document's  xml tags</p></p>
1215            
1216            <div class="method-signature">
1217                    <span class="method-result">void</span>
1218                    <span class="method-name">
1219                            _build_root_tag
1220                    </span>
1221                                    ()
1222                            </div>
1223            
1224                    
1225                    
1226            </div>
1227    <a name="method_build_xml_stylesheet_container" id="_build_xml_stylesheet_container"><!-- --></a>
1228    <div class="oddrow">
1229            
1230            <div class="method-header">
1231                    <span class="method-title">_build_xml_stylesheet_container</span> (line <span class="line-number">277</span>)
1232            </div>
1233            
1234            <!-- ========== Info from phpDoc block ========= -->
1235    <p class="short-description">This function builds the _xml_stylesheet_container</p>
1236            
1237            <div class="method-signature">
1238                    <span class="method-result">void</span>
1239                    <span class="method-name">
1240                            _build_xml_stylesheet_container
1241                    </span>
1242                                    ()
1243                            </div>
1244            
1245                    
1246                    
1247            </div>
1248    <a name="method_create_xml_obj" id="_create_xml_obj"><!-- --></a>
1249    <div class="evenrow">
1250            
1251            <div class="method-header">
1252                    <span class="method-title">_create_xml_obj</span> (line <span class="line-number">304</span>)
1253            </div>
1254            
1255            <!-- ========== Info from phpDoc block ========= -->
1256    <p class="short-description">This function builds the local</p>
1257    <p class="description"><p>xml container object that holds  all xml tags that are pushed into  this class</p></p>
1258            <ul class="tags">
1259                                    <li><span class="field">return:</span> object</li>
1260                            </ul>
1261            
1262            <div class="method-signature">
1263                    <span class="method-result"><a href="../phpHtmlLib/XMLtag.html">XMLtag</a></span>
1264                    <span class="method-name">
1265                            _create_xml_obj
1266                    </span>
1267                                    ()
1268                            </div>
1269            
1270                    
1271                    
1272            </div>
1273                                                            <h4>Inherited Methods</h4>
1274                                    <a name='inherited_methods'><!-- --></a>        
1275                                                                            <!-- =========== Summary =========== -->
1276                                            <p>Inherited From <span class="classname"><a href="../phpHtmlLib/Container.html">Container</a></span></p>
1277                                            <blockquote>
1278                                                                                                            <span class="method-name"><a href="../phpHtmlLib/Container.html#methodContainer">Container::Container()</a></span><br>
1279                                                                                                            <span class="method-name"><a href="../phpHtmlLib/Container.html#methodadd">Container::add()</a></span><br>
1280                                                                                                            <span class="method-name"><a href="../phpHtmlLib/Container.html#methodadd_reference">Container::add_reference()</a></span><br>
1281                                                                                                            <span class="method-name"><a href="../phpHtmlLib/Container.html#methodcount_content">Container::count_content()</a></span><br>
1282                                                                                                            <span class="method-name"><a href="../phpHtmlLib/Container.html#methodget_element">Container::get_element()</a></span><br>
1283                                                                                                            <span class="method-name"><a href="../phpHtmlLib/Container.html#methodget_indent_flag">Container::get_indent_flag()</a></span><br>
1284                                                                                                            <span class="method-name"><a href="../phpHtmlLib/Container.html#methodpush">Container::push()</a></span><br>
1285                                                                                                            <span class="method-name"><a href="../phpHtmlLib/Container.html#methodpush_reference">Container::push_reference()</a></span><br>
1286                                                                                                            <span class="method-name"><a href="../phpHtmlLib/Container.html#methodrender">Container::render()</a></span><br>
1287                                                                                                            <span class="method-name"><a href="../phpHtmlLib/Container.html#methodreset_content">Container::reset_content()</a></span><br>
1288                                                                                                            <span class="method-name"><a href="../phpHtmlLib/Container.html#methodset_collapse">Container::set_collapse()</a></span><br>
1289                                                                                                            <span class="method-name"><a href="../phpHtmlLib/Container.html#methodset_indent_flag">Container::set_indent_flag()</a></span><br>
1290                                                                                            </blockquote>
1291                                                                                    
1292                    </div>
1293            </div>
1294    
1295    
1296            <p class="notes" id="credit">
1297                    Documentation generated on Thu,  1 Apr 2004 09:40:24 -0800 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.3.0RC2</a>
1298            </p>
1299            </div></body>
1300    </html>

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.4

MailToCvsAdmin">MailToCvsAdmin
ViewVC Help
Powered by ViewVC 1.1.26 RSS 2.0 feed