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:04 -0800' --> |
6 |
<TITLE>Docs For Class XMLtag</TITLE> |
<TITLE>Docs For Class XMLtag</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 XMLtag">Child Classes</A> |
<A HREF="#children_summary" class="links" title="Classes extended from XMLtag">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 XMLtag |
Class XMLtag |
30 |
</H2> |
</H2> (line <span class="linenumber">44</span>) |
|
|
|
31 |
<pre> |
<pre> |
32 |
<pre><a href="../phpHtmlLib/Container.html">Container</a> |
<a href="../phpHtmlLib/Container.html">Container</a> |
33 |
| |
| |
34 |
--<a href="../phpHtmlLib/XMLTagClass.html">XMLTagClass</a> |
--<a href="../phpHtmlLib/XMLTagClass.html">XMLTagClass</a> |
35 |
| |
| |
36 |
--XMLtag</pre> |
--XMLtag</pre> |
37 |
</pre> |
<SPAN class="type">Classes extended from XMLtag:</SPAN> |
38 |
|
<dl> |
39 |
<A NAME="children_summary"</A> |
<dt><a href="../phpHtmlLib/XMLSTYLESHEETtag.html">XMLSTYLESHEETtag</a></dt> |
40 |
<H3> |
<dd>xml-stylesheet tag class</dd> |
41 |
Classes extended from XMLtag: <A HREF="#top" CLASS="links">^TOP</A> |
</dl> |
42 |
</H3> |
<dl> |
43 |
<a href="../phpHtmlLib/XMLSTYLESHEETtag.html">XMLSTYLESHEETtag</a>, <a href="../phpHtmlLib/CDATAtag.html">CDATAtag</a> |
<dt><a href="../phpHtmlLib/CDATAtag.html">CDATAtag</a></dt> |
44 |
|
<dd>A simple wrapper for standard XML</dd> |
45 |
|
</dl> |
46 |
|
</p> |
47 |
<p> |
<p> |
48 |
<b><i>Located in File: Program_Root/tag_classes/XMLTAGS.inc</i></b><br> |
<b><i>Located in File: Program_Root/tag_classes/XMLTAGS.inc</i></b><br> |
49 |
</p> |
</p> |
50 |
<hr> |
<hr> |
|
<!-- ========== Info from phpDoc block ========= --> |
|
51 |
xml tag class |
xml tag class |
52 |
<BR> |
<br /> |
|
|
|
53 |
|
|
54 |
<UL> |
<UL> |
55 |
|
<LI><b>author</b> - <CODE>Walter A. Boring IV <<a href="mailto:waboring@buildabetterweb.com">mailto:waboring@buildabetterweb.com</a>></CODE></LI> |
56 |
<LI><b>Package</b> - <CODE>phpHtmlLib</CODE></LI> |
</UL> |
|
|
|
|
</UL> |
|
|
|
|
57 |
<hr> |
<hr> |
58 |
<!-- =========== VAR SUMMARY =========== --> |
<!-- =========== VAR SUMMARY =========== --> |
59 |
<A NAME='var_summary'><!-- --></A> |
<A NAME='var_summary'><!-- --></A> |
65 |
</TD> |
</TD> |
66 |
</TR> |
</TR> |
67 |
|
|
68 |
|
<!-- =========== Summary =========== --> |
|
<!-- =========== Summary =========== --> |
|
|
<TR BGCOLOR='white' CLASS='TableRowColor'> |
|
|
<TD> |
|
|
<CODE><B><A HREF='XMLtag.html#$_always_lower_case'>$_always_lower_case</A></B></CODE> |
|
|
<BR> |
|
|
<blockquote> </blockquote> |
|
|
<blockquote> Default Value: <CODE>->TRUE<-</CODE> </blockquote> |
|
|
</TD> |
|
|
</TR> |
|
|
|
|
|
<!-- =========== Summary =========== --> |
|
|
<TR BGCOLOR='white' CLASS='TableRowColor'> |
|
|
<TD> |
|
|
<CODE><B><A HREF='XMLtag.html#$_close_tag_required'>$_close_tag_required</A></B></CODE> |
|
|
<BR> |
|
|
<blockquote> </blockquote> |
|
|
<blockquote> Default Value: <CODE>->FALSE<-</CODE> </blockquote> |
|
|
</TD> |
|
|
</TR> |
|
|
|
|
|
<!-- =========== Summary =========== --> |
|
|
<TR BGCOLOR='white' CLASS='TableRowColor'> |
|
|
<TD> |
|
|
<CODE><B><A HREF='XMLtag.html#$_content_required'>$_content_required</A></B></CODE> |
|
|
<BR> |
|
|
<blockquote> </blockquote> |
|
|
<blockquote> Default Value: <CODE>->FALSE<-</CODE> </blockquote> |
|
|
</TD> |
|
|
</TR> |
|
|
|
|
|
<!-- =========== Summary =========== --> |
|
|
<TR BGCOLOR='white' CLASS='TableRowColor'> |
|
|
<TD> |
|
|
<CODE><B><A HREF='XMLtag.html#$_no_finish_slash_xhtml'>$_no_finish_slash_xhtml</A></B></CODE> |
|
|
<BR> |
|
|
<blockquote> </blockquote> |
|
|
<blockquote> Default Value: <CODE>->TRUE<-</CODE> </blockquote> |
|
|
</TD> |
|
|
</TR> |
|
|
|
|
|
<!-- =========== Summary =========== --> |
|
69 |
<TR BGCOLOR='white' CLASS='TableRowColor'> |
<TR BGCOLOR='white' CLASS='TableRowColor'> |
70 |
<TD> |
<TD> |
71 |
<CODE><B><A HREF='XMLtag.html#$_tag'>$_tag</A></B></CODE> |
<CODE><B><A HREF="../phpHtmlLib/XMLtag.html#var$_tag">$_tag</A></B></CODE> |
72 |
<BR> |
<BR> |
73 |
<blockquote> </blockquote> |
<blockquote> </blockquote> |
74 |
<blockquote> Default Value: <CODE>->xml<-</CODE> </blockquote> |
<blockquote> Default Value: <CODE>-> "xml"<-</CODE> </blockquote> |
75 |
</TD> |
</TD> |
76 |
</TR> |
</TR> |
77 |
|
<!-- =========== Summary =========== --> |
|
<!-- =========== Summary =========== --> |
|
78 |
<TR BGCOLOR='white' CLASS='TableRowColor'> |
<TR BGCOLOR='white' CLASS='TableRowColor'> |
79 |
<TD> |
<TD> |
80 |
<CODE><B><A HREF='XMLtag.html#$_tag_postfix'>$_tag_postfix</A></B></CODE> |
<CODE><B><A HREF="../phpHtmlLib/XMLtag.html#var$_tag_postfix">$_tag_postfix</A></B></CODE> |
81 |
<BR> |
<BR> |
82 |
<blockquote> </blockquote> |
<blockquote> </blockquote> |
83 |
<blockquote> Default Value: <CODE>-> ?><-</CODE> </blockquote> |
<blockquote> Default Value: <CODE>-> " ?>"<-</CODE> </blockquote> |
84 |
</TD> |
</TD> |
85 |
</TR> |
</TR> |
86 |
|
<!-- =========== Summary =========== --> |
|
<!-- =========== Summary =========== --> |
|
87 |
<TR BGCOLOR='white' CLASS='TableRowColor'> |
<TR BGCOLOR='white' CLASS='TableRowColor'> |
88 |
<TD> |
<TD> |
89 |
<CODE><B><A HREF='XMLtag.html#$_tag_prefix'>$_tag_prefix</A></B></CODE> |
<CODE><B><A HREF="../phpHtmlLib/XMLtag.html#var$_tag_prefix">$_tag_prefix</A></B></CODE> |
90 |
<BR> |
<BR> |
91 |
<blockquote> </blockquote> |
<blockquote> </blockquote> |
92 |
<blockquote> Default Value: <CODE>-><?<-</CODE> </blockquote> |
<blockquote> Default Value: <CODE>-> "<?"<-</CODE> </blockquote> |
93 |
</TD> |
</TD> |
94 |
</TR> |
</TR> |
95 |
|
</TABLE> |
|
</TABLE> |
|
|
|
|
96 |
<hr> |
<hr> |
97 |
<!-- =========== VAR INHERITED SUMMARY =========== --> |
<!-- =========== VAR INHERITED SUMMARY =========== --> |
98 |
<A NAME='var_inherited_summary'><!-- --></A> |
<A NAME='var_inherited_summary'><!-- --></A> |
99 |
<TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='100%' CLASS="border"> |
<TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='100%' CLASS="border"> |
100 |
<TR CLASS='TableHeadingColor'> |
<TR BGCOLOR='#CCCCFF' CLASS='TableHeadingColor'> |
101 |
<TD> |
<TD> |
102 |
<span CLASS="font12bold">Inherited Class Variable Summary</span> |
<span CLASS="font12bold">Inherited Class Variable Summary</span> |
103 |
<A HREF="#top" CLASS="links">^TOP</A> |
<A HREF="#top" CLASS="links">^TOP</A> |
104 |
</TD> |
</TD> |
105 |
</TR> |
</TR> |
106 |
|
|
107 |
|
<!-- =========== Summary =========== --> |
|
<!-- =========== Summary =========== --> |
|
|
<TR BGCOLOR='white'> |
|
|
<TD> |
|
|
<span CLASS="font10bold">Inherited From Class <a href="../phpHtmlLib/XMLTagClass.html">XMLTagClass</a></span> |
|
|
<table CELLPADDING='3' CELLSPACING='0' WIDTH='95%' CLASS="border" ALIGN="center"> |
|
|
<tr CLASS="tableheadingcolor"> |
|
|
<th>Variable</th> |
|
|
<th>Default Value</th> |
|
|
<th>Description</th> |
|
|
</tr> |
|
|
|
|
|
<tr> |
|
|
<td CLASS="font10bold"><A HREF='../phpHtmlLib/XMLTagClass.html#$newline_after_closetag'>$newline_after_closetag</A></td> |
|
|
<td CLASS="font10" STYLE="white-space: nowrap">->TRUE<-</td> |
|
|
<td CLASS="font10">Flag to place a newline after close tag.</td> |
|
|
</tr> |
|
|
|
|
|
<tr> |
|
|
<td CLASS="font10bold"><A HREF='../phpHtmlLib/XMLTagClass.html#$newline_after_opentag'>$newline_after_opentag</A></td> |
|
|
<td CLASS="font10" STYLE="white-space: nowrap">->TRUE<-</td> |
|
|
<td CLASS="font10">Flag to place a newline after open tag.</td> |
|
|
</tr> |
|
|
|
|
|
<tr> |
|
|
<td CLASS="font10bold"><A HREF='../phpHtmlLib/XMLTagClass.html#$_cdata_content_wrap'>$_cdata_content_wrap</A></td> |
|
|
<td CLASS="font10" STYLE="white-space: nowrap">->FALSE<-</td> |
|
|
<td CLASS="font10">Automatically wrap ALL content</td> |
|
|
</tr> |
|
|
|
|
|
</table> |
|
|
<BR> |
|
|
</TD> |
|
|
</TR> |
|
|
|
|
|
<!-- =========== Summary =========== --> |
|
108 |
<TR BGCOLOR='white'> |
<TR BGCOLOR='white'> |
109 |
<TD> |
<TD> |
110 |
<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> |
114 |
<th>Default Value</th> |
<th>Default Value</th> |
115 |
<th>Description</th> |
<th>Description</th> |
116 |
</tr> |
</tr> |
117 |
|
<tr> |
118 |
<tr> |
<td CLASS="font10bold"><a href="../phpHtmlLib/Container.html#var$_flags">Container::$_flags</a></td> |
119 |
<td CLASS="font10bold"><A HREF='../phpHtmlLib/Container.html#$indent_flag'>$indent_flag</A></td> |
<td CLASS="font10" STYLE="white-space: nowrap">-> _NEWLINEAFTERCONTENT<-</td> |
120 |
<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> |
|
121 |
</tr> |
</tr> |
122 |
|
</table> |
|
</table> |
|
123 |
<BR> |
<BR> |
124 |
</TD> |
</TD> |
125 |
</TR> |
</TR> |
126 |
|
</TABLE> |
|
</TABLE> |
|
127 |
|
|
128 |
<hr> |
<hr> |
129 |
|
<!-- =========== METHOD SUMMARY =========== --> |
130 |
|
<A NAME='method_summary'><!-- --></A> |
131 |
|
<TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='100%' Class="border"> |
132 |
|
<TR BGCOLOR='#CCCCFF' CLASS='TableHeadingColor'> |
133 |
|
<TD> |
134 |
|
<span class="font12bold">Method Summary</span> |
135 |
|
<A HREF="#top" CLASS="links">^TOP</A> |
136 |
|
</TD> |
137 |
|
</TR> |
138 |
|
|
139 |
|
<!-- =========== Summary =========== --> |
140 |
|
<TR BGCOLOR='white' CLASS='TableRowColor'> |
141 |
|
<TD> |
142 |
|
<CODE><B><A HREF='../phpHtmlLib/XMLtag.html#methodXMLtag'>void constructor XMLtag ( [$attributes = array()] )</A></B></CODE> |
143 |
|
<BR> |
144 |
|
<blockquote> </blockquote> |
145 |
|
</TD> |
146 |
|
</TR> |
147 |
|
<!-- =========== Summary =========== --> |
148 |
|
<TR BGCOLOR='white' CLASS='TableRowColor'> |
149 |
|
<TD> |
150 |
|
<CODE><B><A HREF='../phpHtmlLib/XMLtag.html#method_set_flags'>void _set_flags ( )</A></B></CODE> |
151 |
|
<BR> |
152 |
|
<blockquote> </blockquote> |
153 |
|
</TD> |
154 |
|
</TR> |
155 |
|
</TABLE> |
156 |
<!-- =========== INHERITED METHOD SUMMARY =========== --> |
<!-- =========== INHERITED METHOD SUMMARY =========== --> |
157 |
<A NAME='functions_inherited'><!-- --></A> |
<A NAME='functions_inherited'><!-- --></A> |
158 |
<TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='100%' CLASS="border"> |
<TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='100%' CLASS="border"> |
159 |
<TR CLASS='TableHeadingColor'> |
<TR BGCOLOR='#CCCCFF' CLASS='TableHeadingColor'> |
160 |
<TD> |
<TD> |
161 |
<span CLASS="font12bold">Inherited Method Summary</span> |
<span CLASS="font12bold">Inherited Method Summary</span> |
162 |
<A HREF="#top" CLASS="links">^TOP</A> |
<A HREF="#top" CLASS="links">^TOP</A> |
163 |
</TD> |
</TD> |
164 |
</TR> |
</TR> |
165 |
|
|
166 |
|
<!-- =========== Summary =========== --> |
|
<!-- =========== Summary =========== --> |
|
167 |
<TR BGCOLOR='white' CLASS='TableRowColor'> |
<TR BGCOLOR='white' CLASS='TableRowColor'> |
168 |
<TD> |
<TD> |
169 |
<span CLASS="font10bold">Inherited From Class <a href="../phpHtmlLib/XMLTagClass.html">XMLTagClass</a></span> |
<span CLASS="font10bold">Inherited From Class <a href="../phpHtmlLib/XMLTagClass.html">XMLTagClass</a></span> |
172 |
<th>Function</th> |
<th>Function</th> |
173 |
<th>Description</th> |
<th>Description</th> |
174 |
</tr> |
</tr> |
175 |
|
<tr> |
176 |
<tr> |
<td CLASS="font10bold"><a href="../phpHtmlLib/XMLTagClass.html#methodXMLTagClass">XMLTagClass::XMLTagClass()</a></td> |
|
<td CLASS="font10bold"><A HREF='../phpHtmlLib/XMLTagClass.html#constructor XMLTagClass'>constructor XMLTagClass ( [$name = ], [$attributes = array()] )</A></td> |
|
177 |
<td CLASS="font10">The constructor</td> |
<td CLASS="font10">The constructor</td> |
178 |
|
<tr> |
179 |
<tr> |
<td CLASS="font10bold"><a href="../phpHtmlLib/XMLTagClass.html#methodget_tag">XMLTagClass::get_tag()</a></td> |
|
<td CLASS="font10bold"><A HREF='../phpHtmlLib/XMLTagClass.html#get_tag'>get_tag ( )</A></td> |
|
180 |
<td CLASS="font10">This returns the tag declared for this class.</td> |
<td CLASS="font10">This returns the tag declared for this class.</td> |
181 |
|
<tr> |
182 |
<tr> |
<td CLASS="font10bold"><a href="../phpHtmlLib/XMLTagClass.html#methodget_tag_name">XMLTagClass::get_tag_name()</a></td> |
|
<td CLASS="font10bold"><A HREF='../phpHtmlLib/XMLTagClass.html#get_tag_name'>get_tag_name ( )</A></td> |
|
183 |
<td CLASS="font10">This method gets the name of the tag</td> |
<td CLASS="font10">This method gets the name of the tag</td> |
184 |
|
<tr> |
185 |
<tr> |
<td CLASS="font10bold"><a href="../phpHtmlLib/XMLTagClass.html#methodrender">XMLTagClass::render()</a></td> |
186 |
<td CLASS="font10bold"><A HREF='../phpHtmlLib/XMLTagClass.html#render'>render ( [$indent_level = 0] )</A></td> |
<td CLASS="font10">This function is responsible for rendering the tag and its contents</td> |
187 |
<td CLASS="font10">This function is responsible</td> |
<tr> |
188 |
|
<td CLASS="font10bold"><a href="../phpHtmlLib/XMLTagClass.html#methodreset_attributes">XMLTagClass::reset_attributes()</a></td> |
|
<tr> |
|
|
<td CLASS="font10bold"><A HREF='../phpHtmlLib/XMLTagClass.html#reset_attributes'>reset_attributes ( [$attributes = array()] )</A></td> |
|
189 |
<td CLASS="font10">clear all attributes and start with new attributes</td> |
<td CLASS="font10">clear all attributes and start with new attributes</td> |
190 |
|
<tr> |
191 |
<tr> |
<td CLASS="font10bold"><a href="../phpHtmlLib/XMLTagClass.html#methodset_collapse">XMLTagClass::set_collapse()</a></td> |
|
<td CLASS="font10bold"><A HREF='../phpHtmlLib/XMLTagClass.html#set_collapse'>set_collapse ( [$collapse = TRUE], [$indent = TRUE] )</A></td> |
|
192 |
<td CLASS="font10">This function turns on the collapse flag</td> |
<td CLASS="font10">This function turns on the collapse flag</td> |
193 |
|
<tr> |
194 |
<tr> |
<td CLASS="font10bold"><a href="../phpHtmlLib/XMLTagClass.html#methodset_newline_after_closetag">XMLTagClass::set_newline_after_closetag()</a></td> |
|
<td CLASS="font10bold"><A HREF='../phpHtmlLib/XMLTagClass.html#set_newline_after_closetag'>set_newline_after_closetag ( $flag )</A></td> |
|
195 |
<td CLASS="font10">set the newline_after_content flag</td> |
<td CLASS="font10">set the newline_after_content flag</td> |
196 |
|
<tr> |
197 |
<tr> |
<td CLASS="font10bold"><a href="../phpHtmlLib/XMLTagClass.html#methodset_newline_after_opentag">XMLTagClass::set_newline_after_opentag()</a></td> |
|
<td CLASS="font10bold"><A HREF='../phpHtmlLib/XMLTagClass.html#set_newline_after_opentag'>set_newline_after_opentag ( $flag )</A></td> |
|
198 |
<td CLASS="font10">set the newline_after_opentag flag</td> |
<td CLASS="font10">set the newline_after_opentag flag</td> |
199 |
|
<tr> |
200 |
<tr> |
<td CLASS="font10bold"><a href="../phpHtmlLib/XMLTagClass.html#methodset_tag_attribute">XMLTagClass::set_tag_attribute()</a></td> |
201 |
<td CLASS="font10bold"><A HREF='../phpHtmlLib/XMLTagClass.html#set_tag_attribute'>set_tag_attribute ( $name, [$value = NULL] )</A></td> |
<td CLASS="font10">add a single attribute (name="value")</td> |
202 |
<td CLASS="font10">add a single attribute (name="value")</td> |
<tr> |
203 |
|
<td CLASS="font10bold"><a href="../phpHtmlLib/XMLTagClass.html#methodset_tag_attributes">XMLTagClass::set_tag_attributes()</a></td> |
204 |
<tr> |
<td CLASS="font10">add multiple attributes (name="value")</td> |
205 |
<td CLASS="font10bold"><A HREF='../phpHtmlLib/XMLTagClass.html#set_tag_attributes'>set_tag_attributes ( [$attributes = array()] )</A></td> |
<tr> |
206 |
<td CLASS="font10">add multiple attributes (name="value")</td> |
<td CLASS="font10bold"><a href="../phpHtmlLib/XMLTagClass.html#methodset_tag_name">XMLTagClass::set_tag_name()</a></td> |
|
|
|
|
<tr> |
|
|
<td CLASS="font10bold"><A HREF='../phpHtmlLib/XMLTagClass.html#set_tag_name'>set_tag_name ( $name )</A></td> |
|
207 |
<td CLASS="font10">This method sets the name of the tag</td> |
<td CLASS="font10">This method sets the name of the tag</td> |
208 |
|
<tr> |
209 |
<tr> |
<td CLASS="font10bold"><a href="../phpHtmlLib/XMLTagClass.html#method_build_attribute_string">XMLTagClass::_build_attribute_string()</a></td> |
|
<td CLASS="font10bold"><A HREF='../phpHtmlLib/XMLTagClass.html#_build_attribute_string'>_build_attribute_string ( $name, $value )</A></td> |
|
210 |
<td CLASS="font10">this builds an attribute for an XML tag.</td> |
<td CLASS="font10">this builds an attribute for an XML tag.</td> |
211 |
|
<tr> |
212 |
<tr> |
<td CLASS="font10bold"><a href="../phpHtmlLib/XMLTagClass.html#method_get_element">XMLTagClass::_get_element()</a></td> |
|
<td CLASS="font10bold"><A HREF='../phpHtmlLib/XMLTagClass.html#_get_element'>_get_element ( $cell )</A></td> |
|
213 |
<td CLASS="font10">get the nth element from content array</td> |
<td CLASS="font10">get the nth element from content array</td> |
214 |
|
<tr> |
215 |
<tr> |
<td CLASS="font10bold"><a href="../phpHtmlLib/XMLTagClass.html#method_prepare_flags">XMLTagClass::_prepare_flags()</a></td> |
|
<td CLASS="font10bold"><A HREF='../phpHtmlLib/XMLTagClass.html#_prepare_flags'>_prepare_flags ( )</A></td> |
|
216 |
<td CLASS="font10">This function checks to see if</td> |
<td CLASS="font10">This function checks to see if</td> |
217 |
|
<tr> |
218 |
<tr> |
<td CLASS="font10bold"><a href="../phpHtmlLib/XMLTagClass.html#method_render_close_tag">XMLTagClass::_render_close_tag()</a></td> |
219 |
<td CLASS="font10bold"><A HREF='../phpHtmlLib/XMLTagClass.html#_render_close_tag'>_render_close_tag ( $indent_level )</A></td> |
<td CLASS="font10">this function is reposnsible for rendering the closing tag (if any)</td> |
220 |
<td CLASS="font10">this function is reposnsible for |
<tr> |
221 |
rendering the closing tag (if any)</td> |
<td CLASS="font10bold"><a href="../phpHtmlLib/XMLTagClass.html#method_render_content">XMLTagClass::_render_content()</a></td> |
222 |
|
<td CLASS="font10">this function is reponsible for rendering the pcdata, or content of the tag (if any)</td> |
223 |
<tr> |
<tr> |
224 |
<td CLASS="font10bold"><A HREF='../phpHtmlLib/XMLTagClass.html#_render_content'>_render_content ( $indent_level, [$output_debug = 0] )</A></td> |
<td CLASS="font10bold"><a href="../phpHtmlLib/XMLTagClass.html#method_render_open_tag">XMLTagClass::_render_open_tag()</a></td> |
225 |
<td CLASS="font10">this function is reponsible for</td> |
<td CLASS="font10">this function is responsible for rendering the open tag.</td> |
226 |
|
<tr> |
227 |
<tr> |
<td CLASS="font10bold"><a href="../phpHtmlLib/XMLTagClass.html#method_set_flags">XMLTagClass::_set_flags()</a></td> |
228 |
<td CLASS="font10bold"><A HREF='../phpHtmlLib/XMLTagClass.html#_render_open_tag'>_render_open_tag ( $indent_level, [$finish_slash = TRUE] )</A></td> |
<td CLASS="font10">This method is used to set the bitmask flags for this tag. It tells the class how to render the tag.</td> |
229 |
<td CLASS="font10">this function is responsible for |
</table> |
|
rendering the open tag.</td> |
|
|
|
|
|
</table> |
|
230 |
<br> |
<br> |
231 |
</TD> |
</TD> |
232 |
</TR> |
</TR> |
233 |
|
<!-- =========== Summary =========== --> |
|
<!-- =========== Summary =========== --> |
|
234 |
<TR BGCOLOR='white' CLASS='TableRowColor'> |
<TR BGCOLOR='white' CLASS='TableRowColor'> |
235 |
<TD> |
<TD> |
236 |
<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> |
239 |
<th>Function</th> |
<th>Function</th> |
240 |
<th>Description</th> |
<th>Description</th> |
241 |
</tr> |
</tr> |
242 |
|
<tr> |
243 |
<tr> |
<td CLASS="font10bold"><a href="../phpHtmlLib/Container.html#methodContainer">Container::Container()</a></td> |
|
<td CLASS="font10bold"><A HREF='../phpHtmlLib/Container.html#constructor Container'>constructor Container ( )</A></td> |
|
244 |
<td CLASS="font10">The constructor.</td> |
<td CLASS="font10">The constructor.</td> |
245 |
|
<tr> |
246 |
<tr> |
<td CLASS="font10bold"><a href="../phpHtmlLib/Container.html#methodadd">Container::add()</a></td> |
|
<td CLASS="font10bold"><A HREF='../phpHtmlLib/Container.html#add'>add ( )</A></td> |
|
247 |
<td CLASS="font10">add content onto content stack</td> |
<td CLASS="font10">add content onto content stack</td> |
248 |
|
<tr> |
249 |
<tr> |
<td CLASS="font10bold"><a href="../phpHtmlLib/Container.html#methodadd_reference">Container::add_reference()</a></td> |
250 |
<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> |
251 |
<td CLASS="font10">Add content onto content stack |
<tr> |
252 |
so you can change the item later.</td> |
<td CLASS="font10bold"><a href="../phpHtmlLib/Container.html#methodcount_content">Container::count_content()</a></td> |
|
|
|
|
<tr> |
|
|
<td CLASS="font10bold"><A HREF='../phpHtmlLib/Container.html#count_content'>count_content ( )</A></td> |
|
253 |
<td CLASS="font10">counts the number of content objects</td> |
<td CLASS="font10">counts the number of content objects</td> |
254 |
|
<tr> |
255 |
<tr> |
<td CLASS="font10bold"><a href="../phpHtmlLib/Container.html#methodget_indent_flag">Container::get_indent_flag()</a></td> |
256 |
<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> |
257 |
<td CLASS="font10">This flag gets the current value |
<tr> |
258 |
of the indent flag</td> |
<td CLASS="font10bold"><a href="../phpHtmlLib/Container.html#methodpush">Container::push()</a></td> |
|
|
|
|
<tr> |
|
|
<td CLASS="font10bold"><A HREF='../phpHtmlLib/Container.html#push'>push ( )</A></td> |
|
259 |
<td CLASS="font10">Same as add().</td> |
<td CLASS="font10">Same as add().</td> |
260 |
|
<tr> |
261 |
<tr> |
<td CLASS="font10bold"><a href="../phpHtmlLib/Container.html#methodpush_reference">Container::push_reference()</a></td> |
262 |
<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> |
263 |
<td CLASS="font10">Same as add_reference |
<tr> |
264 |
NOTE : only exists for compatibility with 1.1.x</td> |
<td CLASS="font10bold"><a href="../phpHtmlLib/Container.html#methodrender">Container::render()</a></td> |
265 |
|
<td CLASS="font10">This function is compatible with the rest of the phpHtmllib API spec.</td> |
266 |
<tr> |
<tr> |
267 |
<td CLASS="font10bold"><A HREF='../phpHtmlLib/Container.html#render'>render ( [$indent_level = 1], [$output_debug = 0] )</A></td> |
<td CLASS="font10bold"><a href="../phpHtmlLib/Container.html#methodreset_content">Container::reset_content()</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> |
|
268 |
<td CLASS="font10">destroy existing content and start with new content.</td> |
<td CLASS="font10">destroy existing content and start with new content.</td> |
269 |
|
<tr> |
270 |
<tr> |
<td CLASS="font10bold"><a href="../phpHtmlLib/Container.html#methodset_collapse">Container::set_collapse()</a></td> |
|
<td CLASS="font10bold"><A HREF='../phpHtmlLib/Container.html#set_collapse'>set_collapse ( [$collapse = TRUE], [$indent = TRUE] )</A></td> |
|
271 |
<td CLASS="font10">This function turns on the collapse flag</td> |
<td CLASS="font10">This function turns on the collapse flag</td> |
272 |
|
<tr> |
273 |
<tr> |
<td CLASS="font10bold"><a href="../phpHtmlLib/Container.html#methodset_indent_flag">Container::set_indent_flag()</a></td> |
|
<td CLASS="font10bold"><A HREF='../phpHtmlLib/Container.html#set_indent_flag'>set_indent_flag ( $flag )</A></td> |
|
274 |
<td CLASS="font10">function to set the indent flag</td> |
<td CLASS="font10">function to set the indent flag</td> |
275 |
|
<tr> |
276 |
</table> |
<td CLASS="font10bold"><a href="../phpHtmlLib/Container.html#method_set_flags">Container::_set_flags()</a></td> |
277 |
|
<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> |
278 |
|
</table> |
279 |
<br> |
<br> |
280 |
</TD> |
</TD> |
281 |
</TR> |
</TR> |
282 |
|
</TABLE> |
|
</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='XMLtag.html#constructor XMLtag'>void constructor XMLtag ( [$attributes = array()] )</A></B></CODE> |
|
|
<BR> |
|
|
<blockquote> </blockquote> |
|
|
</TD> |
|
|
</TR> |
|
|
|
|
|
</TABLE> |
|
|
|
|
283 |
<hr> |
<hr> |
284 |
<!-- ============ VARIABLE DETAIL =========== --> |
<!-- ============ VARIABLE DETAIL =========== --> |
285 |
|
|
293 |
</TR> |
</TR> |
294 |
</TABLE> |
</TABLE> |
295 |
|
|
296 |
|
<A NAME='var$_tag'><!-- --></A><H3>$_tag</H3> (line <span class="linenumber">45</span>)<br /> |
|
<A NAME='$_always_lower_case'><!-- --></A><H3>$_always_lower_case</H3> |
|
|
<b>Data type:</b> mixed<br> |
|
|
<!-- ========== Info from phpDoc block ========= --> |
|
|
|
|
|
<BR> |
|
|
|
|
|
|
|
|
<UL> |
|
|
|
|
|
</UL> |
|
|
|
|
|
<HR> |
|
|
|
|
|
<A NAME='$_close_tag_required'><!-- --></A><H3>$_close_tag_required</H3> |
|
297 |
<b>Data type:</b> mixed<br> |
<b>Data type:</b> mixed<br> |
298 |
<!-- ========== Info from phpDoc block ========= --> |
<br /> |
|
|
|
|
<BR> |
|
|
|
|
299 |
|
|
300 |
<UL> |
<UL> |
301 |
|
</UL> |
|
</UL> |
|
|
|
|
302 |
<HR> |
<HR> |
303 |
|
<A NAME='var$_tag_postfix'><!-- --></A><H3>$_tag_postfix</H3> (line <span class="linenumber">47</span>)<br /> |
|
<A NAME='$_content_required'><!-- --></A><H3>$_content_required</H3> |
|
304 |
<b>Data type:</b> mixed<br> |
<b>Data type:</b> mixed<br> |
305 |
<!-- ========== Info from phpDoc block ========= --> |
<br /> |
|
|
|
|
<BR> |
|
|
|
|
306 |
|
|
307 |
<UL> |
<UL> |
308 |
|
</UL> |
|
</UL> |
|
|
|
|
309 |
<HR> |
<HR> |
310 |
|
<A NAME='var$_tag_prefix'><!-- --></A><H3>$_tag_prefix</H3> (line <span class="linenumber">46</span>)<br /> |
|
<A NAME='$_no_finish_slash_xhtml'><!-- --></A><H3>$_no_finish_slash_xhtml</H3> |
|
311 |
<b>Data type:</b> mixed<br> |
<b>Data type:</b> mixed<br> |
312 |
<!-- ========== Info from phpDoc block ========= --> |
<br /> |
|
|
|
|
<BR> |
|
|
|
|
313 |
|
|
314 |
<UL> |
<UL> |
315 |
|
</UL> |
|
</UL> |
|
|
|
|
316 |
<HR> |
<HR> |
|
|
|
|
<A NAME='$_tag'><!-- --></A><H3>$_tag</H3> |
|
|
<b>Data type:</b> mixed<br> |
|
|
<!-- ========== Info from phpDoc block ========= --> |
|
|
|
|
|
<BR> |
|
|
|
|
|
|
|
|
<UL> |
|
|
|
|
|
</UL> |
|
|
|
|
|
<HR> |
|
|
|
|
|
<A NAME='$_tag_postfix'><!-- --></A><H3>$_tag_postfix</H3> |
|
|
<b>Data type:</b> mixed<br> |
|
|
<!-- ========== Info from phpDoc block ========= --> |
|
|
|
|
|
<BR> |
|
|
|
|
|
|
|
|
<UL> |
|
|
|
|
|
</UL> |
|
|
|
|
|
<HR> |
|
|
|
|
|
<A NAME='$_tag_prefix'><!-- --></A><H3>$_tag_prefix</H3> |
|
|
<b>Data type:</b> mixed<br> |
|
|
<!-- ========== Info from phpDoc block ========= --> |
|
|
|
|
|
<BR> |
|
|
|
|
|
|
|
|
<UL> |
|
|
|
|
|
</UL> |
|
|
|
|
|
<HR> |
|
|
|
|
|
|
|
317 |
<hr> |
<hr> |
318 |
<!-- ============ FUNCTION DETAIL =========== --> |
<!-- ============ METHOD DETAIL =========== --> |
319 |
|
|
320 |
<A NAME='function_detail'></A> |
<A NAME='method_detail'></A> |
321 |
<TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='100%' CLASS="border"> |
<TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='100%' CLASS="border"> |
322 |
<TR BGCOLOR='#CCCCFF' CLASS='TableHeadingColor'> |
<TR BGCOLOR='#CCCCFF' CLASS='TableHeadingColor'> |
323 |
<TD> |
<TD> |
327 |
</TR> |
</TR> |
328 |
</TABLE> |
</TABLE> |
329 |
<BR> |
<BR> |
|
|
|
330 |
<DIV CLASS="function"> |
<DIV CLASS="function"> |
331 |
<A NAME='constructor XMLtag'><!-- --></A> |
<A NAME='methodXMLtag'><!-- --></A> |
332 |
<SPAN CLASS="font12bold">constructor XMLtag</SPAN> |
<SPAN CLASS="font12bold">Constructor XMLtag</SPAN> (line <span class="linenumber">49</span>) |
333 |
<BR> |
<BR> |
334 |
<SPAN CLASS="font10bold">Useage : </SPAN> |
<SPAN CLASS="font10bold">Usage : </SPAN> |
335 |
<span class="font10bold" style="color: #FF0000">void</SPAN> |
<span class="font10bold" style="color: #FF0000">void</SPAN> |
336 |
<span class="font10bold" style="color: #0000FF">constructor XMLtag ( [$attributes = array()] )</SPAN> |
<span class="font10bold" style="color: #0000FF">XMLtag( |
337 |
|
[mixed |
338 |
|
$attributes = array()])</SPAN> |
339 |
<BR> |
<BR> |
340 |
|
|
341 |
<BR> |
<BR> |
342 |
<SPAN CLASS="font10bold">Description : </SPAN> |
<SPAN CLASS="font10bold">Description : </SPAN> |
|
<!-- ========== Info from phpDoc block ========= --> |
|
343 |
|
|
344 |
<BR> |
<br /> |
345 |
|
|
346 |
<DL> |
<DL> |
|
<DT class="font10bold">Function Parameters:</DT> |
|
|
|
|
|
|
|
|
<DT class="font10bold">Function Info:</DT> |
|
|
|
|
|
</DL> |
|
347 |
|
|
348 |
|
<DT class="font10bold">Function Info:</DT> |
349 |
|
</DL> |
350 |
</DIV> |
</DIV> |
351 |
<BR> |
<BR> |
352 |
|
<DIV CLASS="function"> |
353 |
|
<A NAME='method_set_flags'><!-- --></A> |
354 |
|
<SPAN CLASS="font12bold">_set_flags</SPAN> (line <span class="linenumber">59</span>) |
355 |
|
<BR> |
356 |
|
<SPAN CLASS="font10bold">Usage : </SPAN> |
357 |
|
<span class="font10bold" style="color: #FF0000">void</SPAN> |
358 |
|
<span class="font10bold" style="color: #0000FF">_set_flags( |
359 |
|
)</SPAN> |
360 |
|
<BR> |
361 |
|
<p>Overridden in child classes as:<br /> |
362 |
|
<dl> |
363 |
|
<dt><a href="../phpHtmlLib/CDATAtag.html#method_set_flags">CDATAtag::_set_flags()</a></dt> |
364 |
|
<dd></dd> |
365 |
|
</dl> |
366 |
|
</p> |
367 |
|
|
368 |
|
<span class="font10bold" style="padding-left: 10px;">Overrides :</span> <a href="../phpHtmlLib/XMLTagClass.html#method_set_flags">XMLTagClass::_set_flags()</a> This method is used to set the bitmask flags for this tag. It tells the class how to render the tag. |
369 |
|
<BR> |
370 |
|
<SPAN CLASS="font10bold">Description : </SPAN> |
371 |
|
|
372 |
<hr> |
<br /> |
373 |
</HTML> |
|
374 |
|
<DL> |
375 |
|
|
376 |
|
<DT class="font10bold">Function Info:</DT> |
377 |
|
</DL> |
378 |
|
</DIV> |
379 |
|
<BR> |
380 |
|
<div id="credit"> |
381 |
|
<hr> |
382 |
|
Documention generated on Thu, 20 Feb 2003 16:24:04 -0800 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.2.0rc1</a> |
383 |
|
</div> |
384 |
|
</body> |
385 |
|
</html> |