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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations)
Thu Jan 30 03:29:24 2003 UTC (21 years, 6 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:24 -0800' -->
6 <TITLE>Docs For Class Btag</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 Btag">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 Btag
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 --<a href="../phpHtmlLib/HTMLTagClass.html">HTMLTagClass</a>
41 |
42 --Btag</pre>
43 </pre>
44
45 <A NAME="children_summary"</A>
46 <H3>
47 Classes extended from Btag: <A HREF="#top" CLASS="links">^TOP</A>
48 </H3>
49
50 <p>
51 <b><i>Located in File: Program_Root/tag_classes/ALLTAGS.inc</i></b><br>
52 </p>
53 <hr>
54 <!-- ========== Info from phpDoc block ========= -->
55 &lt;B&gt; tag class
56 <BR>
57
58
59 <UL>
60
61 <LI><b>Package</b> - <CODE>phpHtmlLib</CODE></LI>
62
63 </UL>
64
65 <hr>
66 <!-- =========== VAR SUMMARY =========== -->
67 <A NAME='var_summary'><!-- --></A>
68 <TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='100%' CLASS="border">
69 <TR BGCOLOR='#CCCCFF' CLASS='TableHeadingColor'>
70 <TD>
71 <span CLASS="font12bold">Class Variable Summary</span>
72 <A HREF="#top" CLASS="links">^TOP</A>
73 </TD>
74 </TR>
75
76
77 <!-- =========== Summary =========== -->
78 <TR BGCOLOR='white' CLASS='TableRowColor'>
79 <TD>
80 <CODE><B><A HREF='Btag.html#$newline_after_opentag'>$newline_after_opentag</A></B></CODE>
81 <BR>
82 <blockquote> </blockquote>
83 <blockquote> Default Value: <CODE>->FALSE<-</CODE> </blockquote>
84 </TD>
85 </TR>
86
87 <!-- =========== Summary =========== -->
88 <TR BGCOLOR='white' CLASS='TableRowColor'>
89 <TD>
90 <CODE><B><A HREF='Btag.html#$_tag'>$_tag</A></B></CODE>
91 <BR>
92 <blockquote> </blockquote>
93 <blockquote> Default Value: <CODE>->b<-</CODE> </blockquote>
94 </TD>
95 </TR>
96
97 </TABLE>
98
99 <hr>
100 <!-- =========== VAR INHERITED SUMMARY =========== -->
101 <A NAME='var_inherited_summary'><!-- --></A>
102 <TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='100%' CLASS="border">
103 <TR CLASS='TableHeadingColor'>
104 <TD>
105 <span CLASS="font12bold">Inherited Class Variable Summary</span>
106 <A HREF="#top" CLASS="links">^TOP</A>
107 </TD>
108 </TR>
109
110
111 <!-- =========== Summary =========== -->
112 <TR BGCOLOR='white'>
113 <TD>
114 <span CLASS="font10bold">Inherited From Class <a href="../phpHtmlLib/HTMLTagClass.html">HTMLTagClass</a></span>
115 <table CELLPADDING='3' CELLSPACING='0' WIDTH='95%' CLASS="border" ALIGN="center">
116 <tr CLASS="tableheadingcolor">
117 <th>Variable</th>
118 <th>Default Value</th>
119 <th>Description</th>
120 </tr>
121
122 <tr>
123 <td CLASS="font10bold"><A HREF='../phpHtmlLib/HTMLTagClass.html#$_depricated'>$_depricated</A></td>
124 <td CLASS="font10" STYLE="white-space: nowrap">->FALSE<-</td>
125 <td CLASS="font10">Flag to denote that this tag is
126 depricated by the HTML standard.</td>
127 </tr>
128
129 <tr>
130 <td CLASS="font10bold"><A HREF='../phpHtmlLib/HTMLTagClass.html#$_no_finish_slash_xhtml'>$_no_finish_slash_xhtml</A></td>
131 <td CLASS="font10" STYLE="white-space: nowrap">->FALSE<-</td>
132 <td CLASS="font10">Flag to tell the renderer not to
133 place the /&gt; if we are in xhtml
134 compliant mode.</td>
135 </tr>
136
137 <tr>
138 <td CLASS="font10bold"><A HREF='../phpHtmlLib/HTMLTagClass.html#$_xhtml_strict_attributes'>$_xhtml_strict_attributes</A></td>
139 <td CLASS="font10" STYLE="white-space: nowrap">->array()<-</td>
140 <td CLASS="font10">The list of attributes not to render
141 if HTML_RENDER_TYPE is &quot;XHTML STRICT&quot;</td>
142 </tr>
143
144 </table>
145 <BR>
146 </TD>
147 </TR>
148
149 <!-- =========== Summary =========== -->
150 <TR BGCOLOR='white'>
151 <TD>
152 <span CLASS="font10bold">Inherited From Class <a href="../phpHtmlLib/XMLTagClass.html">XMLTagClass</a></span>
153 <table CELLPADDING='3' CELLSPACING='0' WIDTH='95%' CLASS="border" ALIGN="center">
154 <tr CLASS="tableheadingcolor">
155 <th>Variable</th>
156 <th>Default Value</th>
157 <th>Description</th>
158 </tr>
159
160 <tr>
161 <td CLASS="font10bold"><A HREF='../phpHtmlLib/XMLTagClass.html#$newline_after_closetag'>$newline_after_closetag</A></td>
162 <td CLASS="font10" STYLE="white-space: nowrap">->TRUE<-</td>
163 <td CLASS="font10">Flag to place a newline after close tag.</td>
164 </tr>
165
166 <tr>
167 <td CLASS="font10bold"><A HREF='../phpHtmlLib/XMLTagClass.html#$_cdata_content_wrap'>$_cdata_content_wrap</A></td>
168 <td CLASS="font10" STYLE="white-space: nowrap">->FALSE<-</td>
169 <td CLASS="font10">Automatically wrap ALL content</td>
170 </tr>
171
172 <tr>
173 <td CLASS="font10bold"><A HREF='../phpHtmlLib/XMLTagClass.html#$_tag_postfix'>$_tag_postfix</A></td>
174 <td CLASS="font10" STYLE="white-space: nowrap">->&gt;<-</td>
175 <td CLASS="font10">holds the tag postfix</td>
176 </tr>
177
178 <tr>
179 <td CLASS="font10bold"><A HREF='../phpHtmlLib/XMLTagClass.html#$_tag_prefix'>$_tag_prefix</A></td>
180 <td CLASS="font10" STYLE="white-space: nowrap">->&lt;<-</td>
181 <td CLASS="font10">holds the tag prefix</td>
182 </tr>
183
184 </table>
185 <BR>
186 </TD>
187 </TR>
188
189 <!-- =========== Summary =========== -->
190 <TR BGCOLOR='white'>
191 <TD>
192 <span CLASS="font10bold">Inherited From Class <a href="../phpHtmlLib/Container.html">Container</a></span>
193 <table CELLPADDING='3' CELLSPACING='0' WIDTH='95%' CLASS="border" ALIGN="center">
194 <tr CLASS="tableheadingcolor">
195 <th>Variable</th>
196 <th>Default Value</th>
197 <th>Description</th>
198 </tr>
199
200 <tr>
201 <td CLASS="font10bold"><A HREF='../phpHtmlLib/Container.html#$indent_flag'>$indent_flag</A></td>
202 <td CLASS="font10" STYLE="white-space: nowrap">->TRUE<-</td>
203 <td CLASS="font10">Flag for pretty (indented) output</td>
204 </tr>
205
206 <tr>
207 <td CLASS="font10bold"><A HREF='../phpHtmlLib/Container.html#$_newline_after_content_flag'>$_newline_after_content_flag</A></td>
208 <td CLASS="font10" STYLE="white-space: nowrap">->TRUE<-</td>
209 <td CLASS="font10">Do we render a newline after the
210 contents has been rendered?</td>
211 </tr>
212
213 </table>
214 <BR>
215 </TD>
216 </TR>
217
218 </TABLE>
219
220 <hr>
221 <!-- =========== INHERITED METHOD SUMMARY =========== -->
222 <A NAME='functions_inherited'><!-- --></A>
223 <TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='100%' CLASS="border">
224 <TR CLASS='TableHeadingColor'>
225 <TD>
226 <span CLASS="font12bold">Inherited Method Summary</span>
227 <A HREF="#top" CLASS="links">^TOP</A>
228 </TD>
229 </TR>
230
231
232 <!-- =========== Summary =========== -->
233 <TR BGCOLOR='white' CLASS='TableRowColor'>
234 <TD>
235 <span CLASS="font10bold">Inherited From Class <a href="../phpHtmlLib/HTMLTagClass.html">HTMLTagClass</a></span>
236 <TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='95%' CLASS="border" ALIGN="center">
237 <tr CLASS="tableheadingcolor">
238 <th>Function</th>
239 <th>Description</th>
240 </tr>
241
242 <tr>
243 <td CLASS="font10bold"><A HREF='../phpHtmlLib/HTMLTagClass.html#constructor HTMLTagClass'>constructor HTMLTagClass ( [$attributes = NULL] )</A></td>
244 <td CLASS="font10">Class Constructor</td>
245
246 <tr>
247 <td CLASS="font10bold"><A HREF='../phpHtmlLib/HTMLTagClass.html#render'>render ( [$indent_level = NULL], [$output_debug = 0] )</A></td>
248 <td CLASS="font10">Renders the tag, attributes, content and close tag.</td>
249
250 <tr>
251 <td CLASS="font10bold"><A HREF='../phpHtmlLib/HTMLTagClass.html#set_class'>set_class ( $value )</A></td>
252 <td CLASS="font10">This function is a shorthand helper
253 to setting the class attribute on a
254 tag.</td>
255
256 <tr>
257 <td CLASS="font10bold"><A HREF='../phpHtmlLib/HTMLTagClass.html#set_id'>set_id ( $value )</A></td>
258 <td CLASS="font10">This function is a shorthand helper
259 to setting the id attribute on a
260 tag.</td>
261
262 <tr>
263 <td CLASS="font10bold"><A HREF='../phpHtmlLib/HTMLTagClass.html#set_style'>set_style ( $value )</A></td>
264 <td CLASS="font10">This function is a shorthand helper
265 to setting the style attribute on a
266 tag.</td>
267
268 <tr>
269 <td CLASS="font10bold"><A HREF='../phpHtmlLib/HTMLTagClass.html#_build_attribute_string'>_build_attribute_string ( $name, $value, [$debug = 0] )</A></td>
270 <td CLASS="font10">this builds an attribute for a tag.</td>
271
272 <tr>
273 <td CLASS="font10bold"><A HREF='../phpHtmlLib/HTMLTagClass.html#_render_tag_debug'>_render_tag_debug ( $indent_level )</A></td>
274 <td CLASS="font10">This renders that open tag in debug mode.</td>
275
276 </table>
277 <br>
278 </TD>
279 </TR>
280
281 <!-- =========== Summary =========== -->
282 <TR BGCOLOR='white' CLASS='TableRowColor'>
283 <TD>
284 <span CLASS="font10bold">Inherited From Class <a href="../phpHtmlLib/XMLTagClass.html">XMLTagClass</a></span>
285 <TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='95%' CLASS="border" ALIGN="center">
286 <tr CLASS="tableheadingcolor">
287 <th>Function</th>
288 <th>Description</th>
289 </tr>
290
291 <tr>
292 <td CLASS="font10bold"><A HREF='../phpHtmlLib/XMLTagClass.html#constructor XMLTagClass'>constructor XMLTagClass ( [$name = ], [$attributes = array()] )</A></td>
293 <td CLASS="font10">The constructor</td>
294
295 <tr>
296 <td CLASS="font10bold"><A HREF='../phpHtmlLib/XMLTagClass.html#get_tag'>get_tag ( )</A></td>
297 <td CLASS="font10">This returns the tag declared for this class.</td>
298
299 <tr>
300 <td CLASS="font10bold"><A HREF='../phpHtmlLib/XMLTagClass.html#get_tag_name'>get_tag_name ( )</A></td>
301 <td CLASS="font10">This method gets the name of the tag</td>
302
303 <tr>
304 <td CLASS="font10bold"><A HREF='../phpHtmlLib/XMLTagClass.html#render'>render ( [$indent_level = 0] )</A></td>
305 <td CLASS="font10">This function is responsible</td>
306
307 <tr>
308 <td CLASS="font10bold"><A HREF='../phpHtmlLib/XMLTagClass.html#reset_attributes'>reset_attributes ( [$attributes = array()] )</A></td>
309 <td CLASS="font10">clear all attributes and start with new attributes</td>
310
311 <tr>
312 <td CLASS="font10bold"><A HREF='../phpHtmlLib/XMLTagClass.html#set_collapse'>set_collapse ( [$collapse = TRUE], [$indent = TRUE] )</A></td>
313 <td CLASS="font10">This function turns on the collapse flag</td>
314
315 <tr>
316 <td CLASS="font10bold"><A HREF='../phpHtmlLib/XMLTagClass.html#set_newline_after_closetag'>set_newline_after_closetag ( $flag )</A></td>
317 <td CLASS="font10">set the newline_after_content flag</td>
318
319 <tr>
320 <td CLASS="font10bold"><A HREF='../phpHtmlLib/XMLTagClass.html#set_newline_after_opentag'>set_newline_after_opentag ( $flag )</A></td>
321 <td CLASS="font10">set the newline_after_opentag flag</td>
322
323 <tr>
324 <td CLASS="font10bold"><A HREF='../phpHtmlLib/XMLTagClass.html#set_tag_attribute'>set_tag_attribute ( $name, [$value = NULL] )</A></td>
325 <td CLASS="font10">add a single attribute (name=&quot;value&quot;)</td>
326
327 <tr>
328 <td CLASS="font10bold"><A HREF='../phpHtmlLib/XMLTagClass.html#set_tag_attributes'>set_tag_attributes ( [$attributes = array()] )</A></td>
329 <td CLASS="font10">add multiple attributes (name=&quot;value&quot;)</td>
330
331 <tr>
332 <td CLASS="font10bold"><A HREF='../phpHtmlLib/XMLTagClass.html#set_tag_name'>set_tag_name ( $name )</A></td>
333 <td CLASS="font10">This method sets the name of the tag</td>
334
335 <tr>
336 <td CLASS="font10bold"><A HREF='../phpHtmlLib/XMLTagClass.html#_build_attribute_string'>_build_attribute_string ( $name, $value )</A></td>
337 <td CLASS="font10">this builds an attribute for an XML tag.</td>
338
339 <tr>
340 <td CLASS="font10bold"><A HREF='../phpHtmlLib/XMLTagClass.html#_get_element'>_get_element ( $cell )</A></td>
341 <td CLASS="font10">get the nth element from content array</td>
342
343 <tr>
344 <td CLASS="font10bold"><A HREF='../phpHtmlLib/XMLTagClass.html#_prepare_flags'>_prepare_flags ( )</A></td>
345 <td CLASS="font10">This function checks to see if</td>
346
347 <tr>
348 <td CLASS="font10bold"><A HREF='../phpHtmlLib/XMLTagClass.html#_render_close_tag'>_render_close_tag ( $indent_level )</A></td>
349 <td CLASS="font10">this function is reposnsible for
350 rendering the closing tag (if any)</td>
351
352 <tr>
353 <td CLASS="font10bold"><A HREF='../phpHtmlLib/XMLTagClass.html#_render_content'>_render_content ( $indent_level, [$output_debug = 0] )</A></td>
354 <td CLASS="font10">this function is reponsible for</td>
355
356 <tr>
357 <td CLASS="font10bold"><A HREF='../phpHtmlLib/XMLTagClass.html#_render_open_tag'>_render_open_tag ( $indent_level, [$finish_slash = TRUE] )</A></td>
358 <td CLASS="font10">this function is responsible for
359 rendering the open tag.</td>
360
361 </table>
362 <br>
363 </TD>
364 </TR>
365
366 <!-- =========== Summary =========== -->
367 <TR BGCOLOR='white' CLASS='TableRowColor'>
368 <TD>
369 <span CLASS="font10bold">Inherited From Class <a href="../phpHtmlLib/Container.html">Container</a></span>
370 <TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='95%' CLASS="border" ALIGN="center">
371 <tr CLASS="tableheadingcolor">
372 <th>Function</th>
373 <th>Description</th>
374 </tr>
375
376 <tr>
377 <td CLASS="font10bold"><A HREF='../phpHtmlLib/Container.html#constructor Container'>constructor Container ( )</A></td>
378 <td CLASS="font10">The constructor.</td>
379
380 <tr>
381 <td CLASS="font10bold"><A HREF='../phpHtmlLib/Container.html#add'>add ( )</A></td>
382 <td CLASS="font10">add content onto content stack</td>
383
384 <tr>
385 <td CLASS="font10bold"><A HREF='../phpHtmlLib/Container.html#add_reference'>add_reference ( &$content )</A></td>
386 <td CLASS="font10">Add content onto content stack
387 so you can change the item later.</td>
388
389 <tr>
390 <td CLASS="font10bold"><A HREF='../phpHtmlLib/Container.html#count_content'>count_content ( )</A></td>
391 <td CLASS="font10">counts the number of content objects</td>
392
393 <tr>
394 <td CLASS="font10bold"><A HREF='../phpHtmlLib/Container.html#get_indent_flag'>get_indent_flag ( )</A></td>
395 <td CLASS="font10">This flag gets the current value
396 of the indent flag</td>
397
398 <tr>
399 <td CLASS="font10bold"><A HREF='../phpHtmlLib/Container.html#push'>push ( )</A></td>
400 <td CLASS="font10">Same as add().</td>
401
402 <tr>
403 <td CLASS="font10bold"><A HREF='../phpHtmlLib/Container.html#push_reference'>push_reference ( &$content )</A></td>
404 <td CLASS="font10">Same as add_reference
405 NOTE : only exists for compatibility with 1.1.x</td>
406
407 <tr>
408 <td CLASS="font10bold"><A HREF='../phpHtmlLib/Container.html#render'>render ( [$indent_level = 1], [$output_debug = 0] )</A></td>
409 <td CLASS="font10">This function is compatible with the
410 rest of the phpHtmllib API spec.</td>
411
412 <tr>
413 <td CLASS="font10bold"><A HREF='../phpHtmlLib/Container.html#reset_content'>reset_content ( )</A></td>
414 <td CLASS="font10">destroy existing content and start with new content.</td>
415
416 <tr>
417 <td CLASS="font10bold"><A HREF='../phpHtmlLib/Container.html#set_collapse'>set_collapse ( [$collapse = TRUE], [$indent = TRUE] )</A></td>
418 <td CLASS="font10">This function turns on the collapse flag</td>
419
420 <tr>
421 <td CLASS="font10bold"><A HREF='../phpHtmlLib/Container.html#set_indent_flag'>set_indent_flag ( $flag )</A></td>
422 <td CLASS="font10">function to set the indent flag</td>
423
424 </table>
425 <br>
426 </TD>
427 </TR>
428
429 </TABLE>
430
431 <hr>
432 <!-- should have constructor at some point -->
433 <!-- =========== Method SUMMARY =========== -->
434 <A NAME='Method_summary'><!-- --></A>
435 <TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='100%' Class="border">
436 <TR BGCOLOR='#CCCCFF' CLASS='TableHeadingColor'>
437 <TD>
438 <span class="font12bold">Method Summary</span>
439 <A HREF="#top" CLASS="links">^TOP</A>
440 </TD>
441 </TR>
442
443
444 </TABLE>
445
446 <hr>
447 <!-- ============ VARIABLE DETAIL =========== -->
448
449 <A NAME='variable_detail'></A>
450 <TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='100%' CLASS="border">
451 <TR BGCOLOR='#CCCCFF' CLASS='TableHeadingColor'>
452 <TD>
453 <span CLASS="font12bold">Variable Detail</span>
454 <A HREF="#top" CLASS="links">^TOP</A>
455 </TD>
456 </TR>
457 </TABLE>
458
459
460 <A NAME='$newline_after_opentag'><!-- --></A><H3>$newline_after_opentag</H3>
461 <b>Data type:</b> mixed<br>
462 <!-- ========== Info from phpDoc block ========= -->
463
464 <BR>
465
466
467 <UL>
468
469 </UL>
470
471 <HR>
472
473 <A NAME='$_tag'><!-- --></A><H3>$_tag</H3>
474 <b>Data type:</b> mixed<br>
475 <!-- ========== Info from phpDoc block ========= -->
476
477 <BR>
478
479
480 <UL>
481
482 </UL>
483
484 <HR>
485
486
487 <hr>
488 <!-- ============ FUNCTION DETAIL =========== -->
489
490 <A NAME='function_detail'></A>
491 <TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='100%' CLASS="border">
492 <TR BGCOLOR='#CCCCFF' CLASS='TableHeadingColor'>
493 <TD>
494 <span class="font12bold">Method Detail</span>
495 <A HREF="#top" CLASS="links">^TOP</A>
496 </TD>
497 </TR>
498 </TABLE>
499 <BR>
500
501
502 <hr>
503 </HTML>

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