/[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.1 - (show annotations)
Thu Jan 30 03:29:33 2003 UTC (21 years, 7 months ago) by jonen
Branch: MAIN
Branch point for: no_vendor_tag
File MIME type: text/html
Initial revision

1 <!DOCTYPE HTML PUBLIC '-//W3C//DTD HTML 4.0 Frameset//EN''http://www.w3.org/TR/REC-html40/frameset.dtd'>
2 <!--NewPage-->
3 <HTML>
4 <HEAD>
5 <!-- Generated by PhpDoc date: 'Mon, 25 Nov 2002 09:21:41 -0800' -->
6 <TITLE>Docs For Class XMLtag</TITLE>
7 <LINK REL ='stylesheet' TYPE='text/css' HREF='stylesheet.css' TITLE='Style'>
8 </HEAD>
9 <BODY style="background-color: #eeeeee; font-family: arial; font-size: .9em;">
10
11
12 <!-- Links -->
13 <a NAME="top"></A>
14 <table WIDTH="100%" class="links">
15 <TR>
16 <TD class="font10">
17 Links:
18 <A HREF="#children_summary" class="links" title="Classes extended from XMLtag">Child Classes</A>
19 <A HREF="#var_summary" class="links" title="Class Variable Summary">Variables</A>
20 <A HREF="#var_inherited_summary" class="links" title="Inherited Class Variable Summary">Inherited Variables</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>
23 <A HREF="#variable_detail" class="links" title="Variable Detail">Variable Detail</A>
24 <A HREF="#function_detail" class="links" title="Method Detail">Method Detail</A>
25 </TD>
26 </TR>
27 </TABLE>
28 <BR>
29
30 <!-- Start of Class Data -->
31 <H2>
32 Class XMLtag
33 </H2>
34
35 <pre>
36 <pre><a href="../phpHtmlLib/Container.html">Container</a>
37 |
38 --<a href="../phpHtmlLib/XMLTagClass.html">XMLTagClass</a>
39 |
40 --XMLtag</pre>
41 </pre>
42
43 <A NAME="children_summary"</A>
44 <H3>
45 Classes extended from XMLtag: <A HREF="#top" CLASS="links">^TOP</A>
46 </H3>
47 <a href="../phpHtmlLib/XMLSTYLESHEETtag.html">XMLSTYLESHEETtag</a>, <a href="../phpHtmlLib/CDATAtag.html">CDATAtag</a>
48 <p>
49 <b><i>Located in File: Program_Root/tag_classes/XMLTAGS.inc</i></b><br>
50 </p>
51 <hr>
52 <!-- ========== Info from phpDoc block ========= -->
53 xml tag class
54 <BR>
55
56
57 <UL>
58
59 <LI><b>Package</b> - <CODE>phpHtmlLib</CODE></LI>
60
61 </UL>
62
63 <hr>
64 <!-- =========== VAR SUMMARY =========== -->
65 <A NAME='var_summary'><!-- --></A>
66 <TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='100%' CLASS="border">
67 <TR BGCOLOR='#CCCCFF' CLASS='TableHeadingColor'>
68 <TD>
69 <span CLASS="font12bold">Class Variable Summary</span>
70 <A HREF="#top" CLASS="links">^TOP</A>
71 </TD>
72 </TR>
73
74
75 <!-- =========== Summary =========== -->
76 <TR BGCOLOR='white' CLASS='TableRowColor'>
77 <TD>
78 <CODE><B><A HREF='XMLtag.html#$_always_lower_case'>$_always_lower_case</A></B></CODE>
79 <BR>
80 <blockquote> </blockquote>
81 <blockquote> Default Value: <CODE>->TRUE<-</CODE> </blockquote>
82 </TD>
83 </TR>
84
85 <!-- =========== Summary =========== -->
86 <TR BGCOLOR='white' CLASS='TableRowColor'>
87 <TD>
88 <CODE><B><A HREF='XMLtag.html#$_close_tag_required'>$_close_tag_required</A></B></CODE>
89 <BR>
90 <blockquote> </blockquote>
91 <blockquote> Default Value: <CODE>->FALSE<-</CODE> </blockquote>
92 </TD>
93 </TR>
94
95 <!-- =========== Summary =========== -->
96 <TR BGCOLOR='white' CLASS='TableRowColor'>
97 <TD>
98 <CODE><B><A HREF='XMLtag.html#$_content_required'>$_content_required</A></B></CODE>
99 <BR>
100 <blockquote> </blockquote>
101 <blockquote> Default Value: <CODE>->FALSE<-</CODE> </blockquote>
102 </TD>
103 </TR>
104
105 <!-- =========== Summary =========== -->
106 <TR BGCOLOR='white' CLASS='TableRowColor'>
107 <TD>
108 <CODE><B><A HREF='XMLtag.html#$_no_finish_slash_xhtml'>$_no_finish_slash_xhtml</A></B></CODE>
109 <BR>
110 <blockquote> </blockquote>
111 <blockquote> Default Value: <CODE>->TRUE<-</CODE> </blockquote>
112 </TD>
113 </TR>
114
115 <!-- =========== Summary =========== -->
116 <TR BGCOLOR='white' CLASS='TableRowColor'>
117 <TD>
118 <CODE><B><A HREF='XMLtag.html#$_tag'>$_tag</A></B></CODE>
119 <BR>
120 <blockquote> </blockquote>
121 <blockquote> Default Value: <CODE>->xml<-</CODE> </blockquote>
122 </TD>
123 </TR>
124
125 <!-- =========== Summary =========== -->
126 <TR BGCOLOR='white' CLASS='TableRowColor'>
127 <TD>
128 <CODE><B><A HREF='XMLtag.html#$_tag_postfix'>$_tag_postfix</A></B></CODE>
129 <BR>
130 <blockquote> </blockquote>
131 <blockquote> Default Value: <CODE>-> ?&gt;<-</CODE> </blockquote>
132 </TD>
133 </TR>
134
135 <!-- =========== Summary =========== -->
136 <TR BGCOLOR='white' CLASS='TableRowColor'>
137 <TD>
138 <CODE><B><A HREF='XMLtag.html#$_tag_prefix'>$_tag_prefix</A></B></CODE>
139 <BR>
140 <blockquote> </blockquote>
141 <blockquote> Default Value: <CODE>->&lt;?<-</CODE> </blockquote>
142 </TD>
143 </TR>
144
145 </TABLE>
146
147 <hr>
148 <!-- =========== VAR INHERITED SUMMARY =========== -->
149 <A NAME='var_inherited_summary'><!-- --></A>
150 <TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='100%' CLASS="border">
151 <TR CLASS='TableHeadingColor'>
152 <TD>
153 <span CLASS="font12bold">Inherited Class Variable Summary</span>
154 <A HREF="#top" CLASS="links">^TOP</A>
155 </TD>
156 </TR>
157
158
159 <!-- =========== Summary =========== -->
160 <TR BGCOLOR='white'>
161 <TD>
162 <span CLASS="font10bold">Inherited From Class <a href="../phpHtmlLib/XMLTagClass.html">XMLTagClass</a></span>
163 <table CELLPADDING='3' CELLSPACING='0' WIDTH='95%' CLASS="border" ALIGN="center">
164 <tr CLASS="tableheadingcolor">
165 <th>Variable</th>
166 <th>Default Value</th>
167 <th>Description</th>
168 </tr>
169
170 <tr>
171 <td CLASS="font10bold"><A HREF='../phpHtmlLib/XMLTagClass.html#$newline_after_closetag'>$newline_after_closetag</A></td>
172 <td CLASS="font10" STYLE="white-space: nowrap">->TRUE<-</td>
173 <td CLASS="font10">Flag to place a newline after close tag.</td>
174 </tr>
175
176 <tr>
177 <td CLASS="font10bold"><A HREF='../phpHtmlLib/XMLTagClass.html#$newline_after_opentag'>$newline_after_opentag</A></td>
178 <td CLASS="font10" STYLE="white-space: nowrap">->TRUE<-</td>
179 <td CLASS="font10">Flag to place a newline after open tag.</td>
180 </tr>
181
182 <tr>
183 <td CLASS="font10bold"><A HREF='../phpHtmlLib/XMLTagClass.html#$_cdata_content_wrap'>$_cdata_content_wrap</A></td>
184 <td CLASS="font10" STYLE="white-space: nowrap">->FALSE<-</td>
185 <td CLASS="font10">Automatically wrap ALL content</td>
186 </tr>
187
188 </table>
189 <BR>
190 </TD>
191 </TR>
192
193 <!-- =========== Summary =========== -->
194 <TR BGCOLOR='white'>
195 <TD>
196 <span CLASS="font10bold">Inherited From Class <a href="../phpHtmlLib/Container.html">Container</a></span>
197 <table CELLPADDING='3' CELLSPACING='0' WIDTH='95%' CLASS="border" ALIGN="center">
198 <tr CLASS="tableheadingcolor">
199 <th>Variable</th>
200 <th>Default Value</th>
201 <th>Description</th>
202 </tr>
203
204 <tr>
205 <td CLASS="font10bold"><A HREF='../phpHtmlLib/Container.html#$indent_flag'>$indent_flag</A></td>
206 <td CLASS="font10" STYLE="white-space: nowrap">->TRUE<-</td>
207 <td CLASS="font10">Flag for pretty (indented) output</td>
208 </tr>
209
210 <tr>
211 <td CLASS="font10bold"><A HREF='../phpHtmlLib/Container.html#$_newline_after_content_flag'>$_newline_after_content_flag</A></td>
212 <td CLASS="font10" STYLE="white-space: nowrap">->TRUE<-</td>
213 <td CLASS="font10">Do we render a newline after the
214 contents has been rendered?</td>
215 </tr>
216
217 </table>
218 <BR>
219 </TD>
220 </TR>
221
222 </TABLE>
223
224 <hr>
225 <!-- =========== INHERITED METHOD SUMMARY =========== -->
226 <A NAME='functions_inherited'><!-- --></A>
227 <TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='100%' CLASS="border">
228 <TR CLASS='TableHeadingColor'>
229 <TD>
230 <span CLASS="font12bold">Inherited Method Summary</span>
231 <A HREF="#top" CLASS="links">^TOP</A>
232 </TD>
233 </TR>
234
235
236 <!-- =========== Summary =========== -->
237 <TR BGCOLOR='white' CLASS='TableRowColor'>
238 <TD>
239 <span CLASS="font10bold">Inherited From Class <a href="../phpHtmlLib/XMLTagClass.html">XMLTagClass</a></span>
240 <TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='95%' CLASS="border" ALIGN="center">
241 <tr CLASS="tableheadingcolor">
242 <th>Function</th>
243 <th>Description</th>
244 </tr>
245
246 <tr>
247 <td CLASS="font10bold"><A HREF='../phpHtmlLib/XMLTagClass.html#constructor XMLTagClass'>constructor XMLTagClass ( [$name = ], [$attributes = array()] )</A></td>
248 <td CLASS="font10">The constructor</td>
249
250 <tr>
251 <td CLASS="font10bold"><A HREF='../phpHtmlLib/XMLTagClass.html#get_tag'>get_tag ( )</A></td>
252 <td CLASS="font10">This returns the tag declared for this class.</td>
253
254 <tr>
255 <td CLASS="font10bold"><A HREF='../phpHtmlLib/XMLTagClass.html#get_tag_name'>get_tag_name ( )</A></td>
256 <td CLASS="font10">This method gets the name of the tag</td>
257
258 <tr>
259 <td CLASS="font10bold"><A HREF='../phpHtmlLib/XMLTagClass.html#render'>render ( [$indent_level = 0] )</A></td>
260 <td CLASS="font10">This function is responsible</td>
261
262 <tr>
263 <td CLASS="font10bold"><A HREF='../phpHtmlLib/XMLTagClass.html#reset_attributes'>reset_attributes ( [$attributes = array()] )</A></td>
264 <td CLASS="font10">clear all attributes and start with new attributes</td>
265
266 <tr>
267 <td CLASS="font10bold"><A HREF='../phpHtmlLib/XMLTagClass.html#set_collapse'>set_collapse ( [$collapse = TRUE], [$indent = TRUE] )</A></td>
268 <td CLASS="font10">This function turns on the collapse flag</td>
269
270 <tr>
271 <td CLASS="font10bold"><A HREF='../phpHtmlLib/XMLTagClass.html#set_newline_after_closetag'>set_newline_after_closetag ( $flag )</A></td>
272 <td CLASS="font10">set the newline_after_content flag</td>
273
274 <tr>
275 <td CLASS="font10bold"><A HREF='../phpHtmlLib/XMLTagClass.html#set_newline_after_opentag'>set_newline_after_opentag ( $flag )</A></td>
276 <td CLASS="font10">set the newline_after_opentag flag</td>
277
278 <tr>
279 <td CLASS="font10bold"><A HREF='../phpHtmlLib/XMLTagClass.html#set_tag_attribute'>set_tag_attribute ( $name, [$value = NULL] )</A></td>
280 <td CLASS="font10">add a single attribute (name=&quot;value&quot;)</td>
281
282 <tr>
283 <td CLASS="font10bold"><A HREF='../phpHtmlLib/XMLTagClass.html#set_tag_attributes'>set_tag_attributes ( [$attributes = array()] )</A></td>
284 <td CLASS="font10">add multiple attributes (name=&quot;value&quot;)</td>
285
286 <tr>
287 <td CLASS="font10bold"><A HREF='../phpHtmlLib/XMLTagClass.html#set_tag_name'>set_tag_name ( $name )</A></td>
288 <td CLASS="font10">This method sets the name of the tag</td>
289
290 <tr>
291 <td CLASS="font10bold"><A HREF='../phpHtmlLib/XMLTagClass.html#_build_attribute_string'>_build_attribute_string ( $name, $value )</A></td>
292 <td CLASS="font10">this builds an attribute for an XML tag.</td>
293
294 <tr>
295 <td CLASS="font10bold"><A HREF='../phpHtmlLib/XMLTagClass.html#_get_element'>_get_element ( $cell )</A></td>
296 <td CLASS="font10">get the nth element from content array</td>
297
298 <tr>
299 <td CLASS="font10bold"><A HREF='../phpHtmlLib/XMLTagClass.html#_prepare_flags'>_prepare_flags ( )</A></td>
300 <td CLASS="font10">This function checks to see if</td>
301
302 <tr>
303 <td CLASS="font10bold"><A HREF='../phpHtmlLib/XMLTagClass.html#_render_close_tag'>_render_close_tag ( $indent_level )</A></td>
304 <td CLASS="font10">this function is reposnsible for
305 rendering the closing tag (if any)</td>
306
307 <tr>
308 <td CLASS="font10bold"><A HREF='../phpHtmlLib/XMLTagClass.html#_render_content'>_render_content ( $indent_level, [$output_debug = 0] )</A></td>
309 <td CLASS="font10">this function is reponsible for</td>
310
311 <tr>
312 <td CLASS="font10bold"><A HREF='../phpHtmlLib/XMLTagClass.html#_render_open_tag'>_render_open_tag ( $indent_level, [$finish_slash = TRUE] )</A></td>
313 <td CLASS="font10">this function is responsible for
314 rendering the open tag.</td>
315
316 </table>
317 <br>
318 </TD>
319 </TR>
320
321 <!-- =========== Summary =========== -->
322 <TR BGCOLOR='white' CLASS='TableRowColor'>
323 <TD>
324 <span CLASS="font10bold">Inherited From Class <a href="../phpHtmlLib/Container.html">Container</a></span>
325 <TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='95%' CLASS="border" ALIGN="center">
326 <tr CLASS="tableheadingcolor">
327 <th>Function</th>
328 <th>Description</th>
329 </tr>
330
331 <tr>
332 <td CLASS="font10bold"><A HREF='../phpHtmlLib/Container.html#constructor Container'>constructor Container ( )</A></td>
333 <td CLASS="font10">The constructor.</td>
334
335 <tr>
336 <td CLASS="font10bold"><A HREF='../phpHtmlLib/Container.html#add'>add ( )</A></td>
337 <td CLASS="font10">add content onto content stack</td>
338
339 <tr>
340 <td CLASS="font10bold"><A HREF='../phpHtmlLib/Container.html#add_reference'>add_reference ( &$content )</A></td>
341 <td CLASS="font10">Add content onto content stack
342 so you can change the item later.</td>
343
344 <tr>
345 <td CLASS="font10bold"><A HREF='../phpHtmlLib/Container.html#count_content'>count_content ( )</A></td>
346 <td CLASS="font10">counts the number of content objects</td>
347
348 <tr>
349 <td CLASS="font10bold"><A HREF='../phpHtmlLib/Container.html#get_indent_flag'>get_indent_flag ( )</A></td>
350 <td CLASS="font10">This flag gets the current value
351 of the indent flag</td>
352
353 <tr>
354 <td CLASS="font10bold"><A HREF='../phpHtmlLib/Container.html#push'>push ( )</A></td>
355 <td CLASS="font10">Same as add().</td>
356
357 <tr>
358 <td CLASS="font10bold"><A HREF='../phpHtmlLib/Container.html#push_reference'>push_reference ( &$content )</A></td>
359 <td CLASS="font10">Same as add_reference
360 NOTE : only exists for compatibility with 1.1.x</td>
361
362 <tr>
363 <td CLASS="font10bold"><A HREF='../phpHtmlLib/Container.html#render'>render ( [$indent_level = 1], [$output_debug = 0] )</A></td>
364 <td CLASS="font10">This function is compatible with the
365 rest of the phpHtmllib API spec.</td>
366
367 <tr>
368 <td CLASS="font10bold"><A HREF='../phpHtmlLib/Container.html#reset_content'>reset_content ( )</A></td>
369 <td CLASS="font10">destroy existing content and start with new content.</td>
370
371 <tr>
372 <td CLASS="font10bold"><A HREF='../phpHtmlLib/Container.html#set_collapse'>set_collapse ( [$collapse = TRUE], [$indent = TRUE] )</A></td>
373 <td CLASS="font10">This function turns on the collapse flag</td>
374
375 <tr>
376 <td CLASS="font10bold"><A HREF='../phpHtmlLib/Container.html#set_indent_flag'>set_indent_flag ( $flag )</A></td>
377 <td CLASS="font10">function to set the indent flag</td>
378
379 </table>
380 <br>
381 </TD>
382 </TR>
383
384 </TABLE>
385
386 <hr>
387 <!-- should have constructor at some point -->
388 <!-- =========== Method SUMMARY =========== -->
389 <A NAME='Method_summary'><!-- --></A>
390 <TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='100%' Class="border">
391 <TR BGCOLOR='#CCCCFF' CLASS='TableHeadingColor'>
392 <TD>
393 <span class="font12bold">Method Summary</span>
394 <A HREF="#top" CLASS="links">^TOP</A>
395 </TD>
396 </TR>
397
398
399 <!-- =========== Summary =========== -->
400 <TR BGCOLOR='white' CLASS='TableRowColor'>
401 <TD>
402 <CODE><B><A HREF='XMLtag.html#constructor XMLtag'>void constructor XMLtag ( [$attributes = array()] )</A></B></CODE>
403 <BR>
404 <blockquote> </blockquote>
405 </TD>
406 </TR>
407
408 </TABLE>
409
410 <hr>
411 <!-- ============ VARIABLE DETAIL =========== -->
412
413 <A NAME='variable_detail'></A>
414 <TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='100%' CLASS="border">
415 <TR BGCOLOR='#CCCCFF' CLASS='TableHeadingColor'>
416 <TD>
417 <span CLASS="font12bold">Variable Detail</span>
418 <A HREF="#top" CLASS="links">^TOP</A>
419 </TD>
420 </TR>
421 </TABLE>
422
423
424 <A NAME='$_always_lower_case'><!-- --></A><H3>$_always_lower_case</H3>
425 <b>Data type:</b> mixed<br>
426 <!-- ========== Info from phpDoc block ========= -->
427
428 <BR>
429
430
431 <UL>
432
433 </UL>
434
435 <HR>
436
437 <A NAME='$_close_tag_required'><!-- --></A><H3>$_close_tag_required</H3>
438 <b>Data type:</b> mixed<br>
439 <!-- ========== Info from phpDoc block ========= -->
440
441 <BR>
442
443
444 <UL>
445
446 </UL>
447
448 <HR>
449
450 <A NAME='$_content_required'><!-- --></A><H3>$_content_required</H3>
451 <b>Data type:</b> mixed<br>
452 <!-- ========== Info from phpDoc block ========= -->
453
454 <BR>
455
456
457 <UL>
458
459 </UL>
460
461 <HR>
462
463 <A NAME='$_no_finish_slash_xhtml'><!-- --></A><H3>$_no_finish_slash_xhtml</H3>
464 <b>Data type:</b> mixed<br>
465 <!-- ========== Info from phpDoc block ========= -->
466
467 <BR>
468
469
470 <UL>
471
472 </UL>
473
474 <HR>
475
476 <A NAME='$_tag'><!-- --></A><H3>$_tag</H3>
477 <b>Data type:</b> mixed<br>
478 <!-- ========== Info from phpDoc block ========= -->
479
480 <BR>
481
482
483 <UL>
484
485 </UL>
486
487 <HR>
488
489 <A NAME='$_tag_postfix'><!-- --></A><H3>$_tag_postfix</H3>
490 <b>Data type:</b> mixed<br>
491 <!-- ========== Info from phpDoc block ========= -->
492
493 <BR>
494
495
496 <UL>
497
498 </UL>
499
500 <HR>
501
502 <A NAME='$_tag_prefix'><!-- --></A><H3>$_tag_prefix</H3>
503 <b>Data type:</b> mixed<br>
504 <!-- ========== Info from phpDoc block ========= -->
505
506 <BR>
507
508
509 <UL>
510
511 </UL>
512
513 <HR>
514
515
516 <hr>
517 <!-- ============ FUNCTION DETAIL =========== -->
518
519 <A NAME='function_detail'></A>
520 <TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='100%' CLASS="border">
521 <TR BGCOLOR='#CCCCFF' CLASS='TableHeadingColor'>
522 <TD>
523 <span class="font12bold">Method Detail</span>
524 <A HREF="#top" CLASS="links">^TOP</A>
525 </TD>
526 </TR>
527 </TABLE>
528 <BR>
529
530 <DIV CLASS="function">
531 <A NAME='constructor XMLtag'><!-- --></A>
532 <SPAN CLASS="font12bold">constructor XMLtag</SPAN>
533 <BR>
534 <SPAN CLASS="font10bold">Useage : </SPAN>
535 <span class="font10bold" style="color: #FF0000">void</SPAN>&nbsp;
536 <span class="font10bold" style="color: #0000FF">constructor XMLtag ( [$attributes = array()] )</SPAN>
537 <BR>
538
539 <BR>
540 <SPAN CLASS="font10bold">Description : </SPAN>
541 <!-- ========== Info from phpDoc block ========= -->
542
543 <BR>
544
545 <DL>
546 <DT class="font10bold">Function Parameters:</DT>
547
548
549 <DT class="font10bold">Function Info:</DT>
550
551 </DL>
552
553 </DIV>
554 <BR>
555
556
557 <hr>
558 </HTML>

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