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

Contents of /nfo/php/libs/com.newsblob.phphtmllib/doc/phpHtmlLib/XMLtag.html

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations)
Sat Feb 22 20:56:38 2003 UTC (21 years, 7 months ago) by jonen
Branch: MAIN
Changes since 1.1: +196 -369 lines
File MIME type: text/html
+ updated whole lib to version 2.2.1 (new FormProcessing since 2.2.0!)

1 <!DOCTYPE HTML PUBLIC '-//W3C//DTD HTML 4.0 Transitional//EN' 'http://www.w3.org/TR/REC-html40/loose.dtd'>
2 <!--NewPage-->
3 <HTML>
4 <HEAD>
5 <!-- Generated by PhpDoc date: 'Thu, 20 Feb 2003 16:24:04 -0800' -->
6 <TITLE>Docs For Class XMLtag</TITLE>
7 <LINK REL ='stylesheet' TYPE='text/css' HREF='../media/stylesheet.css' TITLE='Style'>
8 </HEAD>
9 <BODY style="background-color: #eeeeee; font-family: arial; font-size: .9em;">
10 <!-- Links -->
11 <a NAME="top"></A>
12 <table WIDTH="100%" class="links">
13 <TR>
14 <TD class="font10">
15 Links:
16 <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>
18 <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">Inherited Methods</A>
20 <A HREF="#method_summary" class="links" title="Method Summary">Methods</A>
21 <A HREF="#variable_detail" class="links" title="Variable Detail">Variable Detail</A>
22 <A HREF="#method_detail" class="links" title="Method Detail">Method Detail</A>
23 </TD>
24 </TR>
25 </TABLE>
26 <BR>
27 <!-- Start of Class Data -->
28 <H2>
29 Class XMLtag
30 </H2> (line <span class="linenumber">44</span>)
31 <pre>
32 <a href="../phpHtmlLib/Container.html">Container</a>
33 |
34 --<a href="../phpHtmlLib/XMLTagClass.html">XMLTagClass</a>
35 |
36 --XMLtag</pre>
37 <SPAN class="type">Classes extended from XMLtag:</SPAN>
38 <dl>
39 <dt><a href="../phpHtmlLib/XMLSTYLESHEETtag.html">XMLSTYLESHEETtag</a></dt>
40 <dd>xml-stylesheet tag class</dd>
41 </dl>
42 <dl>
43 <dt><a href="../phpHtmlLib/CDATAtag.html">CDATAtag</a></dt>
44 <dd>A simple wrapper for standard XML</dd>
45 </dl>
46 </p>
47 <p>
48 <b><i>Located in File: Program_Root/tag_classes/XMLTAGS.inc</i></b><br>
49 </p>
50 <hr>
51 xml tag class
52 <br />
53
54 <UL>
55 <LI><b>author</b> - <CODE>Walter A. Boring IV &lt;<a href="mailto:waboring@buildabetterweb.com">mailto:waboring@buildabetterweb.com</a>&gt;</CODE></LI>
56 </UL>
57 <hr>
58 <!-- =========== VAR SUMMARY =========== -->
59 <A NAME='var_summary'><!-- --></A>
60 <TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='100%' CLASS="border">
61 <TR BGCOLOR='#CCCCFF' CLASS='TableHeadingColor'>
62 <TD>
63 <span CLASS="font12bold">Class Variable Summary</span>
64 <A HREF="#top" CLASS="links">^TOP</A>
65 </TD>
66 </TR>
67
68 <!-- =========== Summary =========== -->
69 <TR BGCOLOR='white' CLASS='TableRowColor'>
70 <TD>
71 <CODE><B><A HREF="../phpHtmlLib/XMLtag.html#var$_tag">$_tag</A></B></CODE>
72 <BR>
73 <blockquote> </blockquote>
74 <blockquote> Default Value: <CODE>->&nbsp;"xml"<-</CODE> </blockquote>
75 </TD>
76 </TR>
77 <!-- =========== Summary =========== -->
78 <TR BGCOLOR='white' CLASS='TableRowColor'>
79 <TD>
80 <CODE><B><A HREF="../phpHtmlLib/XMLtag.html#var$_tag_postfix">$_tag_postfix</A></B></CODE>
81 <BR>
82 <blockquote> </blockquote>
83 <blockquote> Default Value: <CODE>->&nbsp;"&nbsp;?&gt;"<-</CODE> </blockquote>
84 </TD>
85 </TR>
86 <!-- =========== Summary =========== -->
87 <TR BGCOLOR='white' CLASS='TableRowColor'>
88 <TD>
89 <CODE><B><A HREF="../phpHtmlLib/XMLtag.html#var$_tag_prefix">$_tag_prefix</A></B></CODE>
90 <BR>
91 <blockquote> </blockquote>
92 <blockquote> Default Value: <CODE>->&nbsp;"&lt;?"<-</CODE> </blockquote>
93 </TD>
94 </TR>
95 </TABLE>
96 <hr>
97 <!-- =========== VAR INHERITED SUMMARY =========== -->
98 <A NAME='var_inherited_summary'><!-- --></A>
99 <TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='100%' CLASS="border">
100 <TR BGCOLOR='#CCCCFF' CLASS='TableHeadingColor'>
101 <TD>
102 <span CLASS="font12bold">Inherited Class Variable Summary</span>
103 <A HREF="#top" CLASS="links">^TOP</A>
104 </TD>
105 </TR>
106
107 <!-- =========== Summary =========== -->
108 <TR BGCOLOR='white'>
109 <TD>
110 <span CLASS="font10bold">Inherited From Class <a href="../phpHtmlLib/Container.html">Container</a></span>
111 <table CELLPADDING='3' CELLSPACING='0' WIDTH='95%' CLASS="border" ALIGN="center">
112 <tr CLASS="tableheadingcolor">
113 <th>Variable</th>
114 <th>Default Value</th>
115 <th>Description</th>
116 </tr>
117 <tr>
118 <td CLASS="font10bold"><a href="../phpHtmlLib/Container.html#var$_flags">Container::$_flags</a></td>
119 <td CLASS="font10" STYLE="white-space: nowrap">-> _NEWLINEAFTERCONTENT<-</td>
120 <td CLASS="font10">The flags that tell us</td>
121 </tr>
122 </table>
123 <BR>
124 </TD>
125 </TR>
126 </TABLE>
127
128 <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 =========== -->
157 <A NAME='functions_inherited'><!-- --></A>
158 <TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='100%' CLASS="border">
159 <TR BGCOLOR='#CCCCFF' CLASS='TableHeadingColor'>
160 <TD>
161 <span CLASS="font12bold">Inherited Method Summary</span>
162 <A HREF="#top" CLASS="links">^TOP</A>
163 </TD>
164 </TR>
165
166 <!-- =========== Summary =========== -->
167 <TR BGCOLOR='white' CLASS='TableRowColor'>
168 <TD>
169 <span CLASS="font10bold">Inherited From Class <a href="../phpHtmlLib/XMLTagClass.html">XMLTagClass</a></span>
170 <TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='95%' CLASS="border" ALIGN="center">
171 <tr CLASS="tableheadingcolor">
172 <th>Function</th>
173 <th>Description</th>
174 </tr>
175 <tr>
176 <td CLASS="font10bold"><a href="../phpHtmlLib/XMLTagClass.html#methodXMLTagClass">XMLTagClass::XMLTagClass()</a></td>
177 <td CLASS="font10">The constructor</td>
178 <tr>
179 <td CLASS="font10bold"><a href="../phpHtmlLib/XMLTagClass.html#methodget_tag">XMLTagClass::get_tag()</a></td>
180 <td CLASS="font10">This returns the tag declared for this class.</td>
181 <tr>
182 <td CLASS="font10bold"><a href="../phpHtmlLib/XMLTagClass.html#methodget_tag_name">XMLTagClass::get_tag_name()</a></td>
183 <td CLASS="font10">This method gets the name of the tag</td>
184 <tr>
185 <td CLASS="font10bold"><a href="../phpHtmlLib/XMLTagClass.html#methodrender">XMLTagClass::render()</a></td>
186 <td CLASS="font10">This function is responsible for rendering the tag and its contents</td>
187 <tr>
188 <td CLASS="font10bold"><a href="../phpHtmlLib/XMLTagClass.html#methodreset_attributes">XMLTagClass::reset_attributes()</a></td>
189 <td CLASS="font10">clear all attributes and start with new attributes</td>
190 <tr>
191 <td CLASS="font10bold"><a href="../phpHtmlLib/XMLTagClass.html#methodset_collapse">XMLTagClass::set_collapse()</a></td>
192 <td CLASS="font10">This function turns on the collapse flag</td>
193 <tr>
194 <td CLASS="font10bold"><a href="../phpHtmlLib/XMLTagClass.html#methodset_newline_after_closetag">XMLTagClass::set_newline_after_closetag()</a></td>
195 <td CLASS="font10">set the newline_after_content flag</td>
196 <tr>
197 <td CLASS="font10bold"><a href="../phpHtmlLib/XMLTagClass.html#methodset_newline_after_opentag">XMLTagClass::set_newline_after_opentag()</a></td>
198 <td CLASS="font10">set the newline_after_opentag flag</td>
199 <tr>
200 <td CLASS="font10bold"><a href="../phpHtmlLib/XMLTagClass.html#methodset_tag_attribute">XMLTagClass::set_tag_attribute()</a></td>
201 <td CLASS="font10">add a single attribute (name="value")</td>
202 <tr>
203 <td CLASS="font10bold"><a href="../phpHtmlLib/XMLTagClass.html#methodset_tag_attributes">XMLTagClass::set_tag_attributes()</a></td>
204 <td CLASS="font10">add multiple attributes (name="value")</td>
205 <tr>
206 <td CLASS="font10bold"><a href="../phpHtmlLib/XMLTagClass.html#methodset_tag_name">XMLTagClass::set_tag_name()</a></td>
207 <td CLASS="font10">This method sets the name of the tag</td>
208 <tr>
209 <td CLASS="font10bold"><a href="../phpHtmlLib/XMLTagClass.html#method_build_attribute_string">XMLTagClass::_build_attribute_string()</a></td>
210 <td CLASS="font10">this builds an attribute for an XML tag.</td>
211 <tr>
212 <td CLASS="font10bold"><a href="../phpHtmlLib/XMLTagClass.html#method_get_element">XMLTagClass::_get_element()</a></td>
213 <td CLASS="font10">get the nth element from content array</td>
214 <tr>
215 <td CLASS="font10bold"><a href="../phpHtmlLib/XMLTagClass.html#method_prepare_flags">XMLTagClass::_prepare_flags()</a></td>
216 <td CLASS="font10">This function checks to see if</td>
217 <tr>
218 <td CLASS="font10bold"><a href="../phpHtmlLib/XMLTagClass.html#method_render_close_tag">XMLTagClass::_render_close_tag()</a></td>
219 <td CLASS="font10">this function is reposnsible for rendering the closing tag (if any)</td>
220 <tr>
221 <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>
224 <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 responsible for rendering the open tag.</td>
226 <tr>
227 <td CLASS="font10bold"><a href="../phpHtmlLib/XMLTagClass.html#method_set_flags">XMLTagClass::_set_flags()</a></td>
228 <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 </table>
230 <br>
231 </TD>
232 </TR>
233 <!-- =========== Summary =========== -->
234 <TR BGCOLOR='white' CLASS='TableRowColor'>
235 <TD>
236 <span CLASS="font10bold">Inherited From Class <a href="../phpHtmlLib/Container.html">Container</a></span>
237 <TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='95%' CLASS="border" ALIGN="center">
238 <tr CLASS="tableheadingcolor">
239 <th>Function</th>
240 <th>Description</th>
241 </tr>
242 <tr>
243 <td CLASS="font10bold"><a href="../phpHtmlLib/Container.html#methodContainer">Container::Container()</a></td>
244 <td CLASS="font10">The constructor.</td>
245 <tr>
246 <td CLASS="font10bold"><a href="../phpHtmlLib/Container.html#methodadd">Container::add()</a></td>
247 <td CLASS="font10">add content onto content stack</td>
248 <tr>
249 <td CLASS="font10bold"><a href="../phpHtmlLib/Container.html#methodadd_reference">Container::add_reference()</a></td>
250 <td CLASS="font10">Add content onto content stack so you can change the item later.</td>
251 <tr>
252 <td CLASS="font10bold"><a href="../phpHtmlLib/Container.html#methodcount_content">Container::count_content()</a></td>
253 <td CLASS="font10">counts the number of content objects</td>
254 <tr>
255 <td CLASS="font10bold"><a href="../phpHtmlLib/Container.html#methodget_indent_flag">Container::get_indent_flag()</a></td>
256 <td CLASS="font10">This flag gets the current value of the indent flag</td>
257 <tr>
258 <td CLASS="font10bold"><a href="../phpHtmlLib/Container.html#methodpush">Container::push()</a></td>
259 <td CLASS="font10">Same as add().</td>
260 <tr>
261 <td CLASS="font10bold"><a href="../phpHtmlLib/Container.html#methodpush_reference">Container::push_reference()</a></td>
262 <td CLASS="font10">Same as add_reference NOTE : only exists for compatibility with 1.1.x</td>
263 <tr>
264 <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>
267 <td CLASS="font10bold"><a href="../phpHtmlLib/Container.html#methodreset_content">Container::reset_content()</a></td>
268 <td CLASS="font10">destroy existing content and start with new content.</td>
269 <tr>
270 <td CLASS="font10bold"><a href="../phpHtmlLib/Container.html#methodset_collapse">Container::set_collapse()</a></td>
271 <td CLASS="font10">This function turns on the collapse flag</td>
272 <tr>
273 <td CLASS="font10bold"><a href="../phpHtmlLib/Container.html#methodset_indent_flag">Container::set_indent_flag()</a></td>
274 <td CLASS="font10">function to set the indent flag</td>
275 <tr>
276 <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>
280 </TD>
281 </TR>
282 </TABLE>
283 <hr>
284 <!-- ============ VARIABLE DETAIL =========== -->
285
286 <A NAME='variable_detail'></A>
287 <TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='100%' CLASS="border">
288 <TR BGCOLOR='#CCCCFF' CLASS='TableHeadingColor'>
289 <TD>
290 <span CLASS="font12bold">Variable Detail</span>
291 <A HREF="#top" CLASS="links">^TOP</A>
292 </TD>
293 </TR>
294 </TABLE>
295
296 <A NAME='var$_tag'><!-- --></A><H3>$_tag</H3> (line <span class="linenumber">45</span>)<br />
297 <b>Data type:</b> mixed<br>
298 <br />
299
300 <UL>
301 </UL>
302 <HR>
303 <A NAME='var$_tag_postfix'><!-- --></A><H3>$_tag_postfix</H3> (line <span class="linenumber">47</span>)<br />
304 <b>Data type:</b> mixed<br>
305 <br />
306
307 <UL>
308 </UL>
309 <HR>
310 <A NAME='var$_tag_prefix'><!-- --></A><H3>$_tag_prefix</H3> (line <span class="linenumber">46</span>)<br />
311 <b>Data type:</b> mixed<br>
312 <br />
313
314 <UL>
315 </UL>
316 <HR>
317 <hr>
318 <!-- ============ METHOD DETAIL =========== -->
319
320 <A NAME='method_detail'></A>
321 <TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='100%' CLASS="border">
322 <TR BGCOLOR='#CCCCFF' CLASS='TableHeadingColor'>
323 <TD>
324 <span class="font12bold">Method Detail</span>
325 <A HREF="#top" CLASS="links">^TOP</A>
326 </TD>
327 </TR>
328 </TABLE>
329 <BR>
330 <DIV CLASS="function">
331 <A NAME='methodXMLtag'><!-- --></A>
332 <SPAN CLASS="font12bold">Constructor XMLtag</SPAN> (line <span class="linenumber">49</span>)
333 <BR>
334 <SPAN CLASS="font10bold">Usage : </SPAN>
335 <span class="font10bold" style="color: #FF0000">void</SPAN>&nbsp;
336 <span class="font10bold" style="color: #0000FF">XMLtag(
337 [mixed
338 $attributes = array()])</SPAN>
339 <BR>
340
341 <BR>
342 <SPAN CLASS="font10bold">Description : </SPAN>
343
344 <br />
345
346 <DL>
347
348 <DT class="font10bold">Function Info:</DT>
349 </DL>
350 </DIV>
351 <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>&nbsp;
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 <br />
373
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>

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