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

Legend:
Removed from v.1.1.1.1  
changed lines
  Added in v.1.3

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