1 |
<!DOCTYPE HTML PUBLIC '-//W3C//DTD HTML 4.0 Frameset//EN''http://www.w3.org/TR/REC-html40/frameset.dtd'> |
<?xml version="1.0" encoding="iso-8859-1"?> |
2 |
<!--NewPage--> |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
3 |
<HTML> |
<html xmlns="http://www.w3.org/1999/xhtml"> |
4 |
<HEAD> |
<head> |
5 |
<!-- Generated by PhpDoc date: 'Mon, 25 Nov 2002 09:21:40 -0800' --> |
<!-- template designed by Marco Von Ballmoos --> |
6 |
<TITLE>Docs For Class WMLDocumentClass</TITLE> |
<title>Docs For Class WMLDocumentClass</title> |
7 |
<LINK REL ='stylesheet' TYPE='text/css' HREF='stylesheet.css' TITLE='Style'> |
<link rel="stylesheet" href="../media/stylesheet.css" /> |
8 |
</HEAD> |
<meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1'/> |
9 |
<BODY style="background-color: #eeeeee; font-family: arial; font-size: .9em;"> |
</head> |
10 |
|
<body> |
11 |
|
<div class="page-body"> |
12 |
<!-- Links --> |
<h2 class="class-name">Class WMLDocumentClass</h2> |
13 |
<a NAME="top"></A> |
|
14 |
<table WIDTH="100%" class="links"> |
<a name="sec-description"></a> |
15 |
<TR> |
<div class="info-box"> |
16 |
<TD class="font10"> |
<div class="info-box-title">Description</div> |
17 |
Links: |
<div class="nav-bar"> |
18 |
<A HREF="#children_summary" class="links" title="Classes extended from WMLDocumentClass">Child Classes</A> |
<span class="disabled">Description</span> | |
19 |
<A HREF="#var_summary" class="links" title="Class Variable Summary">Variables</A> |
<a href="#sec-vars">Vars</a> |
20 |
<A HREF="#var_inherited_summary" class="links" title="Inherited Class Variable Summary">Inherited Variables</A> |
| <a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>) |
21 |
<A HREF="#functions_inherited" class="links" title="Inherited Method Summary">Inerited Methods</A> |
|
22 |
<A HREF="#functions_summary" class="links" title="Method Summary">Methods</A> |
</div> |
23 |
<A HREF="#variable_detail" class="links" title="Variable Detail">Variable Detail</A> |
<div class="info-box-body"> |
24 |
<A HREF="#function_detail" class="links" title="Method Detail">Method Detail</A> |
<!-- ========== Info from phpDoc block ========= --> |
25 |
</TD> |
<p class="short-description">This class lets you build a complete WML document and render it</p> |
26 |
</TR> |
<ul class="tags"> |
27 |
</TABLE> |
<li><span class="field">author:</span> Walter A. Boring IV <<a href="mailto:waboring@buildabetterweb.com">waboring@buildabetterweb.com</a>></li> |
28 |
<BR> |
</ul> |
29 |
|
<p class="notes"> |
30 |
<!-- Start of Class Data --> |
Located in <a class="field" href="_widgets_wml_WMLDocumentClass_inc.html">/widgets/wml/WMLDocumentClass.inc</a> (line <span class="field">22</span>) |
31 |
<H2> |
</p> |
32 |
Class WMLDocumentClass |
|
33 |
</H2> |
|
34 |
|
<pre><a href="../phpHtmlLib/Container.html">Container</a> |
|
<pre> |
|
|
<pre><a href="../phpHtmlLib/Container.html">Container</a> |
|
35 |
| |
| |
36 |
--<a href="../phpHtmlLib/XMLDocumentClass.html">XMLDocumentClass</a> |
--<a href="../phpHtmlLib/XMLDocumentClass.html">XMLDocumentClass</a> |
37 |
| |
| |
38 |
--WMLDocumentClass</pre> |
--WMLDocumentClass</pre> |
39 |
</pre> |
|
40 |
|
</div> |
41 |
<A NAME="children_summary"</A> |
</div> |
42 |
<H3> |
|
43 |
Classes extended from WMLDocumentClass: <A HREF="#top" CLASS="links">^TOP</A> |
|
44 |
</H3> |
|
45 |
|
|
46 |
<p> |
<a name="sec-method-summary"></a> |
47 |
<b><i>Located in File: Program_Root/widgets/WMLDocumentClass.inc</i></b><br> |
<div class="info-box"> |
48 |
</p> |
<div class="info-box-title">Method Summary</span></div> |
49 |
<hr> |
<div class="nav-bar"> |
50 |
<!-- ========== Info from phpDoc block ========= --> |
<a href="#sec-description">Description</a> | |
51 |
This class lets you build a complete |
<a href="#sec-vars">Vars</a> |
52 |
<BR> |
|
53 |
WML document and render it |
| |
54 |
|
<span class="disabled">Methods</span> (<a href="#sec-methods">details</a>) |
55 |
<UL> |
</div> |
56 |
|
<div class="info-box-body"> |
57 |
<LI><b>Package</b> - <CODE>phpHtmlLib</CODE></LI> |
<div class="method-summary"> |
58 |
|
|
59 |
<LI><b>Author</b> - <CODE>Walter A. Boring IV <<a href="mailto:waboring@buildabetterweb.com">waboring@buildabetterweb.com</a>></CODE></LI> |
<div class="method-definition"> |
60 |
|
<span class="method-result">WMLDocumentClass</span> |
61 |
</UL> |
<a href="#WMLDocumentClass" title="details" class="method-name">WMLDocumentClass</a> |
62 |
|
() |
63 |
<hr> |
</div> |
64 |
<!-- =========== VAR SUMMARY =========== --> |
</div> |
65 |
<A NAME='var_summary'><!-- --></A> |
</div> |
66 |
<TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='100%' CLASS="border"> |
</div> |
67 |
<TR BGCOLOR='#CCCCFF' CLASS='TableHeadingColor'> |
|
68 |
<TD> |
<a name="sec-vars"></a> |
69 |
<span CLASS="font12bold">Class Variable Summary</span> |
<div class="info-box"> |
70 |
<A HREF="#top" CLASS="links">^TOP</A> |
<div class="info-box-title">Variables</div> |
71 |
</TD> |
<div class="nav-bar"> |
72 |
</TR> |
<a href="#sec-description">Description</a> | |
73 |
|
<a href="#sec-var-summary">Vars</a> (<span class="disabled">details</span>) |
74 |
|
|
75 |
</TABLE> |
|
76 |
|
| |
77 |
<hr> |
<a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>) |
78 |
<!-- =========== VAR INHERITED SUMMARY =========== --> |
|
79 |
<A NAME='var_inherited_summary'><!-- --></A> |
</div> |
80 |
<TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='100%' CLASS="border"> |
<div class="info-box-body"> |
81 |
<TR CLASS='TableHeadingColor'> |
<h4>Inherited Variables</h4> |
82 |
<TD> |
<A NAME='inherited_vars'><!-- --></A> |
83 |
<span CLASS="font12bold">Inherited Class Variable Summary</span> |
<p>Inherited from <span class="classname"><a href="../phpHtmlLib/XMLDocumentClass.html">XMLDocumentClass</a></span></p> |
84 |
<A HREF="#top" CLASS="links">^TOP</A> |
<blockquote> |
85 |
</TD> |
<span class="var-title"> |
86 |
</TR> |
<span class="var-name"><a href="../phpHtmlLib/XMLDocumentClass.html#var$dtd">XMLDocumentClass::$dtd</a></span><br> |
87 |
|
</span> |
88 |
|
<span class="var-title"> |
89 |
<!-- =========== Summary =========== --> |
<span class="var-name"><a href="../phpHtmlLib/XMLDocumentClass.html#var$root_name">XMLDocumentClass::$root_name</a></span><br> |
90 |
<TR BGCOLOR='white'> |
</span> |
91 |
<TD> |
<span class="var-title"> |
92 |
<span CLASS="font10bold">Inherited From Class <a href="../phpHtmlLib/XMLDocumentClass.html">XMLDocumentClass</a></span> |
<span class="var-name"><a href="../phpHtmlLib/XMLDocumentClass.html#var$_doctype_links">XMLDocumentClass::$_doctype_links</a></span><br> |
93 |
<table CELLPADDING='3' CELLSPACING='0' WIDTH='95%' CLASS="border" ALIGN="center"> |
</span> |
94 |
<tr CLASS="tableheadingcolor"> |
<span class="var-title"> |
95 |
<th>Variable</th> |
<span class="var-name"><a href="../phpHtmlLib/XMLDocumentClass.html#var$_doctype_source">XMLDocumentClass::$_doctype_source</a></span><br> |
96 |
<th>Default Value</th> |
</span> |
97 |
<th>Description</th> |
<span class="var-title"> |
98 |
</tr> |
<span class="var-name"><a href="../phpHtmlLib/XMLDocumentClass.html#var$_http_content_type">XMLDocumentClass::$_http_content_type</a></span><br> |
99 |
|
</span> |
100 |
<tr> |
<span class="var-title"> |
101 |
<td CLASS="font10bold"><A HREF='../phpHtmlLib/XMLDocumentClass.html#$dtd'>$dtd</A></td> |
<span class="var-name"><a href="../phpHtmlLib/XMLDocumentClass.html#var$_root_tag">XMLDocumentClass::$_root_tag</a></span><br> |
102 |
<td CLASS="font10" STYLE="white-space: nowrap">->NULL<-</td> |
</span> |
103 |
<td CLASS="font10">Holds the url of dtd</td> |
<span class="var-title"> |
104 |
</tr> |
<span class="var-name"><a href="../phpHtmlLib/XMLDocumentClass.html#var$_show_char_encoding">XMLDocumentClass::$_show_char_encoding</a></span><br> |
105 |
|
</span> |
106 |
<tr> |
<span class="var-title"> |
107 |
<td CLASS="font10bold"><A HREF='../phpHtmlLib/XMLDocumentClass.html#$root_name'>$root_name</A></td> |
<span class="var-name"><a href="../phpHtmlLib/XMLDocumentClass.html#var$_show_http_header">XMLDocumentClass::$_show_http_header</a></span><br> |
108 |
<td CLASS="font10" STYLE="white-space: nowrap">->NULL<-</td> |
</span> |
109 |
<td CLASS="font10">Holds the name of the root xml</td> |
<span class="var-title"> |
110 |
</tr> |
<span class="var-name"><a href="../phpHtmlLib/XMLDocumentClass.html#var$_xml_obj">XMLDocumentClass::$_xml_obj</a></span><br> |
111 |
|
</span> |
112 |
<tr> |
<span class="var-title"> |
113 |
<td CLASS="font10bold"><A HREF='../phpHtmlLib/XMLDocumentClass.html#$_doctype_links'>$_doctype_links</A></td> |
<span class="var-name"><a href="../phpHtmlLib/XMLDocumentClass.html#var$_xml_stylesheet_container">XMLDocumentClass::$_xml_stylesheet_container</a></span><br> |
114 |
<td CLASS="font10" STYLE="white-space: nowrap">->array()<-</td> |
</span> |
115 |
<td CLASS="font10">This contains the doctype links |
</blockquote> |
116 |
attributes.</td> |
|
117 |
</tr> |
</div> |
118 |
|
</div> |
119 |
<tr> |
|
120 |
<td CLASS="font10bold"><A HREF='../phpHtmlLib/XMLDocumentClass.html#$_doctype_source'>$_doctype_source</A></td> |
<a name="sec-methods"></a> |
121 |
<td CLASS="font10" STYLE="white-space: nowrap">->SYSTEM<-</td> |
<div class="info-box"> |
122 |
<td CLASS="font10">the DOCTYPE source attribute</td> |
<div class="info-box-title">Methods</div> |
123 |
</tr> |
<div class="nav-bar"> |
124 |
|
<a href="#sec-description">Description</a> | |
125 |
<tr> |
<a href="#sec-vars">Vars</a> |
126 |
<td CLASS="font10bold"><A HREF='../phpHtmlLib/XMLDocumentClass.html#$_http_content_type'>$_http_content_type</A></td> |
<a href="#sec-method-summary">Methods</a> (<span class="disabled">details</span>) |
127 |
<td CLASS="font10" STYLE="white-space: nowrap">->application/xml<-</td> |
|
128 |
<td CLASS="font10">The http content-type</td> |
</div> |
129 |
</tr> |
<div class="info-box-body"> |
130 |
|
<A NAME='method_detail'></A> |
131 |
<tr> |
<a name="methodWMLDocumentClass" id="WMLDocumentClass"><!-- --></a> |
132 |
<td CLASS="font10bold"><A HREF='../phpHtmlLib/XMLDocumentClass.html#$_root_tag'>$_root_tag</A></td> |
<div class="oddrow"> |
133 |
<td CLASS="font10" STYLE="white-space: nowrap">->NULL<-</td> |
|
134 |
<td CLASS="font10">The root xml tag for all data</td> |
<div class="method-header"> |
135 |
</tr> |
<span class="method-title">Constructor WMLDocumentClass</span> (line <span class="line-number">24</span>) |
136 |
|
</div> |
137 |
<tr> |
|
138 |
<td CLASS="font10bold"><A HREF='../phpHtmlLib/XMLDocumentClass.html#$_show_char_encoding'>$_show_char_encoding</A></td> |
<!-- ========== Info from phpDoc block ========= --> |
139 |
<td CLASS="font10" STYLE="white-space: nowrap">->TRUE<-</td> |
|
140 |
<td CLASS="font10">this is a hack to show the |
<div class="method-signature"> |
141 |
character encoding or not.</td> |
<span class="method-result">WMLDocumentClass</span> |
142 |
</tr> |
<span class="method-name"> |
143 |
|
WMLDocumentClass |
144 |
<tr> |
</span> |
145 |
<td CLASS="font10bold"><A HREF='../phpHtmlLib/XMLDocumentClass.html#$_show_http_header'>$_show_http_header</A></td> |
() |
146 |
<td CLASS="font10" STYLE="white-space: nowrap">->FALSE<-</td> |
</div> |
147 |
<td CLASS="font10">This flag tells if we should |
|
148 |
output the header content type.</td> |
|
149 |
</tr> |
|
150 |
|
</div> |
151 |
<tr> |
<h4>Inherited Methods</h4> |
152 |
<td CLASS="font10bold"><A HREF='../phpHtmlLib/XMLDocumentClass.html#$_xml_obj'>$_xml_obj</A></td> |
<a name='inherited_methods'><!-- --></a> |
153 |
<td CLASS="font10" STYLE="white-space: nowrap">->NULL<-</td> |
<!-- =========== Summary =========== --> |
154 |
<td CLASS="font10">holds the xml tag object that |
<p>Inherited From <span class="classname"><a href="../phpHtmlLib/XMLDocumentClass.html">XMLDocumentClass</a></span></p> |
155 |
all content will be wrapped in</td> |
<blockquote> |
156 |
</tr> |
<span class="method-name"><a href="../phpHtmlLib/XMLDocumentClass.html#methodXMLDocumentClass">XMLDocumentClass::XMLDocumentClass()</a></span><br> |
157 |
|
<span class="method-name"><a href="../phpHtmlLib/XMLDocumentClass.html#methodadd">XMLDocumentClass::add()</a></span><br> |
158 |
<tr> |
<span class="method-name"><a href="../phpHtmlLib/XMLDocumentClass.html#methodadd_reference">XMLDocumentClass::add_reference()</a></span><br> |
159 |
<td CLASS="font10bold"><A HREF='../phpHtmlLib/XMLDocumentClass.html#$_xml_stylesheet_container'>$_xml_stylesheet_container</A></td> |
<span class="method-name"><a href="../phpHtmlLib/XMLDocumentClass.html#methodadd_xml_stylesheet_link">XMLDocumentClass::add_xml_stylesheet_link()</a></span><br> |
160 |
<td CLASS="font10" STYLE="white-space: nowrap">->NULL<-</td> |
<span class="method-name"><a href="../phpHtmlLib/XMLDocumentClass.html#methoddump_http_header">XMLDocumentClass::dump_http_header()</a></span><br> |
161 |
<td CLASS="font10">The container for all the |
<span class="method-name"><a href="../phpHtmlLib/XMLDocumentClass.html#methodget_doctype_source">XMLDocumentClass::get_doctype_source()</a></span><br> |
162 |
xml-stylesheet tags</td> |
<span class="method-name"><a href="../phpHtmlLib/XMLDocumentClass.html#methodget_encoding">XMLDocumentClass::get_encoding()</a></span><br> |
163 |
</tr> |
<span class="method-name"><a href="../phpHtmlLib/XMLDocumentClass.html#methodget_http_content_type">XMLDocumentClass::get_http_content_type()</a></span><br> |
164 |
|
<span class="method-name"><a href="../phpHtmlLib/XMLDocumentClass.html#methodget_root_attributes">XMLDocumentClass::get_root_attributes()</a></span><br> |
165 |
</table> |
<span class="method-name"><a href="../phpHtmlLib/XMLDocumentClass.html#methodget_root_name">XMLDocumentClass::get_root_name()</a></span><br> |
166 |
<BR> |
<span class="method-name"><a href="../phpHtmlLib/XMLDocumentClass.html#methodpush">XMLDocumentClass::push()</a></span><br> |
167 |
</TD> |
<span class="method-name"><a href="../phpHtmlLib/XMLDocumentClass.html#methodpush_reference">XMLDocumentClass::push_reference()</a></span><br> |
168 |
</TR> |
<span class="method-name"><a href="../phpHtmlLib/XMLDocumentClass.html#methodrender">XMLDocumentClass::render()</a></span><br> |
169 |
|
<span class="method-name"><a href="../phpHtmlLib/XMLDocumentClass.html#methodreset_content">XMLDocumentClass::reset_content()</a></span><br> |
170 |
<!-- =========== Summary =========== --> |
<span class="method-name"><a href="../phpHtmlLib/XMLDocumentClass.html#methodset_doctype_link">XMLDocumentClass::set_doctype_link()</a></span><br> |
171 |
<TR BGCOLOR='white'> |
<span class="method-name"><a href="../phpHtmlLib/XMLDocumentClass.html#methodset_doctype_source">XMLDocumentClass::set_doctype_source()</a></span><br> |
172 |
<TD> |
<span class="method-name"><a href="../phpHtmlLib/XMLDocumentClass.html#methodset_encoding">XMLDocumentClass::set_encoding()</a></span><br> |
173 |
<span CLASS="font10bold">Inherited From Class <a href="../phpHtmlLib/Container.html">Container</a></span> |
<span class="method-name"><a href="../phpHtmlLib/XMLDocumentClass.html#methodset_http_content_type">XMLDocumentClass::set_http_content_type()</a></span><br> |
174 |
<table CELLPADDING='3' CELLSPACING='0' WIDTH='95%' CLASS="border" ALIGN="center"> |
<span class="method-name"><a href="../phpHtmlLib/XMLDocumentClass.html#methodset_root_attribute">XMLDocumentClass::set_root_attribute()</a></span><br> |
175 |
<tr CLASS="tableheadingcolor"> |
<span class="method-name"><a href="../phpHtmlLib/XMLDocumentClass.html#methodset_root_attributes">XMLDocumentClass::set_root_attributes()</a></span><br> |
176 |
<th>Variable</th> |
<span class="method-name"><a href="../phpHtmlLib/XMLDocumentClass.html#methodset_root_name">XMLDocumentClass::set_root_name()</a></span><br> |
177 |
<th>Default Value</th> |
<span class="method-name"><a href="../phpHtmlLib/XMLDocumentClass.html#methodshow_character_encoding">XMLDocumentClass::show_character_encoding()</a></span><br> |
178 |
<th>Description</th> |
<span class="method-name"><a href="../phpHtmlLib/XMLDocumentClass.html#methodshow_http_header">XMLDocumentClass::show_http_header()</a></span><br> |
179 |
</tr> |
<span class="method-name"><a href="../phpHtmlLib/XMLDocumentClass.html#method_build_doctype">XMLDocumentClass::_build_doctype()</a></span><br> |
180 |
|
<span class="method-name"><a href="../phpHtmlLib/XMLDocumentClass.html#method_build_root_tag">XMLDocumentClass::_build_root_tag()</a></span><br> |
181 |
<tr> |
<span class="method-name"><a href="../phpHtmlLib/XMLDocumentClass.html#method_build_xml_stylesheet_container">XMLDocumentClass::_build_xml_stylesheet_container()</a></span><br> |
182 |
<td CLASS="font10bold"><A HREF='../phpHtmlLib/Container.html#$indent_flag'>$indent_flag</A></td> |
<span class="method-name"><a href="../phpHtmlLib/XMLDocumentClass.html#method_create_xml_obj">XMLDocumentClass::_create_xml_obj()</a></span><br> |
183 |
<td CLASS="font10" STYLE="white-space: nowrap">->TRUE<-</td> |
</blockquote> |
184 |
<td CLASS="font10">Flag for pretty (indented) output</td> |
<!-- =========== Summary =========== --> |
185 |
</tr> |
<p>Inherited From <span class="classname"><a href="../phpHtmlLib/Container.html">Container</a></span></p> |
186 |
|
<blockquote> |
187 |
<tr> |
<span class="method-name"><a href="../phpHtmlLib/Container.html#methodContainer">Container::Container()</a></span><br> |
188 |
<td CLASS="font10bold"><A HREF='../phpHtmlLib/Container.html#$_newline_after_content_flag'>$_newline_after_content_flag</A></td> |
<span class="method-name"><a href="../phpHtmlLib/Container.html#methodadd">Container::add()</a></span><br> |
189 |
<td CLASS="font10" STYLE="white-space: nowrap">->TRUE<-</td> |
<span class="method-name"><a href="../phpHtmlLib/Container.html#methodadd_reference">Container::add_reference()</a></span><br> |
190 |
<td CLASS="font10">Do we render a newline after the |
<span class="method-name"><a href="../phpHtmlLib/Container.html#methodcount_content">Container::count_content()</a></span><br> |
191 |
contents has been rendered?</td> |
<span class="method-name"><a href="../phpHtmlLib/Container.html#methodget_element">Container::get_element()</a></span><br> |
192 |
</tr> |
<span class="method-name"><a href="../phpHtmlLib/Container.html#methodget_indent_flag">Container::get_indent_flag()</a></span><br> |
193 |
|
<span class="method-name"><a href="../phpHtmlLib/Container.html#methodpush">Container::push()</a></span><br> |
194 |
</table> |
<span class="method-name"><a href="../phpHtmlLib/Container.html#methodpush_reference">Container::push_reference()</a></span><br> |
195 |
<BR> |
<span class="method-name"><a href="../phpHtmlLib/Container.html#methodrender">Container::render()</a></span><br> |
196 |
</TD> |
<span class="method-name"><a href="../phpHtmlLib/Container.html#methodreset_content">Container::reset_content()</a></span><br> |
197 |
</TR> |
<span class="method-name"><a href="../phpHtmlLib/Container.html#methodset_collapse">Container::set_collapse()</a></span><br> |
198 |
|
<span class="method-name"><a href="../phpHtmlLib/Container.html#methodset_indent_flag">Container::set_indent_flag()</a></span><br> |
199 |
</TABLE> |
</blockquote> |
200 |
|
|
201 |
<hr> |
</div> |
202 |
<!-- =========== INHERITED METHOD SUMMARY =========== --> |
</div> |
203 |
<A NAME='functions_inherited'><!-- --></A> |
|
204 |
<TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='100%' CLASS="border"> |
|
205 |
<TR CLASS='TableHeadingColor'> |
<p class="notes" id="credit"> |
206 |
<TD> |
Documentation generated on Thu, 1 Apr 2004 09:40:17 -0800 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.3.0RC2</a> |
207 |
<span CLASS="font12bold">Inherited Method Summary</span> |
</p> |
208 |
<A HREF="#top" CLASS="links">^TOP</A> |
</div></body> |
209 |
</TD> |
</html> |
|
</TR> |
|
|
|
|
|
|
|
|
<!-- =========== Summary =========== --> |
|
|
<TR BGCOLOR='white' CLASS='TableRowColor'> |
|
|
<TD> |
|
|
<span CLASS="font10bold">Inherited From Class <a href="../phpHtmlLib/XMLDocumentClass.html">XMLDocumentClass</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/XMLDocumentClass.html#constructor XMLDocumentClass'>constructor XMLDocumentClass ( [$root_name = ], [$dtd = NULL], [$root_attributes = array()] )</A></td> |
|
|
<td CLASS="font10">The constructor</td> |
|
|
|
|
|
<tr> |
|
|
<td CLASS="font10bold"><A HREF='../phpHtmlLib/XMLDocumentClass.html#add'>add ( )</A></td> |
|
|
<td CLASS="font10">we override this class to make sure</td> |
|
|
|
|
|
<tr> |
|
|
<td CLASS="font10bold"><A HREF='../phpHtmlLib/XMLDocumentClass.html#add_reference'>add_reference ( &$content )</A></td> |
|
|
<td CLASS="font10">we override this class to make sure</td> |
|
|
|
|
|
<tr> |
|
|
<td CLASS="font10bold"><A HREF='../phpHtmlLib/XMLDocumentClass.html#add_xml_stylesheet_link'>add_xml_stylesheet_link ( $href )</A></td> |
|
|
<td CLASS="font10">This function is used to add a new |
|
|
xml-stylesheet tag to the top |
|
|
portion of the document.</td> |
|
|
|
|
|
<tr> |
|
|
<td CLASS="font10bold"><A HREF='../phpHtmlLib/XMLDocumentClass.html#dump_http_header'>dump_http_header ( )</A></td> |
|
|
<td CLASS="font10">This function is used to output the http |
|
|
header for this document.</td> |
|
|
|
|
|
<tr> |
|
|
<td CLASS="font10bold"><A HREF='../phpHtmlLib/XMLDocumentClass.html#get_doctype_source'>get_doctype_source ( )</A></td> |
|
|
<td CLASS="font10">This function returns the current |
|
|
DOCTYPE tag's source attribute</td> |
|
|
|
|
|
<tr> |
|
|
<td CLASS="font10bold"><A HREF='../phpHtmlLib/XMLDocumentClass.html#get_encoding'>get_encoding ( )</A></td> |
|
|
<td CLASS="font10">This function gets the current encoding type</td> |
|
|
|
|
|
<tr> |
|
|
<td CLASS="font10bold"><A HREF='../phpHtmlLib/XMLDocumentClass.html#get_http_content_type'>get_http_content_type ( )</A></td> |
|
|
<td CLASS="font10">This function returns the current |
|
|
value of the http header content type</td> |
|
|
|
|
|
<tr> |
|
|
<td CLASS="font10bold"><A HREF='../phpHtmlLib/XMLDocumentClass.html#get_root_attributes'>get_root_attributes ( )</A></td> |
|
|
<td CLASS="font10">This function is used to get the |
|
|
root xml tag's attributes</td> |
|
|
|
|
|
<tr> |
|
|
<td CLASS="font10bold"><A HREF='../phpHtmlLib/XMLDocumentClass.html#get_root_name'>get_root_name ( )</A></td> |
|
|
<td CLASS="font10">This function gets the document name</td> |
|
|
|
|
|
<tr> |
|
|
<td CLASS="font10bold"><A HREF='../phpHtmlLib/XMLDocumentClass.html#push'>push ( )</A></td> |
|
|
<td CLASS="font10">Same as add().</td> |
|
|
|
|
|
<tr> |
|
|
<td CLASS="font10bold"><A HREF='../phpHtmlLib/XMLDocumentClass.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/XMLDocumentClass.html#render'>render ( [$indent_level = 0] )</A></td> |
|
|
<td CLASS="font10">function that will render the XML Document.</td> |
|
|
|
|
|
<tr> |
|
|
<td CLASS="font10bold"><A HREF='../phpHtmlLib/XMLDocumentClass.html#reset_content'>reset_content ( )</A></td> |
|
|
<td CLASS="font10">we override this class to make sure</td> |
|
|
|
|
|
<tr> |
|
|
<td CLASS="font10bold"><A HREF='../phpHtmlLib/XMLDocumentClass.html#set_doctype_link'>set_doctype_link ( $link )</A></td> |
|
|
<td CLASS="font10">This method is used to set the link attributes |
|
|
for the DOCTYPE tag</td> |
|
|
|
|
|
<tr> |
|
|
<td CLASS="font10bold"><A HREF='../phpHtmlLib/XMLDocumentClass.html#set_doctype_source'>set_doctype_source ( $source )</A></td> |
|
|
<td CLASS="font10">this function is used to change the |
|
|
DOCTYPE tag's source attribute.</td> |
|
|
|
|
|
<tr> |
|
|
<td CLASS="font10bold"><A HREF='../phpHtmlLib/XMLDocumentClass.html#set_encoding'>set_encoding ( $charset )</A></td> |
|
|
<td CLASS="font10">set the character set</td> |
|
|
|
|
|
<tr> |
|
|
<td CLASS="font10bold"><A HREF='../phpHtmlLib/XMLDocumentClass.html#set_http_content_type'>set_http_content_type ( [$type = "application/xml"] )</A></td> |
|
|
<td CLASS="font10">This function is used to set the |
|
|
http header content-type for output to browsers</td> |
|
|
|
|
|
<tr> |
|
|
<td CLASS="font10bold"><A HREF='../phpHtmlLib/XMLDocumentClass.html#set_root_attribute'>set_root_attribute ( $name, $value )</A></td> |
|
|
<td CLASS="font10">This sets 1 root tag attribute value pair</td> |
|
|
|
|
|
<tr> |
|
|
<td CLASS="font10bold"><A HREF='../phpHtmlLib/XMLDocumentClass.html#set_root_attributes'>set_root_attributes ( $attributes )</A></td> |
|
|
<td CLASS="font10">This function is used to set the |
|
|
root xml tag's attributes</td> |
|
|
|
|
|
<tr> |
|
|
<td CLASS="font10bold"><A HREF='../phpHtmlLib/XMLDocumentClass.html#set_root_name'>set_root_name ( $root_name )</A></td> |
|
|
<td CLASS="font10">Set the document name |
|
|
and the root tag's name.</td> |
|
|
|
|
|
<tr> |
|
|
<td CLASS="font10bold"><A HREF='../phpHtmlLib/XMLDocumentClass.html#show_character_encoding'>show_character_encoding ( [$flag = TRUE] )</A></td> |
|
|
<td CLASS="font10">method to update the flag that lets us know</td> |
|
|
|
|
|
<tr> |
|
|
<td CLASS="font10bold"><A HREF='../phpHtmlLib/XMLDocumentClass.html#show_http_header'>show_http_header ( [$flag = TRUE] )</A></td> |
|
|
<td CLASS="font10">this function is used to set the flag</td> |
|
|
|
|
|
<tr> |
|
|
<td CLASS="font10bold"><A HREF='../phpHtmlLib/XMLDocumentClass.html#_build_doctype'>_build_doctype ( )</A></td> |
|
|
<td CLASS="font10">This method builds the DOCTYPE tag for the document</td> |
|
|
|
|
|
<tr> |
|
|
<td CLASS="font10bold"><A HREF='../phpHtmlLib/XMLDocumentClass.html#_build_root_tag'>_build_root_tag ( )</A></td> |
|
|
<td CLASS="font10">This function builds the root xml</td> |
|
|
|
|
|
<tr> |
|
|
<td CLASS="font10bold"><A HREF='../phpHtmlLib/XMLDocumentClass.html#_build_xml_stylesheet_container'>_build_xml_stylesheet_container ( )</A></td> |
|
|
<td CLASS="font10">This function builds the _xml_stylesheet_container</td> |
|
|
|
|
|
<tr> |
|
|
<td CLASS="font10bold"><A HREF='../phpHtmlLib/XMLDocumentClass.html#_create_xml_obj'>_create_xml_obj ( )</A></td> |
|
|
<td CLASS="font10">This function builds the local</td> |
|
|
|
|
|
</table> |
|
|
<br> |
|
|
</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> |
|
|
<TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='100%' Class="border"> |
|
|
<TR BGCOLOR='#CCCCFF' CLASS='TableHeadingColor'> |
|
|
<TD> |
|
|
<span class="font12bold">Method Summary</span> |
|
|
<A HREF="#top" CLASS="links">^TOP</A> |
|
|
</TD> |
|
|
</TR> |
|
|
|
|
|
|
|
|
<!-- =========== Summary =========== --> |
|
|
<TR BGCOLOR='white' CLASS='TableRowColor'> |
|
|
<TD> |
|
|
<CODE><B><A HREF='WMLDocumentClass.html#constructor WMLDocumentClass'>void constructor WMLDocumentClass ( )</A></B></CODE> |
|
|
<BR> |
|
|
<blockquote> </blockquote> |
|
|
</TD> |
|
|
</TR> |
|
|
|
|
|
</TABLE> |
|
|
|
|
|
<hr> |
|
|
<!-- ============ VARIABLE DETAIL =========== --> |
|
|
|
|
|
<A NAME='variable_detail'></A> |
|
|
<TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='100%' CLASS="border"> |
|
|
<TR BGCOLOR='#CCCCFF' CLASS='TableHeadingColor'> |
|
|
<TD> |
|
|
<span CLASS="font12bold">Variable Detail</span> |
|
|
<A HREF="#top" CLASS="links">^TOP</A> |
|
|
</TD> |
|
|
</TR> |
|
|
</TABLE> |
|
|
|
|
|
|
|
|
|
|
|
<hr> |
|
|
<!-- ============ FUNCTION DETAIL =========== --> |
|
|
|
|
|
<A NAME='function_detail'></A> |
|
|
<TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='100%' CLASS="border"> |
|
|
<TR BGCOLOR='#CCCCFF' CLASS='TableHeadingColor'> |
|
|
<TD> |
|
|
<span class="font12bold">Method Detail</span> |
|
|
<A HREF="#top" CLASS="links">^TOP</A> |
|
|
</TD> |
|
|
</TR> |
|
|
</TABLE> |
|
|
<BR> |
|
|
|
|
|
<DIV CLASS="function"> |
|
|
<A NAME='constructor WMLDocumentClass'><!-- --></A> |
|
|
<SPAN CLASS="font12bold">constructor WMLDocumentClass</SPAN> |
|
|
<BR> |
|
|
<SPAN CLASS="font10bold">Useage : </SPAN> |
|
|
<span class="font10bold" style="color: #FF0000">void</SPAN> |
|
|
<span class="font10bold" style="color: #0000FF">constructor WMLDocumentClass ( )</SPAN> |
|
|
<BR> |
|
|
|
|
|
<BR> |
|
|
<SPAN CLASS="font10bold">Description : </SPAN> |
|
|
<!-- ========== Info from phpDoc block ========= --> |
|
|
|
|
|
<BR> |
|
|
|
|
|
<DL> |
|
|
<DT class="font10bold">Function Parameters:</DT> |
|
|
|
|
|
|
|
|
<DT class="font10bold">Function Info:</DT> |
|
|
|
|
|
</DL> |
|
|
|
|
|
</DIV> |
|
|
<BR> |
|
|
|
|
|
|
|
|
<hr> |
|
|
</HTML> |
|