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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations)
Sat Feb 22 20:56:35 2003 UTC (21 years, 6 months ago) by jonen
Branch: MAIN
Changes since 1.1: +323 -552 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:22:25 -0800' -->
6 <TITLE>Docs For Class TABLEtag</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 TABLEtag">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 TABLEtag
30 </H2> (line <span class="linenumber">1198</span>)
31 <pre>
32 <a href="../phpHtmlLib/Container.html">Container</a>
33 |
34 --<a href="../phpHtmlLib/XMLTagClass.html">XMLTagClass</a>
35 |
36 --<a href="../phpHtmlLib/HTMLTagClass.html">HTMLTagClass</a>
37 |
38 --TABLEtag</pre>
39 <SPAN class="type">Classes extended from TABLEtag:</SPAN>
40 <dl>
41 <dt><a href="../phpHtmlLib/TBODYtag.html">TBODYtag</a></dt>
42 <dd>&lt;TBODY&gt; class.</dd>
43 </dl>
44 <dl>
45 <dt><a href="../phpHtmlLib/TFOOTtag.html">TFOOTtag</a></dt>
46 <dd>&lt;TFOOT&gt; tag class</dd>
47 </dl>
48 <dl>
49 <dt><a href="../phpHtmlLib/THEADtag.html">THEADtag</a></dt>
50 <dd>Table Header &lt;THEAD&gt; class.</dd>
51 </dl>
52 </p>
53 <p>
54 <b><i>Located in File: Program_Root/tag_classes/ALLTAGS.inc</i></b><br>
55 </p>
56 <hr>
57 &lt;TABLE&gt; tag class
58 <br />
59 <p>The &lt;table&gt; tag defines the start of a table. Inside a table row you can put table headers, table rows, and table cells.</p>
60 <UL>
61 <LI><b>author</b> - <CODE>Walter A. Boring IV &lt;<a href="mailto:waboring@buildabetterweb.com">mailto:waboring@buildabetterweb.com</a>&gt;</CODE></LI>
62 </UL>
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 <!-- =========== Summary =========== -->
75 <TR BGCOLOR='white' CLASS='TableRowColor'>
76 <TD>
77 <CODE><B><A HREF="../phpHtmlLib/TABLEtag.html#var$_default_col_attributes">$_default_col_attributes</A></B></CODE>
78 <BR>
79 <blockquote> Holds the default attributes for all &lt;td&gt;'s </blockquote>
80 <blockquote> Default Value: <CODE>->array()<-</CODE> </blockquote>
81 </TD>
82 </TR>
83 <!-- =========== Summary =========== -->
84 <TR BGCOLOR='white' CLASS='TableRowColor'>
85 <TD>
86 <CODE><B><A HREF="../phpHtmlLib/TABLEtag.html#var$_default_row_attributes">$_default_row_attributes</A></B></CODE>
87 <BR>
88 <blockquote> Holds the default attributes for all &lt;tr&gt;'s </blockquote>
89 <blockquote> Default Value: <CODE>->array()<-</CODE> </blockquote>
90 </TD>
91 </TR>
92 <!-- =========== Summary =========== -->
93 <TR BGCOLOR='white' CLASS='TableRowColor'>
94 <TD>
95 <CODE><B><A HREF="../phpHtmlLib/TABLEtag.html#var$_tag">$_tag</A></B></CODE>
96 <BR>
97 <blockquote> </blockquote>
98 <blockquote> Default Value: <CODE>->&nbsp;"table"<-</CODE> </blockquote>
99 </TD>
100 </TR>
101 </TABLE>
102 <hr>
103 <!-- =========== VAR INHERITED SUMMARY =========== -->
104 <A NAME='var_inherited_summary'><!-- --></A>
105 <TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='100%' CLASS="border">
106 <TR BGCOLOR='#CCCCFF' CLASS='TableHeadingColor'>
107 <TD>
108 <span CLASS="font12bold">Inherited Class Variable Summary</span>
109 <A HREF="#top" CLASS="links">^TOP</A>
110 </TD>
111 </TR>
112
113 <!-- =========== Summary =========== -->
114 <TR BGCOLOR='white'>
115 <TD>
116 <span CLASS="font10bold">Inherited From Class <a href="../phpHtmlLib/Container.html">Container</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 <tr>
124 <td CLASS="font10bold"><a href="../phpHtmlLib/Container.html#var$_flags">Container::$_flags</a></td>
125 <td CLASS="font10" STYLE="white-space: nowrap">-> _NEWLINEAFTERCONTENT<-</td>
126 <td CLASS="font10">The flags that tell us</td>
127 </tr>
128 </table>
129 <BR>
130 </TD>
131 </TR>
132 </TABLE>
133
134 <hr>
135 <!-- =========== METHOD SUMMARY =========== -->
136 <A NAME='method_summary'><!-- --></A>
137 <TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='100%' Class="border">
138 <TR BGCOLOR='#CCCCFF' CLASS='TableHeadingColor'>
139 <TD>
140 <span class="font12bold">Method Summary</span>
141 <A HREF="#top" CLASS="links">^TOP</A>
142 </TD>
143 </TR>
144
145 <!-- =========== Summary =========== -->
146 <TR BGCOLOR='white' CLASS='TableRowColor'>
147 <TD>
148 <CODE><B><A HREF='../phpHtmlLib/TABLEtag.html#methodadd_row'>string add_row ( )</A></B></CODE>
149 <BR>
150 <blockquote> push 1 row (tr) of content. </blockquote>
151 </TD>
152 </TR>
153 <!-- =========== Summary =========== -->
154 <TR BGCOLOR='white' CLASS='TableRowColor'>
155 <TD>
156 <CODE><B><A HREF='../phpHtmlLib/TABLEtag.html#methodpush_row'>void push_row ( )</A></B></CODE>
157 <BR>
158 <blockquote> Same ass add_row() </blockquote>
159 </TD>
160 </TR>
161 <!-- =========== Summary =========== -->
162 <TR BGCOLOR='white' CLASS='TableRowColor'>
163 <TD>
164 <CODE><B><A HREF='../phpHtmlLib/TABLEtag.html#methodset_cell_attributes'>void set_cell_attributes ( $row, $col, [$attributes = array()] )</A></B></CODE>
165 <BR>
166 <blockquote> update the attributes of a particular element or td. </blockquote>
167 </TD>
168 </TR>
169 <!-- =========== Summary =========== -->
170 <TR BGCOLOR='white' CLASS='TableRowColor'>
171 <TD>
172 <CODE><B><A HREF='../phpHtmlLib/TABLEtag.html#methodset_cell_content'>void set_cell_content ( $row, $col, $content )</A></B></CODE>
173 <BR>
174 <blockquote> </blockquote>
175 </TD>
176 </TR>
177 <!-- =========== Summary =========== -->
178 <TR BGCOLOR='white' CLASS='TableRowColor'>
179 <TD>
180 <CODE><B><A HREF='../phpHtmlLib/TABLEtag.html#methodset_default_col_attributes'>void set_default_col_attributes ( $attributes )</A></B></CODE>
181 <BR>
182 <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>
183 </TD>
184 </TR>
185 <!-- =========== Summary =========== -->
186 <TR BGCOLOR='white' CLASS='TableRowColor'>
187 <TD>
188 <CODE><B><A HREF='../phpHtmlLib/TABLEtag.html#methodset_default_row_attributes'>void set_default_row_attributes ( $attributes )</A></B></CODE>
189 <BR>
190 <blockquote> Sets the default attributes for &lt;tr&gt;'s that are added to the table. If there are any attributes set for the &lt;tr&gt; it won't use the defaults. </blockquote>
191 </TD>
192 </TR>
193 <!-- =========== Summary =========== -->
194 <TR BGCOLOR='white' CLASS='TableRowColor'>
195 <TD>
196 <CODE><B><A HREF='../phpHtmlLib/TABLEtag.html#methodset_row_attributes'>void set_row_attributes ( $row, $attributes )</A></B></CODE>
197 <BR>
198 <blockquote> update the attributes of a particular row or tr. </blockquote>
199 </TD>
200 </TR>
201 </TABLE>
202 <!-- =========== INHERITED METHOD SUMMARY =========== -->
203 <A NAME='functions_inherited'><!-- --></A>
204 <TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='100%' CLASS="border">
205 <TR BGCOLOR='#CCCCFF' CLASS='TableHeadingColor'>
206 <TD>
207 <span CLASS="font12bold">Inherited Method Summary</span>
208 <A HREF="#top" CLASS="links">^TOP</A>
209 </TD>
210 </TR>
211
212 <!-- =========== Summary =========== -->
213 <TR BGCOLOR='white' CLASS='TableRowColor'>
214 <TD>
215 <span CLASS="font10bold">Inherited From Class <a href="../phpHtmlLib/HTMLTagClass.html">HTMLTagClass</a></span>
216 <TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='95%' CLASS="border" ALIGN="center">
217 <tr CLASS="tableheadingcolor">
218 <th>Function</th>
219 <th>Description</th>
220 </tr>
221 <tr>
222 <td CLASS="font10bold"><a href="../phpHtmlLib/HTMLTagClass.html#methodHTMLTagClass">HTMLTagClass::HTMLTagClass()</a></td>
223 <td CLASS="font10">Class Constructor</td>
224 <tr>
225 <td CLASS="font10bold"><a href="../phpHtmlLib/HTMLTagClass.html#methodrender">HTMLTagClass::render()</a></td>
226 <td CLASS="font10">Renders the tag, attributes, content and close tag.</td>
227 <tr>
228 <td CLASS="font10bold"><a href="../phpHtmlLib/HTMLTagClass.html#methodset_class">HTMLTagClass::set_class()</a></td>
229 <td CLASS="font10">This function is a shorthand helper to setting the class attribute on a tag.</td>
230 <tr>
231 <td CLASS="font10bold"><a href="../phpHtmlLib/HTMLTagClass.html#methodset_id">HTMLTagClass::set_id()</a></td>
232 <td CLASS="font10">This function is a shorthand helper to setting the id attribute on a tag.</td>
233 <tr>
234 <td CLASS="font10bold"><a href="../phpHtmlLib/HTMLTagClass.html#methodset_style">HTMLTagClass::set_style()</a></td>
235 <td CLASS="font10">This function is a shorthand helper to setting the style attribute on a tag.</td>
236 <tr>
237 <td CLASS="font10bold"><a href="../phpHtmlLib/HTMLTagClass.html#method_build_attribute_string">HTMLTagClass::_build_attribute_string()</a></td>
238 <td CLASS="font10">this builds an attribute for a tag.</td>
239 <tr>
240 <td CLASS="font10bold"><a href="../phpHtmlLib/HTMLTagClass.html#method_render_tag_debug">HTMLTagClass::_render_tag_debug()</a></td>
241 <td CLASS="font10">This renders that open tag in debug mode.</td>
242 </table>
243 <br>
244 </TD>
245 </TR>
246 <!-- =========== Summary =========== -->
247 <TR BGCOLOR='white' CLASS='TableRowColor'>
248 <TD>
249 <span CLASS="font10bold">Inherited From Class <a href="../phpHtmlLib/XMLTagClass.html">XMLTagClass</a></span>
250 <TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='95%' CLASS="border" ALIGN="center">
251 <tr CLASS="tableheadingcolor">
252 <th>Function</th>
253 <th>Description</th>
254 </tr>
255 <tr>
256 <td CLASS="font10bold"><a href="../phpHtmlLib/XMLTagClass.html#methodXMLTagClass">XMLTagClass::XMLTagClass()</a></td>
257 <td CLASS="font10">The constructor</td>
258 <tr>
259 <td CLASS="font10bold"><a href="../phpHtmlLib/XMLTagClass.html#methodget_tag">XMLTagClass::get_tag()</a></td>
260 <td CLASS="font10">This returns the tag declared for this class.</td>
261 <tr>
262 <td CLASS="font10bold"><a href="../phpHtmlLib/XMLTagClass.html#methodget_tag_name">XMLTagClass::get_tag_name()</a></td>
263 <td CLASS="font10">This method gets the name of the tag</td>
264 <tr>
265 <td CLASS="font10bold"><a href="../phpHtmlLib/XMLTagClass.html#methodrender">XMLTagClass::render()</a></td>
266 <td CLASS="font10">This function is responsible for rendering the tag and its contents</td>
267 <tr>
268 <td CLASS="font10bold"><a href="../phpHtmlLib/XMLTagClass.html#methodreset_attributes">XMLTagClass::reset_attributes()</a></td>
269 <td CLASS="font10">clear all attributes and start with new attributes</td>
270 <tr>
271 <td CLASS="font10bold"><a href="../phpHtmlLib/XMLTagClass.html#methodset_collapse">XMLTagClass::set_collapse()</a></td>
272 <td CLASS="font10">This function turns on the collapse flag</td>
273 <tr>
274 <td CLASS="font10bold"><a href="../phpHtmlLib/XMLTagClass.html#methodset_newline_after_closetag">XMLTagClass::set_newline_after_closetag()</a></td>
275 <td CLASS="font10">set the newline_after_content flag</td>
276 <tr>
277 <td CLASS="font10bold"><a href="../phpHtmlLib/XMLTagClass.html#methodset_newline_after_opentag">XMLTagClass::set_newline_after_opentag()</a></td>
278 <td CLASS="font10">set the newline_after_opentag flag</td>
279 <tr>
280 <td CLASS="font10bold"><a href="../phpHtmlLib/XMLTagClass.html#methodset_tag_attribute">XMLTagClass::set_tag_attribute()</a></td>
281 <td CLASS="font10">add a single attribute (name="value")</td>
282 <tr>
283 <td CLASS="font10bold"><a href="../phpHtmlLib/XMLTagClass.html#methodset_tag_attributes">XMLTagClass::set_tag_attributes()</a></td>
284 <td CLASS="font10">add multiple attributes (name="value")</td>
285 <tr>
286 <td CLASS="font10bold"><a href="../phpHtmlLib/XMLTagClass.html#methodset_tag_name">XMLTagClass::set_tag_name()</a></td>
287 <td CLASS="font10">This method sets the name of the tag</td>
288 <tr>
289 <td CLASS="font10bold"><a href="../phpHtmlLib/XMLTagClass.html#method_build_attribute_string">XMLTagClass::_build_attribute_string()</a></td>
290 <td CLASS="font10">this builds an attribute for an XML tag.</td>
291 <tr>
292 <td CLASS="font10bold"><a href="../phpHtmlLib/XMLTagClass.html#method_get_element">XMLTagClass::_get_element()</a></td>
293 <td CLASS="font10">get the nth element from content array</td>
294 <tr>
295 <td CLASS="font10bold"><a href="../phpHtmlLib/XMLTagClass.html#method_prepare_flags">XMLTagClass::_prepare_flags()</a></td>
296 <td CLASS="font10">This function checks to see if</td>
297 <tr>
298 <td CLASS="font10bold"><a href="../phpHtmlLib/XMLTagClass.html#method_render_close_tag">XMLTagClass::_render_close_tag()</a></td>
299 <td CLASS="font10">this function is reposnsible for rendering the closing tag (if any)</td>
300 <tr>
301 <td CLASS="font10bold"><a href="../phpHtmlLib/XMLTagClass.html#method_render_content">XMLTagClass::_render_content()</a></td>
302 <td CLASS="font10">this function is reponsible for rendering the pcdata, or content of the tag (if any)</td>
303 <tr>
304 <td CLASS="font10bold"><a href="../phpHtmlLib/XMLTagClass.html#method_render_open_tag">XMLTagClass::_render_open_tag()</a></td>
305 <td CLASS="font10">this function is responsible for rendering the open tag.</td>
306 <tr>
307 <td CLASS="font10bold"><a href="../phpHtmlLib/XMLTagClass.html#method_set_flags">XMLTagClass::_set_flags()</a></td>
308 <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>
309 </table>
310 <br>
311 </TD>
312 </TR>
313 <!-- =========== Summary =========== -->
314 <TR BGCOLOR='white' CLASS='TableRowColor'>
315 <TD>
316 <span CLASS="font10bold">Inherited From Class <a href="../phpHtmlLib/Container.html">Container</a></span>
317 <TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='95%' CLASS="border" ALIGN="center">
318 <tr CLASS="tableheadingcolor">
319 <th>Function</th>
320 <th>Description</th>
321 </tr>
322 <tr>
323 <td CLASS="font10bold"><a href="../phpHtmlLib/Container.html#methodContainer">Container::Container()</a></td>
324 <td CLASS="font10">The constructor.</td>
325 <tr>
326 <td CLASS="font10bold"><a href="../phpHtmlLib/Container.html#methodadd">Container::add()</a></td>
327 <td CLASS="font10">add content onto content stack</td>
328 <tr>
329 <td CLASS="font10bold"><a href="../phpHtmlLib/Container.html#methodadd_reference">Container::add_reference()</a></td>
330 <td CLASS="font10">Add content onto content stack so you can change the item later.</td>
331 <tr>
332 <td CLASS="font10bold"><a href="../phpHtmlLib/Container.html#methodcount_content">Container::count_content()</a></td>
333 <td CLASS="font10">counts the number of content objects</td>
334 <tr>
335 <td CLASS="font10bold"><a href="../phpHtmlLib/Container.html#methodget_indent_flag">Container::get_indent_flag()</a></td>
336 <td CLASS="font10">This flag gets the current value of the indent flag</td>
337 <tr>
338 <td CLASS="font10bold"><a href="../phpHtmlLib/Container.html#methodpush">Container::push()</a></td>
339 <td CLASS="font10">Same as add().</td>
340 <tr>
341 <td CLASS="font10bold"><a href="../phpHtmlLib/Container.html#methodpush_reference">Container::push_reference()</a></td>
342 <td CLASS="font10">Same as add_reference NOTE : only exists for compatibility with 1.1.x</td>
343 <tr>
344 <td CLASS="font10bold"><a href="../phpHtmlLib/Container.html#methodrender">Container::render()</a></td>
345 <td CLASS="font10">This function is compatible with the rest of the phpHtmllib API spec.</td>
346 <tr>
347 <td CLASS="font10bold"><a href="../phpHtmlLib/Container.html#methodreset_content">Container::reset_content()</a></td>
348 <td CLASS="font10">destroy existing content and start with new content.</td>
349 <tr>
350 <td CLASS="font10bold"><a href="../phpHtmlLib/Container.html#methodset_collapse">Container::set_collapse()</a></td>
351 <td CLASS="font10">This function turns on the collapse flag</td>
352 <tr>
353 <td CLASS="font10bold"><a href="../phpHtmlLib/Container.html#methodset_indent_flag">Container::set_indent_flag()</a></td>
354 <td CLASS="font10">function to set the indent flag</td>
355 <tr>
356 <td CLASS="font10bold"><a href="../phpHtmlLib/Container.html#method_set_flags">Container::_set_flags()</a></td>
357 <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>
358 </table>
359 <br>
360 </TD>
361 </TR>
362 </TABLE>
363 <hr>
364 <!-- ============ VARIABLE DETAIL =========== -->
365
366 <A NAME='variable_detail'></A>
367 <TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='100%' CLASS="border">
368 <TR BGCOLOR='#CCCCFF' CLASS='TableHeadingColor'>
369 <TD>
370 <span CLASS="font12bold">Variable Detail</span>
371 <A HREF="#top" CLASS="links">^TOP</A>
372 </TD>
373 </TR>
374 </TABLE>
375
376 <A NAME='var$_default_col_attributes'><!-- --></A><H3>$_default_col_attributes</H3> (line <span class="linenumber">1214</span>)<br />
377 <b>Data type:</b> array<br>Holds the default attributes for all &lt;td&gt;'s
378 <br />
379
380 <UL>
381 <LI><b>private</b> - <CODE></CODE></LI>
382 </UL>
383 <HR>
384 <A NAME='var$_default_row_attributes'><!-- --></A><H3>$_default_row_attributes</H3> (line <span class="linenumber">1207</span>)<br />
385 <b>Data type:</b> array<br>Holds the default attributes for all &lt;tr&gt;'s
386 <br />
387
388 <UL>
389 <LI><b>private</b> - <CODE></CODE></LI>
390 </UL>
391 <HR>
392 <A NAME='var$_tag'><!-- --></A><H3>$_tag</H3> (line <span class="linenumber">1199</span>)<br />
393 <b>Data type:</b> mixed<br>
394 <br />
395
396 <UL>
397 </UL>
398 <HR>
399 <hr>
400 <!-- ============ METHOD DETAIL =========== -->
401
402 <A NAME='method_detail'></A>
403 <TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='100%' CLASS="border">
404 <TR BGCOLOR='#CCCCFF' CLASS='TableHeadingColor'>
405 <TD>
406 <span class="font12bold">Method Detail</span>
407 <A HREF="#top" CLASS="links">^TOP</A>
408 </TD>
409 </TR>
410 </TABLE>
411 <BR>
412 <DIV CLASS="function">
413 <A NAME='methodadd_row'><!-- --></A>
414 <SPAN CLASS="font12bold">add_row</SPAN> (line <span class="linenumber">1238</span>)
415 <BR>
416 <SPAN CLASS="font10bold">Usage : </SPAN>
417 <span class="font10bold" style="color: #FF0000">string</SPAN>&nbsp;
418 <span class="font10bold" style="color: #0000FF">add_row(
419 mixed
420 $args)</SPAN>
421 <BR>
422
423 <BR>
424 <SPAN CLASS="font10bold">Description : </SPAN>
425 push 1 row (tr) of content.
426 <br />
427 <p>Content can be raw strings, or tag objects. Can push 1 item, or multiple items in call. Each item will be its own td. should call push() to push a &lt;TR&gt; object, but we detect it here anyway. This function does not save the content by reference. It copies the content and pushes it into the table. If you want to save a reference use push() instead.</p>
428 <DL>
429 <DT class="font10bold">Function Parameters:</DT>
430 <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">$args</SPAN></SPAN> The &lt;td&gt;'s to push for next row</DD>
431
432 <DT class="font10bold">Function Info:</DT>
433 <DD CLASS="font10" STYLE="padding-bottom:5px;"><b>public</b> - </DD>
434 </DL>
435 </DIV>
436 <BR>
437 <DIV CLASS="function">
438 <A NAME='methodpush_row'><!-- --></A>
439 <SPAN CLASS="font12bold">push_row</SPAN> (line <span class="linenumber">1285</span>)
440 <BR>
441 <SPAN CLASS="font10bold">Usage : </SPAN>
442 <span class="font10bold" style="color: #FF0000">void</SPAN>&nbsp;
443 <span class="font10bold" style="color: #0000FF">push_row(
444 )</SPAN>
445 <BR>
446
447 <BR>
448 <SPAN CLASS="font10bold">Description : </SPAN>
449 Same ass add_row()
450 <br />
451 <p>NOTE: only exists for compatibility with 1.x</p>
452 <DL>
453
454 <DT class="font10bold">Function Info:</DT>
455 <DD CLASS="font10" STYLE="padding-bottom:5px;"><b>deprecated</b> - - use add()</DD>
456 </DL>
457 </DIV>
458 <BR>
459 <DIV CLASS="function">
460 <A NAME='methodset_cell_attributes'><!-- --></A>
461 <SPAN CLASS="font12bold">set_cell_attributes</SPAN> (line <span class="linenumber">1327</span>)
462 <BR>
463 <SPAN CLASS="font10bold">Usage : </SPAN>
464 <span class="font10bold" style="color: #FF0000">void</SPAN>&nbsp;
465 <span class="font10bold" style="color: #0000FF">set_cell_attributes(
466 int
467 $row, int
468 $col, [array
469 $attributes = array()])</SPAN>
470 <BR>
471
472 <BR>
473 <SPAN CLASS="font10bold">Description : </SPAN>
474 update the attributes of a particular element or td.
475 <br />
476
477 <DL>
478 <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;">int</SPAN> <span style="color: #0000FF;font-weight:bold">$row</SPAN></SPAN> row # of the table to edit</DD>
480 <DD CLASS="font10" STYLE="padding-bottom:5px;"><span STYLE="font-style: italic;">- <span style="color: #FF0000;font-weight:bold;">int</SPAN> <span style="color: #0000FF;font-weight:bold">$col</SPAN></SPAN> column # of the table to edit</DD>
481 <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> array of name=&gt;value pairs</DD>
482
483 <DT class="font10bold">Function Info:</DT>
484 <DD CLASS="font10" STYLE="padding-bottom:5px;"><b>public</b> - </DD>
485 </DL>
486 </DIV>
487 <BR>
488 <DIV CLASS="function">
489 <A NAME='methodset_cell_content'><!-- --></A>
490 <SPAN CLASS="font12bold">set_cell_content</SPAN> (line <span class="linenumber">1353</span>)
491 <BR>
492 <SPAN CLASS="font10bold">Usage : </SPAN>
493 <span class="font10bold" style="color: #FF0000">void</SPAN>&nbsp;
494 <span class="font10bold" style="color: #0000FF">set_cell_content(
495 mixed
496 $row, mixed
497 $col, mixed
498 $content)</SPAN>
499 <BR>
500
501 <BR>
502 <SPAN CLASS="font10bold">Description : </SPAN>
503
504 <br />
505
506 <DL>
507
508 <DT class="font10bold">Function Info:</DT>
509 </DL>
510 </DIV>
511 <BR>
512 <DIV CLASS="function">
513 <A NAME='methodset_default_col_attributes'><!-- --></A>
514 <SPAN CLASS="font12bold">set_default_col_attributes</SPAN> (line <span class="linenumber">1311</span>)
515 <BR>
516 <SPAN CLASS="font10bold">Usage : </SPAN>
517 <span class="font10bold" style="color: #FF0000">void</SPAN>&nbsp;
518 <span class="font10bold" style="color: #0000FF">set_default_col_attributes(
519 array
520 $attributes)</SPAN>
521 <BR>
522
523 <BR>
524 <SPAN CLASS="font10bold">Description : </SPAN>
525 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.
526 <br />
527
528 <DL>
529 <DT class="font10bold">Function Parameters:</DT>
530 <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>
531
532 <DT class="font10bold">Function Info:</DT>
533 </DL>
534 </DIV>
535 <BR>
536 <DIV CLASS="function">
537 <A NAME='methodset_default_row_attributes'><!-- --></A>
538 <SPAN CLASS="font12bold">set_default_row_attributes</SPAN> (line <span class="linenumber">1298</span>)
539 <BR>
540 <SPAN CLASS="font10bold">Usage : </SPAN>
541 <span class="font10bold" style="color: #FF0000">void</SPAN>&nbsp;
542 <span class="font10bold" style="color: #0000FF">set_default_row_attributes(
543 array
544 $attributes)</SPAN>
545 <BR>
546
547 <BR>
548 <SPAN CLASS="font10bold">Description : </SPAN>
549 Sets the default attributes for &lt;tr&gt;'s that are added to the table. If there are any attributes set for the &lt;tr&gt; it won't use the defaults.
550 <br />
551
552 <DL>
553 <DT class="font10bold">Function Parameters:</DT>
554 <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>
555
556 <DT class="font10bold">Function Info:</DT>
557 </DL>
558 </DIV>
559 <BR>
560 <DIV CLASS="function">
561 <A NAME='methodset_row_attributes'><!-- --></A>
562 <SPAN CLASS="font12bold">set_row_attributes</SPAN> (line <span class="linenumber">1345</span>)
563 <BR>
564 <SPAN CLASS="font10bold">Usage : </SPAN>
565 <span class="font10bold" style="color: #FF0000">void</SPAN>&nbsp;
566 <span class="font10bold" style="color: #0000FF">set_row_attributes(
567 int
568 $row, array
569 $attributes, int
570 $col)</SPAN>
571 <BR>
572
573 <BR>
574 <SPAN CLASS="font10bold">Description : </SPAN>
575 update the attributes of a particular row or tr.
576 <br />
577
578 <DL>
579 <DT class="font10bold">Function Parameters:</DT>
580 <DD CLASS="font10" STYLE="padding-bottom:5px;"><span STYLE="font-style: italic;">- <span style="color: #FF0000;font-weight:bold;">int</SPAN> <span style="color: #0000FF;font-weight:bold">$row</SPAN></SPAN> row # of the table to edit</DD>
581 <DD CLASS="font10" STYLE="padding-bottom:5px;"><span STYLE="font-style: italic;">- <span style="color: #FF0000;font-weight:bold;">int</SPAN> <span style="color: #0000FF;font-weight:bold">$col</SPAN></SPAN> column # of the table to edit</DD>
582 <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> array of name=&gt;value pairs</DD>
583
584 <DT class="font10bold">Function Info:</DT>
585 <DD CLASS="font10" STYLE="padding-bottom:5px;"><b>public</b> - </DD>
586 </DL>
587 </DIV>
588 <BR>
589 <div id="credit">
590 <hr>
591 Documention generated on Thu, 20 Feb 2003 16:22:25 -0800 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.2.0rc1</a>
592 </div>
593 </body>
594 </html>

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