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