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 TABLEtag</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 TABLEtag">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 TABLEtag |
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 |
--TABLEtag</pre> |
43 |
</pre> |
44 |
|
45 |
<A NAME="children_summary"</A> |
46 |
<H3> |
47 |
Classes extended from TABLEtag: <A HREF="#top" CLASS="links">^TOP</A> |
48 |
</H3> |
49 |
<a href="../phpHtmlLib/TBODYtag.html">TBODYtag</a>, <a href="../phpHtmlLib/TFOOTtag.html">TFOOTtag</a>, <a href="../phpHtmlLib/THEADtag.html">THEADtag</a> |
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> tag class |
56 |
<BR> |
57 |
The <table> tag defines the start of a table. |
58 |
Inside a table row you can put table headers, |
59 |
table rows, and table cells. |
60 |
|
61 |
<UL> |
62 |
|
63 |
<LI><b>Package</b> - <CODE>phpHtmlLib</CODE></LI> |
64 |
|
65 |
</UL> |
66 |
|
67 |
<hr> |
68 |
<!-- =========== VAR SUMMARY =========== --> |
69 |
<A NAME='var_summary'><!-- --></A> |
70 |
<TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='100%' CLASS="border"> |
71 |
<TR BGCOLOR='#CCCCFF' CLASS='TableHeadingColor'> |
72 |
<TD> |
73 |
<span CLASS="font12bold">Class Variable Summary</span> |
74 |
<A HREF="#top" CLASS="links">^TOP</A> |
75 |
</TD> |
76 |
</TR> |
77 |
|
78 |
|
79 |
<!-- =========== Summary =========== --> |
80 |
<TR BGCOLOR='white' CLASS='TableRowColor'> |
81 |
<TD> |
82 |
<CODE><B><A HREF='TABLEtag.html#$_default_col_attributes'>$_default_col_attributes</A></B></CODE> |
83 |
<BR> |
84 |
<blockquote> Holds the default attributes for all <td>'s </blockquote> |
85 |
<blockquote> Default Value: <CODE>->array()<-</CODE> </blockquote> |
86 |
</TD> |
87 |
</TR> |
88 |
|
89 |
<!-- =========== Summary =========== --> |
90 |
<TR BGCOLOR='white' CLASS='TableRowColor'> |
91 |
<TD> |
92 |
<CODE><B><A HREF='TABLEtag.html#$_default_row_attributes'>$_default_row_attributes</A></B></CODE> |
93 |
<BR> |
94 |
<blockquote> Holds the default attributes for all <tr>'s </blockquote> |
95 |
<blockquote> Default Value: <CODE>->array()<-</CODE> </blockquote> |
96 |
</TD> |
97 |
</TR> |
98 |
|
99 |
<!-- =========== Summary =========== --> |
100 |
<TR BGCOLOR='white' CLASS='TableRowColor'> |
101 |
<TD> |
102 |
<CODE><B><A HREF='TABLEtag.html#$_tag'>$_tag</A></B></CODE> |
103 |
<BR> |
104 |
<blockquote> </blockquote> |
105 |
<blockquote> Default Value: <CODE>->table<-</CODE> </blockquote> |
106 |
</TD> |
107 |
</TR> |
108 |
|
109 |
</TABLE> |
110 |
|
111 |
<hr> |
112 |
<!-- =========== VAR INHERITED SUMMARY =========== --> |
113 |
<A NAME='var_inherited_summary'><!-- --></A> |
114 |
<TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='100%' CLASS="border"> |
115 |
<TR CLASS='TableHeadingColor'> |
116 |
<TD> |
117 |
<span CLASS="font12bold">Inherited Class Variable Summary</span> |
118 |
<A HREF="#top" CLASS="links">^TOP</A> |
119 |
</TD> |
120 |
</TR> |
121 |
|
122 |
|
123 |
<!-- =========== Summary =========== --> |
124 |
<TR BGCOLOR='white'> |
125 |
<TD> |
126 |
<span CLASS="font10bold">Inherited From Class <a href="../phpHtmlLib/HTMLTagClass.html">HTMLTagClass</a></span> |
127 |
<table CELLPADDING='3' CELLSPACING='0' WIDTH='95%' CLASS="border" ALIGN="center"> |
128 |
<tr CLASS="tableheadingcolor"> |
129 |
<th>Variable</th> |
130 |
<th>Default Value</th> |
131 |
<th>Description</th> |
132 |
</tr> |
133 |
|
134 |
<tr> |
135 |
<td CLASS="font10bold"><A HREF='../phpHtmlLib/HTMLTagClass.html#$_depricated'>$_depricated</A></td> |
136 |
<td CLASS="font10" STYLE="white-space: nowrap">->FALSE<-</td> |
137 |
<td CLASS="font10">Flag to denote that this tag is |
138 |
depricated by the HTML standard.</td> |
139 |
</tr> |
140 |
|
141 |
<tr> |
142 |
<td CLASS="font10bold"><A HREF='../phpHtmlLib/HTMLTagClass.html#$_no_finish_slash_xhtml'>$_no_finish_slash_xhtml</A></td> |
143 |
<td CLASS="font10" STYLE="white-space: nowrap">->FALSE<-</td> |
144 |
<td CLASS="font10">Flag to tell the renderer not to |
145 |
place the /> if we are in xhtml |
146 |
compliant mode.</td> |
147 |
</tr> |
148 |
|
149 |
<tr> |
150 |
<td CLASS="font10bold"><A HREF='../phpHtmlLib/HTMLTagClass.html#$_xhtml_strict_attributes'>$_xhtml_strict_attributes</A></td> |
151 |
<td CLASS="font10" STYLE="white-space: nowrap">->array()<-</td> |
152 |
<td CLASS="font10">The list of attributes not to render |
153 |
if HTML_RENDER_TYPE is "XHTML STRICT"</td> |
154 |
</tr> |
155 |
|
156 |
</table> |
157 |
<BR> |
158 |
</TD> |
159 |
</TR> |
160 |
|
161 |
<!-- =========== Summary =========== --> |
162 |
<TR BGCOLOR='white'> |
163 |
<TD> |
164 |
<span CLASS="font10bold">Inherited From Class <a href="../phpHtmlLib/XMLTagClass.html">XMLTagClass</a></span> |
165 |
<table CELLPADDING='3' CELLSPACING='0' WIDTH='95%' CLASS="border" ALIGN="center"> |
166 |
<tr CLASS="tableheadingcolor"> |
167 |
<th>Variable</th> |
168 |
<th>Default Value</th> |
169 |
<th>Description</th> |
170 |
</tr> |
171 |
|
172 |
<tr> |
173 |
<td CLASS="font10bold"><A HREF='../phpHtmlLib/XMLTagClass.html#$newline_after_closetag'>$newline_after_closetag</A></td> |
174 |
<td CLASS="font10" STYLE="white-space: nowrap">->TRUE<-</td> |
175 |
<td CLASS="font10">Flag to place a newline after close tag.</td> |
176 |
</tr> |
177 |
|
178 |
<tr> |
179 |
<td CLASS="font10bold"><A HREF='../phpHtmlLib/XMLTagClass.html#$newline_after_opentag'>$newline_after_opentag</A></td> |
180 |
<td CLASS="font10" STYLE="white-space: nowrap">->TRUE<-</td> |
181 |
<td CLASS="font10">Flag to place a newline after open tag.</td> |
182 |
</tr> |
183 |
|
184 |
<tr> |
185 |
<td CLASS="font10bold"><A HREF='../phpHtmlLib/XMLTagClass.html#$_cdata_content_wrap'>$_cdata_content_wrap</A></td> |
186 |
<td CLASS="font10" STYLE="white-space: nowrap">->FALSE<-</td> |
187 |
<td CLASS="font10">Automatically wrap ALL content</td> |
188 |
</tr> |
189 |
|
190 |
<tr> |
191 |
<td CLASS="font10bold"><A HREF='../phpHtmlLib/XMLTagClass.html#$_tag_postfix'>$_tag_postfix</A></td> |
192 |
<td CLASS="font10" STYLE="white-space: nowrap">->><-</td> |
193 |
<td CLASS="font10">holds the tag postfix</td> |
194 |
</tr> |
195 |
|
196 |
<tr> |
197 |
<td CLASS="font10bold"><A HREF='../phpHtmlLib/XMLTagClass.html#$_tag_prefix'>$_tag_prefix</A></td> |
198 |
<td CLASS="font10" STYLE="white-space: nowrap">-><<-</td> |
199 |
<td CLASS="font10">holds the tag prefix</td> |
200 |
</tr> |
201 |
|
202 |
</table> |
203 |
<BR> |
204 |
</TD> |
205 |
</TR> |
206 |
|
207 |
<!-- =========== Summary =========== --> |
208 |
<TR BGCOLOR='white'> |
209 |
<TD> |
210 |
<span CLASS="font10bold">Inherited From Class <a href="../phpHtmlLib/Container.html">Container</a></span> |
211 |
<table CELLPADDING='3' CELLSPACING='0' WIDTH='95%' CLASS="border" ALIGN="center"> |
212 |
<tr CLASS="tableheadingcolor"> |
213 |
<th>Variable</th> |
214 |
<th>Default Value</th> |
215 |
<th>Description</th> |
216 |
</tr> |
217 |
|
218 |
<tr> |
219 |
<td CLASS="font10bold"><A HREF='../phpHtmlLib/Container.html#$indent_flag'>$indent_flag</A></td> |
220 |
<td CLASS="font10" STYLE="white-space: nowrap">->TRUE<-</td> |
221 |
<td CLASS="font10">Flag for pretty (indented) output</td> |
222 |
</tr> |
223 |
|
224 |
<tr> |
225 |
<td CLASS="font10bold"><A HREF='../phpHtmlLib/Container.html#$_newline_after_content_flag'>$_newline_after_content_flag</A></td> |
226 |
<td CLASS="font10" STYLE="white-space: nowrap">->TRUE<-</td> |
227 |
<td CLASS="font10">Do we render a newline after the |
228 |
contents has been rendered?</td> |
229 |
</tr> |
230 |
|
231 |
</table> |
232 |
<BR> |
233 |
</TD> |
234 |
</TR> |
235 |
|
236 |
</TABLE> |
237 |
|
238 |
<hr> |
239 |
<!-- =========== INHERITED METHOD SUMMARY =========== --> |
240 |
<A NAME='functions_inherited'><!-- --></A> |
241 |
<TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='100%' CLASS="border"> |
242 |
<TR CLASS='TableHeadingColor'> |
243 |
<TD> |
244 |
<span CLASS="font12bold">Inherited Method Summary</span> |
245 |
<A HREF="#top" CLASS="links">^TOP</A> |
246 |
</TD> |
247 |
</TR> |
248 |
|
249 |
|
250 |
<!-- =========== Summary =========== --> |
251 |
<TR BGCOLOR='white' CLASS='TableRowColor'> |
252 |
<TD> |
253 |
<span CLASS="font10bold">Inherited From Class <a href="../phpHtmlLib/HTMLTagClass.html">HTMLTagClass</a></span> |
254 |
<TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='95%' CLASS="border" ALIGN="center"> |
255 |
<tr CLASS="tableheadingcolor"> |
256 |
<th>Function</th> |
257 |
<th>Description</th> |
258 |
</tr> |
259 |
|
260 |
<tr> |
261 |
<td CLASS="font10bold"><A HREF='../phpHtmlLib/HTMLTagClass.html#constructor HTMLTagClass'>constructor HTMLTagClass ( [$attributes = NULL] )</A></td> |
262 |
<td CLASS="font10">Class Constructor</td> |
263 |
|
264 |
<tr> |
265 |
<td CLASS="font10bold"><A HREF='../phpHtmlLib/HTMLTagClass.html#render'>render ( [$indent_level = NULL], [$output_debug = 0] )</A></td> |
266 |
<td CLASS="font10">Renders the tag, attributes, content and close tag.</td> |
267 |
|
268 |
<tr> |
269 |
<td CLASS="font10bold"><A HREF='../phpHtmlLib/HTMLTagClass.html#set_class'>set_class ( $value )</A></td> |
270 |
<td CLASS="font10">This function is a shorthand helper |
271 |
to setting the class attribute on a |
272 |
tag.</td> |
273 |
|
274 |
<tr> |
275 |
<td CLASS="font10bold"><A HREF='../phpHtmlLib/HTMLTagClass.html#set_id'>set_id ( $value )</A></td> |
276 |
<td CLASS="font10">This function is a shorthand helper |
277 |
to setting the id attribute on a |
278 |
tag.</td> |
279 |
|
280 |
<tr> |
281 |
<td CLASS="font10bold"><A HREF='../phpHtmlLib/HTMLTagClass.html#set_style'>set_style ( $value )</A></td> |
282 |
<td CLASS="font10">This function is a shorthand helper |
283 |
to setting the style attribute on a |
284 |
tag.</td> |
285 |
|
286 |
<tr> |
287 |
<td CLASS="font10bold"><A HREF='../phpHtmlLib/HTMLTagClass.html#_build_attribute_string'>_build_attribute_string ( $name, $value, [$debug = 0] )</A></td> |
288 |
<td CLASS="font10">this builds an attribute for a tag.</td> |
289 |
|
290 |
<tr> |
291 |
<td CLASS="font10bold"><A HREF='../phpHtmlLib/HTMLTagClass.html#_render_tag_debug'>_render_tag_debug ( $indent_level )</A></td> |
292 |
<td CLASS="font10">This renders that open tag in debug mode.</td> |
293 |
|
294 |
</table> |
295 |
<br> |
296 |
</TD> |
297 |
</TR> |
298 |
|
299 |
<!-- =========== Summary =========== --> |
300 |
<TR BGCOLOR='white' CLASS='TableRowColor'> |
301 |
<TD> |
302 |
<span CLASS="font10bold">Inherited From Class <a href="../phpHtmlLib/XMLTagClass.html">XMLTagClass</a></span> |
303 |
<TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='95%' CLASS="border" ALIGN="center"> |
304 |
<tr CLASS="tableheadingcolor"> |
305 |
<th>Function</th> |
306 |
<th>Description</th> |
307 |
</tr> |
308 |
|
309 |
<tr> |
310 |
<td CLASS="font10bold"><A HREF='../phpHtmlLib/XMLTagClass.html#constructor XMLTagClass'>constructor XMLTagClass ( [$name = ], [$attributes = array()] )</A></td> |
311 |
<td CLASS="font10">The constructor</td> |
312 |
|
313 |
<tr> |
314 |
<td CLASS="font10bold"><A HREF='../phpHtmlLib/XMLTagClass.html#get_tag'>get_tag ( )</A></td> |
315 |
<td CLASS="font10">This returns the tag declared for this class.</td> |
316 |
|
317 |
<tr> |
318 |
<td CLASS="font10bold"><A HREF='../phpHtmlLib/XMLTagClass.html#get_tag_name'>get_tag_name ( )</A></td> |
319 |
<td CLASS="font10">This method gets the name of the tag</td> |
320 |
|
321 |
<tr> |
322 |
<td CLASS="font10bold"><A HREF='../phpHtmlLib/XMLTagClass.html#render'>render ( [$indent_level = 0] )</A></td> |
323 |
<td CLASS="font10">This function is responsible</td> |
324 |
|
325 |
<tr> |
326 |
<td CLASS="font10bold"><A HREF='../phpHtmlLib/XMLTagClass.html#reset_attributes'>reset_attributes ( [$attributes = array()] )</A></td> |
327 |
<td CLASS="font10">clear all attributes and start with new attributes</td> |
328 |
|
329 |
<tr> |
330 |
<td CLASS="font10bold"><A HREF='../phpHtmlLib/XMLTagClass.html#set_collapse'>set_collapse ( [$collapse = TRUE], [$indent = TRUE] )</A></td> |
331 |
<td CLASS="font10">This function turns on the collapse flag</td> |
332 |
|
333 |
<tr> |
334 |
<td CLASS="font10bold"><A HREF='../phpHtmlLib/XMLTagClass.html#set_newline_after_closetag'>set_newline_after_closetag ( $flag )</A></td> |
335 |
<td CLASS="font10">set the newline_after_content flag</td> |
336 |
|
337 |
<tr> |
338 |
<td CLASS="font10bold"><A HREF='../phpHtmlLib/XMLTagClass.html#set_newline_after_opentag'>set_newline_after_opentag ( $flag )</A></td> |
339 |
<td CLASS="font10">set the newline_after_opentag flag</td> |
340 |
|
341 |
<tr> |
342 |
<td CLASS="font10bold"><A HREF='../phpHtmlLib/XMLTagClass.html#set_tag_attribute'>set_tag_attribute ( $name, [$value = NULL] )</A></td> |
343 |
<td CLASS="font10">add a single attribute (name="value")</td> |
344 |
|
345 |
<tr> |
346 |
<td CLASS="font10bold"><A HREF='../phpHtmlLib/XMLTagClass.html#set_tag_attributes'>set_tag_attributes ( [$attributes = array()] )</A></td> |
347 |
<td CLASS="font10">add multiple attributes (name="value")</td> |
348 |
|
349 |
<tr> |
350 |
<td CLASS="font10bold"><A HREF='../phpHtmlLib/XMLTagClass.html#set_tag_name'>set_tag_name ( $name )</A></td> |
351 |
<td CLASS="font10">This method sets the name of the tag</td> |
352 |
|
353 |
<tr> |
354 |
<td CLASS="font10bold"><A HREF='../phpHtmlLib/XMLTagClass.html#_build_attribute_string'>_build_attribute_string ( $name, $value )</A></td> |
355 |
<td CLASS="font10">this builds an attribute for an XML tag.</td> |
356 |
|
357 |
<tr> |
358 |
<td CLASS="font10bold"><A HREF='../phpHtmlLib/XMLTagClass.html#_get_element'>_get_element ( $cell )</A></td> |
359 |
<td CLASS="font10">get the nth element from content array</td> |
360 |
|
361 |
<tr> |
362 |
<td CLASS="font10bold"><A HREF='../phpHtmlLib/XMLTagClass.html#_prepare_flags'>_prepare_flags ( )</A></td> |
363 |
<td CLASS="font10">This function checks to see if</td> |
364 |
|
365 |
<tr> |
366 |
<td CLASS="font10bold"><A HREF='../phpHtmlLib/XMLTagClass.html#_render_close_tag'>_render_close_tag ( $indent_level )</A></td> |
367 |
<td CLASS="font10">this function is reposnsible for |
368 |
rendering the closing tag (if any)</td> |
369 |
|
370 |
<tr> |
371 |
<td CLASS="font10bold"><A HREF='../phpHtmlLib/XMLTagClass.html#_render_content'>_render_content ( $indent_level, [$output_debug = 0] )</A></td> |
372 |
<td CLASS="font10">this function is reponsible for</td> |
373 |
|
374 |
<tr> |
375 |
<td CLASS="font10bold"><A HREF='../phpHtmlLib/XMLTagClass.html#_render_open_tag'>_render_open_tag ( $indent_level, [$finish_slash = TRUE] )</A></td> |
376 |
<td CLASS="font10">this function is responsible for |
377 |
rendering the open tag.</td> |
378 |
|
379 |
</table> |
380 |
<br> |
381 |
</TD> |
382 |
</TR> |
383 |
|
384 |
<!-- =========== Summary =========== --> |
385 |
<TR BGCOLOR='white' CLASS='TableRowColor'> |
386 |
<TD> |
387 |
<span CLASS="font10bold">Inherited From Class <a href="../phpHtmlLib/Container.html">Container</a></span> |
388 |
<TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='95%' CLASS="border" ALIGN="center"> |
389 |
<tr CLASS="tableheadingcolor"> |
390 |
<th>Function</th> |
391 |
<th>Description</th> |
392 |
</tr> |
393 |
|
394 |
<tr> |
395 |
<td CLASS="font10bold"><A HREF='../phpHtmlLib/Container.html#constructor Container'>constructor Container ( )</A></td> |
396 |
<td CLASS="font10">The constructor.</td> |
397 |
|
398 |
<tr> |
399 |
<td CLASS="font10bold"><A HREF='../phpHtmlLib/Container.html#add'>add ( )</A></td> |
400 |
<td CLASS="font10">add content onto content stack</td> |
401 |
|
402 |
<tr> |
403 |
<td CLASS="font10bold"><A HREF='../phpHtmlLib/Container.html#add_reference'>add_reference ( &$content )</A></td> |
404 |
<td CLASS="font10">Add content onto content stack |
405 |
so you can change the item later.</td> |
406 |
|
407 |
<tr> |
408 |
<td CLASS="font10bold"><A HREF='../phpHtmlLib/Container.html#count_content'>count_content ( )</A></td> |
409 |
<td CLASS="font10">counts the number of content objects</td> |
410 |
|
411 |
<tr> |
412 |
<td CLASS="font10bold"><A HREF='../phpHtmlLib/Container.html#get_indent_flag'>get_indent_flag ( )</A></td> |
413 |
<td CLASS="font10">This flag gets the current value |
414 |
of the indent flag</td> |
415 |
|
416 |
<tr> |
417 |
<td CLASS="font10bold"><A HREF='../phpHtmlLib/Container.html#push'>push ( )</A></td> |
418 |
<td CLASS="font10">Same as add().</td> |
419 |
|
420 |
<tr> |
421 |
<td CLASS="font10bold"><A HREF='../phpHtmlLib/Container.html#push_reference'>push_reference ( &$content )</A></td> |
422 |
<td CLASS="font10">Same as add_reference |
423 |
NOTE : only exists for compatibility with 1.1.x</td> |
424 |
|
425 |
<tr> |
426 |
<td CLASS="font10bold"><A HREF='../phpHtmlLib/Container.html#render'>render ( [$indent_level = 1], [$output_debug = 0] )</A></td> |
427 |
<td CLASS="font10">This function is compatible with the |
428 |
rest of the phpHtmllib API spec.</td> |
429 |
|
430 |
<tr> |
431 |
<td CLASS="font10bold"><A HREF='../phpHtmlLib/Container.html#reset_content'>reset_content ( )</A></td> |
432 |
<td CLASS="font10">destroy existing content and start with new content.</td> |
433 |
|
434 |
<tr> |
435 |
<td CLASS="font10bold"><A HREF='../phpHtmlLib/Container.html#set_collapse'>set_collapse ( [$collapse = TRUE], [$indent = TRUE] )</A></td> |
436 |
<td CLASS="font10">This function turns on the collapse flag</td> |
437 |
|
438 |
<tr> |
439 |
<td CLASS="font10bold"><A HREF='../phpHtmlLib/Container.html#set_indent_flag'>set_indent_flag ( $flag )</A></td> |
440 |
<td CLASS="font10">function to set the indent flag</td> |
441 |
|
442 |
</table> |
443 |
<br> |
444 |
</TD> |
445 |
</TR> |
446 |
|
447 |
</TABLE> |
448 |
|
449 |
<hr> |
450 |
<!-- should have constructor at some point --> |
451 |
<!-- =========== Method SUMMARY =========== --> |
452 |
<A NAME='Method_summary'><!-- --></A> |
453 |
<TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='100%' Class="border"> |
454 |
<TR BGCOLOR='#CCCCFF' CLASS='TableHeadingColor'> |
455 |
<TD> |
456 |
<span class="font12bold">Method Summary</span> |
457 |
<A HREF="#top" CLASS="links">^TOP</A> |
458 |
</TD> |
459 |
</TR> |
460 |
|
461 |
|
462 |
<!-- =========== Summary =========== --> |
463 |
<TR BGCOLOR='white' CLASS='TableRowColor'> |
464 |
<TD> |
465 |
<CODE><B><A HREF='TABLEtag.html#add_row'>string add_row ( )</A></B></CODE> |
466 |
<BR> |
467 |
<blockquote> push 1 row (tr) of content. </blockquote> |
468 |
</TD> |
469 |
</TR> |
470 |
|
471 |
<!-- =========== Summary =========== --> |
472 |
<TR BGCOLOR='white' CLASS='TableRowColor'> |
473 |
<TD> |
474 |
<CODE><B><A HREF='TABLEtag.html#push_row'>void push_row ( )</A></B></CODE> |
475 |
<BR> |
476 |
<blockquote> Same ass add_row() </blockquote> |
477 |
</TD> |
478 |
</TR> |
479 |
|
480 |
<!-- =========== Summary =========== --> |
481 |
<TR BGCOLOR='white' CLASS='TableRowColor'> |
482 |
<TD> |
483 |
<CODE><B><A HREF='TABLEtag.html#set_cell_attributes'>void set_cell_attributes ( $row, $col, [$attributes = array()] )</A></B></CODE> |
484 |
<BR> |
485 |
<blockquote> update the attributes of a particular element or td. </blockquote> |
486 |
</TD> |
487 |
</TR> |
488 |
|
489 |
<!-- =========== Summary =========== --> |
490 |
<TR BGCOLOR='white' CLASS='TableRowColor'> |
491 |
<TD> |
492 |
<CODE><B><A HREF='TABLEtag.html#set_cell_content'>void set_cell_content ( $row, $col, $content )</A></B></CODE> |
493 |
<BR> |
494 |
<blockquote> </blockquote> |
495 |
</TD> |
496 |
</TR> |
497 |
|
498 |
<!-- =========== Summary =========== --> |
499 |
<TR BGCOLOR='white' CLASS='TableRowColor'> |
500 |
<TD> |
501 |
<CODE><B><A HREF='TABLEtag.html#set_default_col_attributes'>void set_default_col_attributes ( $attributes )</A></B></CODE> |
502 |
<BR> |
503 |
<blockquote> Sets the default attributes for <td>'s |
504 |
that are added to the table. </blockquote> |
505 |
</TD> |
506 |
</TR> |
507 |
|
508 |
<!-- =========== Summary =========== --> |
509 |
<TR BGCOLOR='white' CLASS='TableRowColor'> |
510 |
<TD> |
511 |
<CODE><B><A HREF='TABLEtag.html#set_default_row_attributes'>void set_default_row_attributes ( $attributes )</A></B></CODE> |
512 |
<BR> |
513 |
<blockquote> Sets the default attributes for <tr>'s |
514 |
that are added to the table. </blockquote> |
515 |
</TD> |
516 |
</TR> |
517 |
|
518 |
<!-- =========== Summary =========== --> |
519 |
<TR BGCOLOR='white' CLASS='TableRowColor'> |
520 |
<TD> |
521 |
<CODE><B><A HREF='TABLEtag.html#set_row_attributes'>void set_row_attributes ( $row, $attributes )</A></B></CODE> |
522 |
<BR> |
523 |
<blockquote> update the attributes of a particular row or tr. </blockquote> |
524 |
</TD> |
525 |
</TR> |
526 |
|
527 |
</TABLE> |
528 |
|
529 |
<hr> |
530 |
<!-- ============ VARIABLE DETAIL =========== --> |
531 |
|
532 |
<A NAME='variable_detail'></A> |
533 |
<TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='100%' CLASS="border"> |
534 |
<TR BGCOLOR='#CCCCFF' CLASS='TableHeadingColor'> |
535 |
<TD> |
536 |
<span CLASS="font12bold">Variable Detail</span> |
537 |
<A HREF="#top" CLASS="links">^TOP</A> |
538 |
</TD> |
539 |
</TR> |
540 |
</TABLE> |
541 |
|
542 |
|
543 |
<A NAME='$_default_col_attributes'><!-- --></A><H3>$_default_col_attributes</H3> |
544 |
<b>Data type:</b> array<br> |
545 |
<!-- ========== Info from phpDoc block ========= --> |
546 |
Holds the default attributes for all <td>'s |
547 |
<BR> |
548 |
|
549 |
|
550 |
<UL> |
551 |
|
552 |
<LI><b>Private</b> - <CODE></CODE></LI> |
553 |
|
554 |
</UL> |
555 |
|
556 |
<HR> |
557 |
|
558 |
<A NAME='$_default_row_attributes'><!-- --></A><H3>$_default_row_attributes</H3> |
559 |
<b>Data type:</b> array<br> |
560 |
<!-- ========== Info from phpDoc block ========= --> |
561 |
Holds the default attributes for all <tr>'s |
562 |
<BR> |
563 |
|
564 |
|
565 |
<UL> |
566 |
|
567 |
<LI><b>Private</b> - <CODE></CODE></LI> |
568 |
|
569 |
</UL> |
570 |
|
571 |
<HR> |
572 |
|
573 |
<A NAME='$_tag'><!-- --></A><H3>$_tag</H3> |
574 |
<b>Data type:</b> mixed<br> |
575 |
<!-- ========== Info from phpDoc block ========= --> |
576 |
|
577 |
<BR> |
578 |
|
579 |
|
580 |
<UL> |
581 |
|
582 |
</UL> |
583 |
|
584 |
<HR> |
585 |
|
586 |
|
587 |
<hr> |
588 |
<!-- ============ FUNCTION DETAIL =========== --> |
589 |
|
590 |
<A NAME='function_detail'></A> |
591 |
<TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='100%' CLASS="border"> |
592 |
<TR BGCOLOR='#CCCCFF' CLASS='TableHeadingColor'> |
593 |
<TD> |
594 |
<span class="font12bold">Method Detail</span> |
595 |
<A HREF="#top" CLASS="links">^TOP</A> |
596 |
</TD> |
597 |
</TR> |
598 |
</TABLE> |
599 |
<BR> |
600 |
|
601 |
<DIV CLASS="function"> |
602 |
<A NAME='add_row'><!-- --></A> |
603 |
<SPAN CLASS="font12bold">add_row</SPAN> |
604 |
<BR> |
605 |
<SPAN CLASS="font10bold">Useage : </SPAN> |
606 |
<span class="font10bold" style="color: #FF0000">string</SPAN> |
607 |
<span class="font10bold" style="color: #0000FF">add_row ( )</SPAN> |
608 |
<BR> |
609 |
|
610 |
<BR> |
611 |
<SPAN CLASS="font10bold">Description : </SPAN> |
612 |
<!-- ========== Info from phpDoc block ========= --> |
613 |
push 1 row (tr) of content. |
614 |
<BR> |
615 |
Content can be raw strings, or tag objects. |
616 |
Can push 1 item, or multiple items in call. Each item |
617 |
will be its own td. should call push() to push a |
618 |
<TR> object, but we detect it here anyway. |
619 |
This function does not save the content by reference. |
620 |
It copies the content and pushes it into the table. |
621 |
If you want to save a reference use push() instead. |
622 |
<DL> |
623 |
<DT class="font10bold">Function Parameters:</DT> |
624 |
|
625 |
<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 <td>'s to push for next row</DD> |
626 |
|
627 |
|
628 |
<DT class="font10bold">Function Info:</DT> |
629 |
|
630 |
<DD CLASS="font10" STYLE="padding-bottom:5px;"><b>Public</b> - </DD> |
631 |
|
632 |
</DL> |
633 |
|
634 |
</DIV> |
635 |
<BR> |
636 |
|
637 |
<DIV CLASS="function"> |
638 |
<A NAME='push_row'><!-- --></A> |
639 |
<SPAN CLASS="font12bold">push_row</SPAN> |
640 |
<BR> |
641 |
<SPAN CLASS="font10bold">Useage : </SPAN> |
642 |
<span class="font10bold" style="color: #FF0000">void</SPAN> |
643 |
<span class="font10bold" style="color: #0000FF">push_row ( )</SPAN> |
644 |
<BR> |
645 |
|
646 |
<BR> |
647 |
<SPAN CLASS="font10bold">Description : </SPAN> |
648 |
<!-- ========== Info from phpDoc block ========= --> |
649 |
Same ass add_row() |
650 |
<BR> |
651 |
NOTE: only exists for compatibility with 1.x |
652 |
<DL> |
653 |
<DT class="font10bold">Function Parameters:</DT> |
654 |
|
655 |
|
656 |
<DT class="font10bold">Function Info:</DT> |
657 |
|
658 |
<DD CLASS="font10" STYLE="padding-bottom:5px;"><b>Deprecated</b> - - use add()</DD> |
659 |
|
660 |
</DL> |
661 |
|
662 |
</DIV> |
663 |
<BR> |
664 |
|
665 |
<DIV CLASS="function"> |
666 |
<A NAME='set_cell_attributes'><!-- --></A> |
667 |
<SPAN CLASS="font12bold">set_cell_attributes</SPAN> |
668 |
<BR> |
669 |
<SPAN CLASS="font10bold">Useage : </SPAN> |
670 |
<span class="font10bold" style="color: #FF0000">void</SPAN> |
671 |
<span class="font10bold" style="color: #0000FF">set_cell_attributes ( $row, $col, [$attributes = array()] )</SPAN> |
672 |
<BR> |
673 |
|
674 |
<BR> |
675 |
<SPAN CLASS="font10bold">Description : </SPAN> |
676 |
<!-- ========== Info from phpDoc block ========= --> |
677 |
update the attributes of a particular element or td. |
678 |
<BR> |
679 |
|
680 |
<DL> |
681 |
<DT class="font10bold">Function Parameters:</DT> |
682 |
|
683 |
<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> |
684 |
|
685 |
<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> |
686 |
|
687 |
<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=>value pairs</DD> |
688 |
|
689 |
|
690 |
<DT class="font10bold">Function Info:</DT> |
691 |
|
692 |
<DD CLASS="font10" STYLE="padding-bottom:5px;"><b>Public</b> - </DD> |
693 |
|
694 |
</DL> |
695 |
|
696 |
</DIV> |
697 |
<BR> |
698 |
|
699 |
<DIV CLASS="function"> |
700 |
<A NAME='set_cell_content'><!-- --></A> |
701 |
<SPAN CLASS="font12bold">set_cell_content</SPAN> |
702 |
<BR> |
703 |
<SPAN CLASS="font10bold">Useage : </SPAN> |
704 |
<span class="font10bold" style="color: #FF0000">void</SPAN> |
705 |
<span class="font10bold" style="color: #0000FF">set_cell_content ( $row, $col, $content )</SPAN> |
706 |
<BR> |
707 |
|
708 |
<BR> |
709 |
<SPAN CLASS="font10bold">Description : </SPAN> |
710 |
<!-- ========== Info from phpDoc block ========= --> |
711 |
|
712 |
<BR> |
713 |
|
714 |
<DL> |
715 |
<DT class="font10bold">Function Parameters:</DT> |
716 |
|
717 |
|
718 |
<DT class="font10bold">Function Info:</DT> |
719 |
|
720 |
</DL> |
721 |
|
722 |
</DIV> |
723 |
<BR> |
724 |
|
725 |
<DIV CLASS="function"> |
726 |
<A NAME='set_default_col_attributes'><!-- --></A> |
727 |
<SPAN CLASS="font12bold">set_default_col_attributes</SPAN> |
728 |
<BR> |
729 |
<SPAN CLASS="font10bold">Useage : </SPAN> |
730 |
<span class="font10bold" style="color: #FF0000">void</SPAN> |
731 |
<span class="font10bold" style="color: #0000FF">set_default_col_attributes ( $attributes )</SPAN> |
732 |
<BR> |
733 |
|
734 |
<BR> |
735 |
<SPAN CLASS="font10bold">Description : </SPAN> |
736 |
<!-- ========== Info from phpDoc block ========= --> |
737 |
Sets the default attributes for <td>'s |
738 |
that are added to the table. |
739 |
<BR> |
740 |
If there are |
741 |
any attributes set for the <td> it won't use |
742 |
the defaults. |
743 |
<DL> |
744 |
<DT class="font10bold">Function Parameters:</DT> |
745 |
|
746 |
<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> |
747 |
|
748 |
|
749 |
<DT class="font10bold">Function Info:</DT> |
750 |
|
751 |
</DL> |
752 |
|
753 |
</DIV> |
754 |
<BR> |
755 |
|
756 |
<DIV CLASS="function"> |
757 |
<A NAME='set_default_row_attributes'><!-- --></A> |
758 |
<SPAN CLASS="font12bold">set_default_row_attributes</SPAN> |
759 |
<BR> |
760 |
<SPAN CLASS="font10bold">Useage : </SPAN> |
761 |
<span class="font10bold" style="color: #FF0000">void</SPAN> |
762 |
<span class="font10bold" style="color: #0000FF">set_default_row_attributes ( $attributes )</SPAN> |
763 |
<BR> |
764 |
|
765 |
<BR> |
766 |
<SPAN CLASS="font10bold">Description : </SPAN> |
767 |
<!-- ========== Info from phpDoc block ========= --> |
768 |
Sets the default attributes for <tr>'s |
769 |
that are added to the table. |
770 |
<BR> |
771 |
If there are |
772 |
any attributes set for the <tr> it won't use |
773 |
the defaults. |
774 |
<DL> |
775 |
<DT class="font10bold">Function Parameters:</DT> |
776 |
|
777 |
<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> |
778 |
|
779 |
|
780 |
<DT class="font10bold">Function Info:</DT> |
781 |
|
782 |
</DL> |
783 |
|
784 |
</DIV> |
785 |
<BR> |
786 |
|
787 |
<DIV CLASS="function"> |
788 |
<A NAME='set_row_attributes'><!-- --></A> |
789 |
<SPAN CLASS="font12bold">set_row_attributes</SPAN> |
790 |
<BR> |
791 |
<SPAN CLASS="font10bold">Useage : </SPAN> |
792 |
<span class="font10bold" style="color: #FF0000">void</SPAN> |
793 |
<span class="font10bold" style="color: #0000FF">set_row_attributes ( $row, $attributes )</SPAN> |
794 |
<BR> |
795 |
|
796 |
<BR> |
797 |
<SPAN CLASS="font10bold">Description : </SPAN> |
798 |
<!-- ========== Info from phpDoc block ========= --> |
799 |
update the attributes of a particular row or tr. |
800 |
<BR> |
801 |
|
802 |
<DL> |
803 |
<DT class="font10bold">Function Parameters:</DT> |
804 |
|
805 |
<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> |
806 |
|
807 |
<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> |
808 |
|
809 |
<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=>value pairs</DD> |
810 |
|
811 |
|
812 |
<DT class="font10bold">Function Info:</DT> |
813 |
|
814 |
<DD CLASS="font10" STYLE="padding-bottom:5px;"><b>Public</b> - </DD> |
815 |
|
816 |
</DL> |
817 |
|
818 |
</DIV> |
819 |
<BR> |
820 |
|
821 |
|
822 |
<hr> |
823 |
</HTML> |