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

Annotation of /nfo/php/libs/com.newsblob.phphtmllib/doc/phpHtmlLib/THtag.html

Parent Directory Parent Directory | Revision Log Revision Log


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

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