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

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

Parent Directory Parent Directory | Revision Log Revision Log


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

1 jonen 1.2 <!DOCTYPE HTML PUBLIC '-//W3C//DTD HTML 4.0 Transitional//EN' 'http://www.w3.org/TR/REC-html40/loose.dtd'>
2 jonen 1.1 <!--NewPage-->
3     <HTML>
4     <HEAD>
5 jonen 1.2 <!-- Generated by PhpDoc date: 'Thu, 20 Feb 2003 16:22:29 -0800' -->
6 jonen 1.1 <TITLE>Docs For Class TRtag</TITLE>
7 jonen 1.2 <LINK REL ='stylesheet' TYPE='text/css' HREF='../media/stylesheet.css' TITLE='Style'>
8 jonen 1.1 </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 TRtag">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 jonen 1.2 <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 jonen 1.1 <A HREF="#variable_detail" class="links" title="Variable Detail">Variable Detail</A>
22 jonen 1.2 <A HREF="#method_detail" class="links" title="Method Detail">Method Detail</A>
23 jonen 1.1 </TD>
24     </TR>
25     </TABLE>
26     <BR>
27     <!-- Start of Class Data -->
28     <H2>
29     Class TRtag
30 jonen 1.2 </H2> (line <span class="linenumber">1496</span>)
31 jonen 1.1 <pre>
32 jonen 1.2 <a href="../phpHtmlLib/Container.html">Container</a>
33 jonen 1.1 |
34     --<a href="../phpHtmlLib/XMLTagClass.html">XMLTagClass</a>
35     |
36     --<a href="../phpHtmlLib/HTMLTagClass.html">HTMLTagClass</a>
37     |
38     --TRtag</pre>
39     <p>
40     <b><i>Located in File: Program_Root/tag_classes/ALLTAGS.inc</i></b><br>
41     </p>
42     <hr>
43     Table Row &lt;TR&gt; class.
44 jonen 1.2 <br />
45 jonen 1.1
46     <UL>
47 jonen 1.2 <LI><b>author</b> - <CODE>Walter A. Boring IV &lt;<a href="mailto:waboring@buildabetterweb.com">mailto:waboring@buildabetterweb.com</a>&gt;</CODE></LI>
48     </UL>
49 jonen 1.1 <hr>
50     <!-- =========== VAR SUMMARY =========== -->
51     <A NAME='var_summary'><!-- --></A>
52     <TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='100%' CLASS="border">
53     <TR BGCOLOR='#CCCCFF' CLASS='TableHeadingColor'>
54     <TD>
55     <span CLASS="font12bold">Class Variable Summary</span>
56     <A HREF="#top" CLASS="links">^TOP</A>
57     </TD>
58     </TR>
59    
60 jonen 1.2 <!-- =========== Summary =========== -->
61 jonen 1.1 <TR BGCOLOR='white' CLASS='TableRowColor'>
62     <TD>
63 jonen 1.2 <CODE><B><A HREF="../phpHtmlLib/TRtag.html#var$_default_td_attributes">$_default_td_attributes</A></B></CODE>
64 jonen 1.1 <BR>
65     <blockquote> Holds the default attributes for all &lt;td&gt;'s </blockquote>
66     <blockquote> Default Value: <CODE>->array()<-</CODE> </blockquote>
67     </TD>
68     </TR>
69 jonen 1.2 <!-- =========== Summary =========== -->
70 jonen 1.1 <TR BGCOLOR='white' CLASS='TableRowColor'>
71     <TD>
72 jonen 1.2 <CODE><B><A HREF="../phpHtmlLib/TRtag.html#var$_tag">$_tag</A></B></CODE>
73 jonen 1.1 <BR>
74     <blockquote> </blockquote>
75 jonen 1.2 <blockquote> Default Value: <CODE>->&nbsp;"tr"<-</CODE> </blockquote>
76 jonen 1.1 </TD>
77     </TR>
78 jonen 1.2 </TABLE>
79 jonen 1.1 <hr>
80     <!-- =========== VAR INHERITED SUMMARY =========== -->
81     <A NAME='var_inherited_summary'><!-- --></A>
82     <TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='100%' CLASS="border">
83 jonen 1.2 <TR BGCOLOR='#CCCCFF' CLASS='TableHeadingColor'>
84 jonen 1.1 <TD>
85     <span CLASS="font12bold">Inherited Class Variable Summary</span>
86     <A HREF="#top" CLASS="links">^TOP</A>
87     </TD>
88     </TR>
89    
90 jonen 1.2 <!-- =========== Summary =========== -->
91 jonen 1.1 <TR BGCOLOR='white'>
92     <TD>
93 jonen 1.2 <span CLASS="font10bold">Inherited From Class <a href="../phpHtmlLib/Container.html">Container</a></span>
94 jonen 1.1 <table CELLPADDING='3' CELLSPACING='0' WIDTH='95%' CLASS="border" ALIGN="center">
95     <tr CLASS="tableheadingcolor">
96     <th>Variable</th>
97     <th>Default Value</th>
98     <th>Description</th>
99     </tr>
100 jonen 1.2 <tr>
101     <td CLASS="font10bold"><a href="../phpHtmlLib/Container.html#var$_flags">Container::$_flags</a></td>
102     <td CLASS="font10" STYLE="white-space: nowrap">-> _NEWLINEAFTERCONTENT<-</td>
103     <td CLASS="font10">The flags that tell us</td>
104 jonen 1.1 </tr>
105 jonen 1.2 </table>
106 jonen 1.1 <BR>
107     </TD>
108     </TR>
109 jonen 1.2 </TABLE>
110    
111     <hr>
112     <!-- =========== METHOD SUMMARY =========== -->
113     <A NAME='method_summary'><!-- --></A>
114     <TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='100%' Class="border">
115     <TR BGCOLOR='#CCCCFF' CLASS='TableHeadingColor'>
116     <TD>
117     <span class="font12bold">Method Summary</span>
118     <A HREF="#top" CLASS="links">^TOP</A>
119     </TD>
120     </TR>
121    
122     <!-- =========== Summary =========== -->
123     <TR BGCOLOR='white' CLASS='TableRowColor'>
124     <TD>
125     <CODE><B><A HREF='../phpHtmlLib/TRtag.html#methodadd'>void add ( )</A></B></CODE>
126     <BR>
127     <blockquote> add content onto content stack adds content to tag as a FIFO. </blockquote>
128     </TD>
129     </TR>
130     <!-- =========== Summary =========== -->
131     <TR BGCOLOR='white' CLASS='TableRowColor'>
132     <TD>
133     <CODE><B><A HREF='../phpHtmlLib/TRtag.html#methodadd_reference'>void add_reference ( &$content )</A></B></CODE>
134     <BR>
135     <blockquote> add content onto content stack </blockquote>
136     </TD>
137     </TR>
138     <!-- =========== Summary =========== -->
139     <TR BGCOLOR='white' CLASS='TableRowColor'>
140     <TD>
141     <CODE><B><A HREF='../phpHtmlLib/TRtag.html#methodpush'>void push ( )</A></B></CODE>
142     <BR>
143     <blockquote> Same ass add() </blockquote>
144     </TD>
145     </TR>
146     <!-- =========== Summary =========== -->
147     <TR BGCOLOR='white' CLASS='TableRowColor'>
148 jonen 1.1 <TD>
149 jonen 1.2 <CODE><B><A HREF='../phpHtmlLib/TRtag.html#methodpush_reference'>void push_reference ( &$content )</A></B></CODE>
150     <BR>
151     <blockquote> Same ass add_reference() </blockquote>
152     </TD>
153 jonen 1.1 </TR>
154 jonen 1.2 <!-- =========== Summary =========== -->
155     <TR BGCOLOR='white' CLASS='TableRowColor'>
156 jonen 1.1 <TD>
157 jonen 1.2 <CODE><B><A HREF='../phpHtmlLib/TRtag.html#methodset_default_td_attributes'>void set_default_td_attributes ( $attributes )</A></B></CODE>
158     <BR>
159     <blockquote> Sets the default attributes for &lt;td&gt;'s that are added to the table. If there are any attributes set for the &lt;td&gt; it won't use the defaults. </blockquote>
160     </TD>
161 jonen 1.1 </TR>
162 jonen 1.2 </TABLE>
163 jonen 1.1 <!-- =========== INHERITED METHOD SUMMARY =========== -->
164     <A NAME='functions_inherited'><!-- --></A>
165     <TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='100%' CLASS="border">
166 jonen 1.2 <TR BGCOLOR='#CCCCFF' CLASS='TableHeadingColor'>
167 jonen 1.1 <TD>
168     <span CLASS="font12bold">Inherited Method Summary</span>
169     <A HREF="#top" CLASS="links">^TOP</A>
170     </TD>
171     </TR>
172    
173 jonen 1.2 <!-- =========== Summary =========== -->
174 jonen 1.1 <TR BGCOLOR='white' CLASS='TableRowColor'>
175     <TD>
176     <span CLASS="font10bold">Inherited From Class <a href="../phpHtmlLib/HTMLTagClass.html">HTMLTagClass</a></span>
177     <TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='95%' CLASS="border" ALIGN="center">
178     <tr CLASS="tableheadingcolor">
179     <th>Function</th>
180     <th>Description</th>
181     </tr>
182 jonen 1.2 <tr>
183     <td CLASS="font10bold"><a href="../phpHtmlLib/HTMLTagClass.html#methodHTMLTagClass">HTMLTagClass::HTMLTagClass()</a></td>
184 jonen 1.1 <td CLASS="font10">Class Constructor</td>
185 jonen 1.2 <tr>
186     <td CLASS="font10bold"><a href="../phpHtmlLib/HTMLTagClass.html#methodrender">HTMLTagClass::render()</a></td>
187 jonen 1.1 <td CLASS="font10">Renders the tag, attributes, content and close tag.</td>
188 jonen 1.2 <tr>
189     <td CLASS="font10bold"><a href="../phpHtmlLib/HTMLTagClass.html#methodset_class">HTMLTagClass::set_class()</a></td>
190     <td CLASS="font10">This function is a shorthand helper to setting the class attribute on a tag.</td>
191     <tr>
192     <td CLASS="font10bold"><a href="../phpHtmlLib/HTMLTagClass.html#methodset_id">HTMLTagClass::set_id()</a></td>
193     <td CLASS="font10">This function is a shorthand helper to setting the id attribute on a tag.</td>
194     <tr>
195     <td CLASS="font10bold"><a href="../phpHtmlLib/HTMLTagClass.html#methodset_style">HTMLTagClass::set_style()</a></td>
196     <td CLASS="font10">This function is a shorthand helper to setting the style attribute on a tag.</td>
197     <tr>
198     <td CLASS="font10bold"><a href="../phpHtmlLib/HTMLTagClass.html#method_build_attribute_string">HTMLTagClass::_build_attribute_string()</a></td>
199 jonen 1.1 <td CLASS="font10">this builds an attribute for a tag.</td>
200 jonen 1.2 <tr>
201     <td CLASS="font10bold"><a href="../phpHtmlLib/HTMLTagClass.html#method_render_tag_debug">HTMLTagClass::_render_tag_debug()</a></td>
202 jonen 1.1 <td CLASS="font10">This renders that open tag in debug mode.</td>
203 jonen 1.2 </table>
204 jonen 1.1 <br>
205     </TD>
206     </TR>
207 jonen 1.2 <!-- =========== Summary =========== -->
208 jonen 1.1 <TR BGCOLOR='white' CLASS='TableRowColor'>
209     <TD>
210     <span CLASS="font10bold">Inherited From Class <a href="../phpHtmlLib/XMLTagClass.html">XMLTagClass</a></span>
211     <TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='95%' CLASS="border" ALIGN="center">
212     <tr CLASS="tableheadingcolor">
213     <th>Function</th>
214     <th>Description</th>
215     </tr>
216 jonen 1.2 <tr>
217     <td CLASS="font10bold"><a href="../phpHtmlLib/XMLTagClass.html#methodXMLTagClass">XMLTagClass::XMLTagClass()</a></td>
218 jonen 1.1 <td CLASS="font10">The constructor</td>
219 jonen 1.2 <tr>
220     <td CLASS="font10bold"><a href="../phpHtmlLib/XMLTagClass.html#methodget_tag">XMLTagClass::get_tag()</a></td>
221 jonen 1.1 <td CLASS="font10">This returns the tag declared for this class.</td>
222 jonen 1.2 <tr>
223     <td CLASS="font10bold"><a href="../phpHtmlLib/XMLTagClass.html#methodget_tag_name">XMLTagClass::get_tag_name()</a></td>
224 jonen 1.1 <td CLASS="font10">This method gets the name of the tag</td>
225 jonen 1.2 <tr>
226     <td CLASS="font10bold"><a href="../phpHtmlLib/XMLTagClass.html#methodrender">XMLTagClass::render()</a></td>
227     <td CLASS="font10">This function is responsible for rendering the tag and its contents</td>
228     <tr>
229     <td CLASS="font10bold"><a href="../phpHtmlLib/XMLTagClass.html#methodreset_attributes">XMLTagClass::reset_attributes()</a></td>
230 jonen 1.1 <td CLASS="font10">clear all attributes and start with new attributes</td>
231 jonen 1.2 <tr>
232     <td CLASS="font10bold"><a href="../phpHtmlLib/XMLTagClass.html#methodset_collapse">XMLTagClass::set_collapse()</a></td>
233 jonen 1.1 <td CLASS="font10">This function turns on the collapse flag</td>
234 jonen 1.2 <tr>
235     <td CLASS="font10bold"><a href="../phpHtmlLib/XMLTagClass.html#methodset_newline_after_closetag">XMLTagClass::set_newline_after_closetag()</a></td>
236 jonen 1.1 <td CLASS="font10">set the newline_after_content flag</td>
237 jonen 1.2 <tr>
238     <td CLASS="font10bold"><a href="../phpHtmlLib/XMLTagClass.html#methodset_newline_after_opentag">XMLTagClass::set_newline_after_opentag()</a></td>
239 jonen 1.1 <td CLASS="font10">set the newline_after_opentag flag</td>
240 jonen 1.2 <tr>
241     <td CLASS="font10bold"><a href="../phpHtmlLib/XMLTagClass.html#methodset_tag_attribute">XMLTagClass::set_tag_attribute()</a></td>
242     <td CLASS="font10">add a single attribute (name="value")</td>
243     <tr>
244     <td CLASS="font10bold"><a href="../phpHtmlLib/XMLTagClass.html#methodset_tag_attributes">XMLTagClass::set_tag_attributes()</a></td>
245     <td CLASS="font10">add multiple attributes (name="value")</td>
246     <tr>
247     <td CLASS="font10bold"><a href="../phpHtmlLib/XMLTagClass.html#methodset_tag_name">XMLTagClass::set_tag_name()</a></td>
248 jonen 1.1 <td CLASS="font10">This method sets the name of the tag</td>
249 jonen 1.2 <tr>
250     <td CLASS="font10bold"><a href="../phpHtmlLib/XMLTagClass.html#method_build_attribute_string">XMLTagClass::_build_attribute_string()</a></td>
251 jonen 1.1 <td CLASS="font10">this builds an attribute for an XML tag.</td>
252 jonen 1.2 <tr>
253     <td CLASS="font10bold"><a href="../phpHtmlLib/XMLTagClass.html#method_get_element">XMLTagClass::_get_element()</a></td>
254 jonen 1.1 <td CLASS="font10">get the nth element from content array</td>
255 jonen 1.2 <tr>
256     <td CLASS="font10bold"><a href="../phpHtmlLib/XMLTagClass.html#method_prepare_flags">XMLTagClass::_prepare_flags()</a></td>
257 jonen 1.1 <td CLASS="font10">This function checks to see if</td>
258 jonen 1.2 <tr>
259     <td CLASS="font10bold"><a href="../phpHtmlLib/XMLTagClass.html#method_render_close_tag">XMLTagClass::_render_close_tag()</a></td>
260     <td CLASS="font10">this function is reposnsible for rendering the closing tag (if any)</td>
261     <tr>
262     <td CLASS="font10bold"><a href="../phpHtmlLib/XMLTagClass.html#method_render_content">XMLTagClass::_render_content()</a></td>
263     <td CLASS="font10">this function is reponsible for rendering the pcdata, or content of the tag (if any)</td>
264     <tr>
265     <td CLASS="font10bold"><a href="../phpHtmlLib/XMLTagClass.html#method_render_open_tag">XMLTagClass::_render_open_tag()</a></td>
266     <td CLASS="font10">this function is responsible for rendering the open tag.</td>
267     <tr>
268     <td CLASS="font10bold"><a href="../phpHtmlLib/XMLTagClass.html#method_set_flags">XMLTagClass::_set_flags()</a></td>
269     <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>
270     </table>
271 jonen 1.1 <br>
272     </TD>
273     </TR>
274 jonen 1.2 <!-- =========== Summary =========== -->
275 jonen 1.1 <TR BGCOLOR='white' CLASS='TableRowColor'>
276     <TD>
277     <span CLASS="font10bold">Inherited From Class <a href="../phpHtmlLib/Container.html">Container</a></span>
278     <TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='95%' CLASS="border" ALIGN="center">
279     <tr CLASS="tableheadingcolor">
280     <th>Function</th>
281     <th>Description</th>
282     </tr>
283 jonen 1.2 <tr>
284     <td CLASS="font10bold"><a href="../phpHtmlLib/Container.html#methodContainer">Container::Container()</a></td>
285 jonen 1.1 <td CLASS="font10">The constructor.</td>
286 jonen 1.2 <tr>
287     <td CLASS="font10bold"><a href="../phpHtmlLib/Container.html#methodadd">Container::add()</a></td>
288 jonen 1.1 <td CLASS="font10">add content onto content stack</td>
289 jonen 1.2 <tr>
290     <td CLASS="font10bold"><a href="../phpHtmlLib/Container.html#methodadd_reference">Container::add_reference()</a></td>
291     <td CLASS="font10">Add content onto content stack so you can change the item later.</td>
292     <tr>
293     <td CLASS="font10bold"><a href="../phpHtmlLib/Container.html#methodcount_content">Container::count_content()</a></td>
294 jonen 1.1 <td CLASS="font10">counts the number of content objects</td>
295 jonen 1.2 <tr>
296     <td CLASS="font10bold"><a href="../phpHtmlLib/Container.html#methodget_indent_flag">Container::get_indent_flag()</a></td>
297     <td CLASS="font10">This flag gets the current value of the indent flag</td>
298     <tr>
299     <td CLASS="font10bold"><a href="../phpHtmlLib/Container.html#methodpush">Container::push()</a></td>
300 jonen 1.1 <td CLASS="font10">Same as add().</td>
301 jonen 1.2 <tr>
302     <td CLASS="font10bold"><a href="../phpHtmlLib/Container.html#methodpush_reference">Container::push_reference()</a></td>
303     <td CLASS="font10">Same as add_reference NOTE : only exists for compatibility with 1.1.x</td>
304     <tr>
305     <td CLASS="font10bold"><a href="../phpHtmlLib/Container.html#methodrender">Container::render()</a></td>
306     <td CLASS="font10">This function is compatible with the rest of the phpHtmllib API spec.</td>
307     <tr>
308     <td CLASS="font10bold"><a href="../phpHtmlLib/Container.html#methodreset_content">Container::reset_content()</a></td>
309 jonen 1.1 <td CLASS="font10">destroy existing content and start with new content.</td>
310 jonen 1.2 <tr>
311     <td CLASS="font10bold"><a href="../phpHtmlLib/Container.html#methodset_collapse">Container::set_collapse()</a></td>
312 jonen 1.1 <td CLASS="font10">This function turns on the collapse flag</td>
313 jonen 1.2 <tr>
314     <td CLASS="font10bold"><a href="../phpHtmlLib/Container.html#methodset_indent_flag">Container::set_indent_flag()</a></td>
315 jonen 1.1 <td CLASS="font10">function to set the indent flag</td>
316 jonen 1.2 <tr>
317     <td CLASS="font10bold"><a href="../phpHtmlLib/Container.html#method_set_flags">Container::_set_flags()</a></td>
318     <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>
319     </table>
320 jonen 1.1 <br>
321     </TD>
322     </TR>
323 jonen 1.2 </TABLE>
324 jonen 1.1 <hr>
325     <!-- ============ VARIABLE DETAIL =========== -->
326    
327     <A NAME='variable_detail'></A>
328     <TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='100%' CLASS="border">
329     <TR BGCOLOR='#CCCCFF' CLASS='TableHeadingColor'>
330     <TD>
331     <span CLASS="font12bold">Variable Detail</span>
332     <A HREF="#top" CLASS="links">^TOP</A>
333     </TD>
334     </TR>
335     </TABLE>
336    
337 jonen 1.2 <A NAME='var$_default_td_attributes'><!-- --></A><H3>$_default_td_attributes</H3> (line <span class="linenumber">1504</span>)<br />
338     <b>Data type:</b> array<br>Holds the default attributes for all &lt;td&gt;'s
339     <br />
340 jonen 1.1
341     <UL>
342 jonen 1.2 <LI><b>private</b> - <CODE></CODE></LI>
343     </UL>
344 jonen 1.1 <HR>
345 jonen 1.2 <A NAME='var$_tag'><!-- --></A><H3>$_tag</H3> (line <span class="linenumber">1497</span>)<br />
346 jonen 1.1 <b>Data type:</b> mixed<br>
347 jonen 1.2 <br />
348 jonen 1.1
349     <UL>
350 jonen 1.2 </UL>
351 jonen 1.1 <HR>
352     <hr>
353 jonen 1.2 <!-- ============ METHOD DETAIL =========== -->
354 jonen 1.1
355 jonen 1.2 <A NAME='method_detail'></A>
356 jonen 1.1 <TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='100%' CLASS="border">
357     <TR BGCOLOR='#CCCCFF' CLASS='TableHeadingColor'>
358     <TD>
359     <span class="font12bold">Method Detail</span>
360     <A HREF="#top" CLASS="links">^TOP</A>
361     </TD>
362     </TR>
363     </TABLE>
364     <BR>
365     <DIV CLASS="function">
366 jonen 1.2 <A NAME='methodadd'><!-- --></A>
367     <SPAN CLASS="font12bold">add</SPAN> (line <span class="linenumber">1536</span>)
368 jonen 1.1 <BR>
369 jonen 1.2 <SPAN CLASS="font10bold">Usage : </SPAN>
370 jonen 1.1 <span class="font10bold" style="color: #FF0000">void</SPAN>&nbsp;
371 jonen 1.2 <span class="font10bold" style="color: #0000FF">add(
372     mixed
373     $content)</SPAN>
374 jonen 1.1 <BR>
375    
376     <BR>
377     <SPAN CLASS="font10bold">Description : </SPAN>
378 jonen 1.2 add content onto content stack adds content to tag as a FIFO.
379     <br />
380     <p>You can have n number of parameters. each one will get added in succession to the content.</p><p>we override this from the parent so we can auto detect if the user is adding raw strings instead of objects. If they are trying to add raw strings, then we wrap that in a TDtag object, since you can't add anything other then a &lt;TD&gt; or &lt;TH&gt; to a &lt;TR&gt;.</p>
381 jonen 1.1 <DL>
382 jonen 1.2 <DT class="font10bold">Function Parameters:</DT>
383     <DD CLASS="font10" STYLE="padding-bottom:5px;"><span STYLE="font-style: italic;">- <span style="color: #FF0000;font-weight:bold;">mixed</SPAN> <span style="color: #0000FF;font-weight:bold">$content</SPAN></SPAN> - either string, or tag object.</DD>
384    
385     <DT class="font10bold">Function Info:</DT>
386     <DD CLASS="font10" STYLE="padding-bottom:5px;"><b>access</b> - public</DD>
387     </DL>
388 jonen 1.1 </DIV>
389     <BR>
390     <DIV CLASS="function">
391 jonen 1.2 <A NAME='methodadd_reference'><!-- --></A>
392     <SPAN CLASS="font12bold">add_reference</SPAN> (line <span class="linenumber">1576</span>)
393 jonen 1.1 <BR>
394 jonen 1.2 <SPAN CLASS="font10bold">Usage : </SPAN>
395 jonen 1.1 <span class="font10bold" style="color: #FF0000">void</SPAN>&nbsp;
396 jonen 1.2 <span class="font10bold" style="color: #0000FF">add_reference(
397     mixed
398     &$content, mixed
399     $content)</SPAN>
400 jonen 1.1 <BR>
401    
402     <BR>
403     <SPAN CLASS="font10bold">Description : </SPAN>
404     add content onto content stack
405 jonen 1.2 <br />
406     <p>adds content to tag as a FIFO You can only add 1 element at a time, and it will be added as a reference. So you can't do add_reference("something");, since "something" is a static.</p><p>we override this from the parent so we can auto detect if the user is adding raw strings instead of objects. If they are trying to add raw strings, then we wrap that in a TDtag object, since you can't add anything other then a &lt;TD&gt; or &lt;TH&gt; to a &lt;TR&gt;.</p>
407 jonen 1.1 <DL>
408 jonen 1.2 <DT class="font10bold">Function Parameters:</DT>
409     <DD CLASS="font10" STYLE="padding-bottom:5px;"><span STYLE="font-style: italic;">- <span style="color: #FF0000;font-weight:bold;">mixed</SPAN> <span style="color: #0000FF;font-weight:bold">$content</SPAN></SPAN> - either string, or tag object. the tag object gets stored as a reference to the original, so you can add it, then modify it later.</DD>
410    
411     <DT class="font10bold">Function Info:</DT>
412     <DD CLASS="font10" STYLE="padding-bottom:5px;"><b>access</b> - public</DD>
413     </DL>
414 jonen 1.1 </DIV>
415     <BR>
416     <DIV CLASS="function">
417 jonen 1.2 <A NAME='methodpush'><!-- --></A>
418     <SPAN CLASS="font12bold">push</SPAN> (line <span class="linenumber">1600</span>)
419 jonen 1.1 <BR>
420 jonen 1.2 <SPAN CLASS="font10bold">Usage : </SPAN>
421 jonen 1.1 <span class="font10bold" style="color: #FF0000">void</SPAN>&nbsp;
422 jonen 1.2 <span class="font10bold" style="color: #0000FF">push(
423     )</SPAN>
424 jonen 1.1 <BR>
425    
426     <BR>
427     <SPAN CLASS="font10bold">Description : </SPAN>
428     Same ass add()
429 jonen 1.2 <br />
430     <p>NOTE: only exists for compatibility with 1.x</p>
431 jonen 1.1 <DL>
432    
433 jonen 1.2 <DT class="font10bold">Function Info:</DT>
434     <DD CLASS="font10" STYLE="padding-bottom:5px;"><b>deprecated</b> - - use add()</DD>
435     </DL>
436 jonen 1.1 </DIV>
437     <BR>
438     <DIV CLASS="function">
439 jonen 1.2 <A NAME='methodpush_reference'><!-- --></A>
440     <SPAN CLASS="font12bold">push_reference</SPAN> (line <span class="linenumber">1612</span>)
441 jonen 1.1 <BR>
442 jonen 1.2 <SPAN CLASS="font10bold">Usage : </SPAN>
443 jonen 1.1 <span class="font10bold" style="color: #FF0000">void</SPAN>&nbsp;
444 jonen 1.2 <span class="font10bold" style="color: #0000FF">push_reference(
445     mixed
446     &$content)</SPAN>
447 jonen 1.1 <BR>
448    
449     <BR>
450     <SPAN CLASS="font10bold">Description : </SPAN>
451     Same ass add_reference()
452 jonen 1.2 <br />
453     <p>NOTE: only exists for compatibility with 1.x</p>
454 jonen 1.1 <DL>
455    
456 jonen 1.2 <DT class="font10bold">Function Info:</DT>
457     <DD CLASS="font10" STYLE="padding-bottom:5px;"><b>deprecated</b> - - use add()</DD>
458     </DL>
459 jonen 1.1 </DIV>
460     <BR>
461     <DIV CLASS="function">
462 jonen 1.2 <A NAME='methodset_default_td_attributes'><!-- --></A>
463     <SPAN CLASS="font12bold">set_default_td_attributes</SPAN> (line <span class="linenumber">1518</span>)
464 jonen 1.1 <BR>
465 jonen 1.2 <SPAN CLASS="font10bold">Usage : </SPAN>
466 jonen 1.1 <span class="font10bold" style="color: #FF0000">void</SPAN>&nbsp;
467 jonen 1.2 <span class="font10bold" style="color: #0000FF">set_default_td_attributes(
468     array
469     $attributes)</SPAN>
470 jonen 1.1 <BR>
471    
472     <BR>
473     <SPAN CLASS="font10bold">Description : </SPAN>
474 jonen 1.2 Sets the default attributes for &lt;td&gt;'s that are added to the table. If there are any attributes set for the &lt;td&gt; it won't use the defaults.
475     <br />
476    
477 jonen 1.1 <DL>
478 jonen 1.2 <DT class="font10bold">Function Parameters:</DT>
479     <DD CLASS="font10" STYLE="padding-bottom:5px;"><span STYLE="font-style: italic;">- <span style="color: #FF0000;font-weight:bold;">array</SPAN> <span style="color: #0000FF;font-weight:bold">$attributes</SPAN></SPAN> - the default attributes</DD>
480    
481     <DT class="font10bold">Function Info:</DT>
482     </DL>
483 jonen 1.1 </DIV>
484     <BR>
485 jonen 1.2 <div id="credit">
486     <hr>
487     Documention generated on Thu, 20 Feb 2003 16:22:29 -0800 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.2.0rc1</a>
488     </div>
489     </body>
490     </html>

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