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:25 -0800' --> |
6 |
jonen |
1.1 |
<TITLE>Docs For Class TABLEtag</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 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 |
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 TABLEtag |
30 |
jonen |
1.2 |
</H2> (line <span class="linenumber">1198</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 |
|
|
--TABLEtag</pre> |
39 |
jonen |
1.2 |
<SPAN class="type">Classes extended from TABLEtag:</SPAN> |
40 |
|
|
<dl> |
41 |
|
|
<dt><a href="../phpHtmlLib/TBODYtag.html">TBODYtag</a></dt> |
42 |
|
|
<dd><TBODY> class.</dd> |
43 |
|
|
</dl> |
44 |
|
|
<dl> |
45 |
|
|
<dt><a href="../phpHtmlLib/TFOOTtag.html">TFOOTtag</a></dt> |
46 |
|
|
<dd><TFOOT> tag class</dd> |
47 |
|
|
</dl> |
48 |
|
|
<dl> |
49 |
|
|
<dt><a href="../phpHtmlLib/THEADtag.html">THEADtag</a></dt> |
50 |
|
|
<dd>Table Header <THEAD> class.</dd> |
51 |
|
|
</dl> |
52 |
|
|
</p> |
53 |
jonen |
1.1 |
<p> |
54 |
|
|
<b><i>Located in File: Program_Root/tag_classes/ALLTAGS.inc</i></b><br> |
55 |
|
|
</p> |
56 |
|
|
<hr> |
57 |
|
|
<TABLE> tag class |
58 |
jonen |
1.2 |
<br /> |
59 |
|
|
<p>The <table> tag defines the start of a table. Inside a table row you can put table headers, table rows, and table cells.</p> |
60 |
jonen |
1.1 |
<UL> |
61 |
jonen |
1.2 |
<LI><b>author</b> - <CODE>Walter A. Boring IV <<a href="mailto:waboring@buildabetterweb.com">mailto:waboring@buildabetterweb.com</a>></CODE></LI> |
62 |
|
|
</UL> |
63 |
jonen |
1.1 |
<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 |
jonen |
1.2 |
<!-- =========== Summary =========== --> |
75 |
jonen |
1.1 |
<TR BGCOLOR='white' CLASS='TableRowColor'> |
76 |
|
|
<TD> |
77 |
jonen |
1.2 |
<CODE><B><A HREF="../phpHtmlLib/TABLEtag.html#var$_default_col_attributes">$_default_col_attributes</A></B></CODE> |
78 |
jonen |
1.1 |
<BR> |
79 |
|
|
<blockquote> Holds the default attributes for all <td>'s </blockquote> |
80 |
|
|
<blockquote> Default Value: <CODE>->array()<-</CODE> </blockquote> |
81 |
|
|
</TD> |
82 |
|
|
</TR> |
83 |
jonen |
1.2 |
<!-- =========== Summary =========== --> |
84 |
jonen |
1.1 |
<TR BGCOLOR='white' CLASS='TableRowColor'> |
85 |
|
|
<TD> |
86 |
jonen |
1.2 |
<CODE><B><A HREF="../phpHtmlLib/TABLEtag.html#var$_default_row_attributes">$_default_row_attributes</A></B></CODE> |
87 |
jonen |
1.1 |
<BR> |
88 |
|
|
<blockquote> Holds the default attributes for all <tr>'s </blockquote> |
89 |
|
|
<blockquote> Default Value: <CODE>->array()<-</CODE> </blockquote> |
90 |
|
|
</TD> |
91 |
|
|
</TR> |
92 |
jonen |
1.2 |
<!-- =========== Summary =========== --> |
93 |
jonen |
1.1 |
<TR BGCOLOR='white' CLASS='TableRowColor'> |
94 |
|
|
<TD> |
95 |
jonen |
1.2 |
<CODE><B><A HREF="../phpHtmlLib/TABLEtag.html#var$_tag">$_tag</A></B></CODE> |
96 |
jonen |
1.1 |
<BR> |
97 |
|
|
<blockquote> </blockquote> |
98 |
jonen |
1.2 |
<blockquote> Default Value: <CODE>-> "table"<-</CODE> </blockquote> |
99 |
jonen |
1.1 |
</TD> |
100 |
|
|
</TR> |
101 |
jonen |
1.2 |
</TABLE> |
102 |
jonen |
1.1 |
<hr> |
103 |
|
|
<!-- =========== VAR INHERITED SUMMARY =========== --> |
104 |
|
|
<A NAME='var_inherited_summary'><!-- --></A> |
105 |
|
|
<TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='100%' CLASS="border"> |
106 |
jonen |
1.2 |
<TR BGCOLOR='#CCCCFF' CLASS='TableHeadingColor'> |
107 |
jonen |
1.1 |
<TD> |
108 |
|
|
<span CLASS="font12bold">Inherited Class Variable Summary</span> |
109 |
|
|
<A HREF="#top" CLASS="links">^TOP</A> |
110 |
|
|
</TD> |
111 |
|
|
</TR> |
112 |
|
|
|
113 |
jonen |
1.2 |
<!-- =========== Summary =========== --> |
114 |
jonen |
1.1 |
<TR BGCOLOR='white'> |
115 |
|
|
<TD> |
116 |
jonen |
1.2 |
<span CLASS="font10bold">Inherited From Class <a href="../phpHtmlLib/Container.html">Container</a></span> |
117 |
jonen |
1.1 |
<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 |
jonen |
1.2 |
<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 |
jonen |
1.1 |
</tr> |
128 |
jonen |
1.2 |
</table> |
129 |
jonen |
1.1 |
<BR> |
130 |
|
|
</TD> |
131 |
|
|
</TR> |
132 |
jonen |
1.2 |
</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 <td>'s that are added to the table. If there are any attributes set for the <td> it won't use the defaults. </blockquote> |
183 |
|
|
</TD> |
184 |
|
|
</TR> |
185 |
|
|
<!-- =========== Summary =========== --> |
186 |
|
|
<TR BGCOLOR='white' CLASS='TableRowColor'> |
187 |
jonen |
1.1 |
<TD> |
188 |
jonen |
1.2 |
<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 <tr>'s that are added to the table. If there are any attributes set for the <tr> it won't use the defaults. </blockquote> |
191 |
|
|
</TD> |
192 |
jonen |
1.1 |
</TR> |
193 |
jonen |
1.2 |
<!-- =========== Summary =========== --> |
194 |
|
|
<TR BGCOLOR='white' CLASS='TableRowColor'> |
195 |
jonen |
1.1 |
<TD> |
196 |
jonen |
1.2 |
<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 |
jonen |
1.1 |
</TR> |
201 |
jonen |
1.2 |
</TABLE> |
202 |
jonen |
1.1 |
<!-- =========== INHERITED METHOD SUMMARY =========== --> |
203 |
|
|
<A NAME='functions_inherited'><!-- --></A> |
204 |
|
|
<TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='100%' CLASS="border"> |
205 |
jonen |
1.2 |
<TR BGCOLOR='#CCCCFF' CLASS='TableHeadingColor'> |
206 |
jonen |
1.1 |
<TD> |
207 |
|
|
<span CLASS="font12bold">Inherited Method Summary</span> |
208 |
|
|
<A HREF="#top" CLASS="links">^TOP</A> |
209 |
|
|
</TD> |
210 |
|
|
</TR> |
211 |
|
|
|
212 |
jonen |
1.2 |
<!-- =========== Summary =========== --> |
213 |
jonen |
1.1 |
<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 |
jonen |
1.2 |
<tr> |
222 |
|
|
<td CLASS="font10bold"><a href="../phpHtmlLib/HTMLTagClass.html#methodHTMLTagClass">HTMLTagClass::HTMLTagClass()</a></td> |
223 |
jonen |
1.1 |
<td CLASS="font10">Class Constructor</td> |
224 |
jonen |
1.2 |
<tr> |
225 |
|
|
<td CLASS="font10bold"><a href="../phpHtmlLib/HTMLTagClass.html#methodrender">HTMLTagClass::render()</a></td> |
226 |
jonen |
1.1 |
<td CLASS="font10">Renders the tag, attributes, content and close tag.</td> |
227 |
jonen |
1.2 |
<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 |
jonen |
1.1 |
<td CLASS="font10">this builds an attribute for a tag.</td> |
239 |
jonen |
1.2 |
<tr> |
240 |
|
|
<td CLASS="font10bold"><a href="../phpHtmlLib/HTMLTagClass.html#method_render_tag_debug">HTMLTagClass::_render_tag_debug()</a></td> |
241 |
jonen |
1.1 |
<td CLASS="font10">This renders that open tag in debug mode.</td> |
242 |
jonen |
1.2 |
</table> |
243 |
jonen |
1.1 |
<br> |
244 |
|
|
</TD> |
245 |
|
|
</TR> |
246 |
jonen |
1.2 |
<!-- =========== Summary =========== --> |
247 |
jonen |
1.1 |
<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 |
jonen |
1.2 |
<tr> |
256 |
|
|
<td CLASS="font10bold"><a href="../phpHtmlLib/XMLTagClass.html#methodXMLTagClass">XMLTagClass::XMLTagClass()</a></td> |
257 |
jonen |
1.1 |
<td CLASS="font10">The constructor</td> |
258 |
jonen |
1.2 |
<tr> |
259 |
|
|
<td CLASS="font10bold"><a href="../phpHtmlLib/XMLTagClass.html#methodget_tag">XMLTagClass::get_tag()</a></td> |
260 |
jonen |
1.1 |
<td CLASS="font10">This returns the tag declared for this class.</td> |
261 |
jonen |
1.2 |
<tr> |
262 |
|
|
<td CLASS="font10bold"><a href="../phpHtmlLib/XMLTagClass.html#methodget_tag_name">XMLTagClass::get_tag_name()</a></td> |
263 |
jonen |
1.1 |
<td CLASS="font10">This method gets the name of the tag</td> |
264 |
jonen |
1.2 |
<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 |
jonen |
1.1 |
<td CLASS="font10">clear all attributes and start with new attributes</td> |
270 |
jonen |
1.2 |
<tr> |
271 |
|
|
<td CLASS="font10bold"><a href="../phpHtmlLib/XMLTagClass.html#methodset_collapse">XMLTagClass::set_collapse()</a></td> |
272 |
jonen |
1.1 |
<td CLASS="font10">This function turns on the collapse flag</td> |
273 |
jonen |
1.2 |
<tr> |
274 |
|
|
<td CLASS="font10bold"><a href="../phpHtmlLib/XMLTagClass.html#methodset_newline_after_closetag">XMLTagClass::set_newline_after_closetag()</a></td> |
275 |
jonen |
1.1 |
<td CLASS="font10">set the newline_after_content flag</td> |
276 |
jonen |
1.2 |
<tr> |
277 |
|
|
<td CLASS="font10bold"><a href="../phpHtmlLib/XMLTagClass.html#methodset_newline_after_opentag">XMLTagClass::set_newline_after_opentag()</a></td> |
278 |
jonen |
1.1 |
<td CLASS="font10">set the newline_after_opentag flag</td> |
279 |
jonen |
1.2 |
<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 |
jonen |
1.1 |
<td CLASS="font10">This method sets the name of the tag</td> |
288 |
jonen |
1.2 |
<tr> |
289 |
|
|
<td CLASS="font10bold"><a href="../phpHtmlLib/XMLTagClass.html#method_build_attribute_string">XMLTagClass::_build_attribute_string()</a></td> |
290 |
jonen |
1.1 |
<td CLASS="font10">this builds an attribute for an XML tag.</td> |
291 |
jonen |
1.2 |
<tr> |
292 |
|
|
<td CLASS="font10bold"><a href="../phpHtmlLib/XMLTagClass.html#method_get_element">XMLTagClass::_get_element()</a></td> |
293 |
jonen |
1.1 |
<td CLASS="font10">get the nth element from content array</td> |
294 |
jonen |
1.2 |
<tr> |
295 |
|
|
<td CLASS="font10bold"><a href="../phpHtmlLib/XMLTagClass.html#method_prepare_flags">XMLTagClass::_prepare_flags()</a></td> |
296 |
jonen |
1.1 |
<td CLASS="font10">This function checks to see if</td> |
297 |
jonen |
1.2 |
<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 |
jonen |
1.1 |
<br> |
311 |
|
|
</TD> |
312 |
|
|
</TR> |
313 |
jonen |
1.2 |
<!-- =========== Summary =========== --> |
314 |
jonen |
1.1 |
<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 |
jonen |
1.2 |
<tr> |
323 |
|
|
<td CLASS="font10bold"><a href="../phpHtmlLib/Container.html#methodContainer">Container::Container()</a></td> |
324 |
jonen |
1.1 |
<td CLASS="font10">The constructor.</td> |
325 |
jonen |
1.2 |
<tr> |
326 |
|
|
<td CLASS="font10bold"><a href="../phpHtmlLib/Container.html#methodadd">Container::add()</a></td> |
327 |
jonen |
1.1 |
<td CLASS="font10">add content onto content stack</td> |
328 |
jonen |
1.2 |
<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 |
jonen |
1.1 |
<td CLASS="font10">counts the number of content objects</td> |
334 |
jonen |
1.2 |
<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 |
jonen |
1.1 |
<td CLASS="font10">Same as add().</td> |
340 |
jonen |
1.2 |
<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 |
jonen |
1.1 |
<td CLASS="font10">destroy existing content and start with new content.</td> |
349 |
jonen |
1.2 |
<tr> |
350 |
|
|
<td CLASS="font10bold"><a href="../phpHtmlLib/Container.html#methodset_collapse">Container::set_collapse()</a></td> |
351 |
jonen |
1.1 |
<td CLASS="font10">This function turns on the collapse flag</td> |
352 |
jonen |
1.2 |
<tr> |
353 |
|
|
<td CLASS="font10bold"><a href="../phpHtmlLib/Container.html#methodset_indent_flag">Container::set_indent_flag()</a></td> |
354 |
jonen |
1.1 |
<td CLASS="font10">function to set the indent flag</td> |
355 |
jonen |
1.2 |
<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 |
jonen |
1.1 |
<br> |
360 |
|
|
</TD> |
361 |
|
|
</TR> |
362 |
jonen |
1.2 |
</TABLE> |
363 |
jonen |
1.1 |
<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 |
jonen |
1.2 |
<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 <td>'s |
378 |
|
|
<br /> |
379 |
jonen |
1.1 |
|
380 |
|
|
<UL> |
381 |
jonen |
1.2 |
<LI><b>private</b> - <CODE></CODE></LI> |
382 |
|
|
</UL> |
383 |
jonen |
1.1 |
<HR> |
384 |
jonen |
1.2 |
<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 <tr>'s |
386 |
|
|
<br /> |
387 |
jonen |
1.1 |
|
388 |
|
|
<UL> |
389 |
jonen |
1.2 |
<LI><b>private</b> - <CODE></CODE></LI> |
390 |
|
|
</UL> |
391 |
jonen |
1.1 |
<HR> |
392 |
jonen |
1.2 |
<A NAME='var$_tag'><!-- --></A><H3>$_tag</H3> (line <span class="linenumber">1199</span>)<br /> |
393 |
jonen |
1.1 |
<b>Data type:</b> mixed<br> |
394 |
jonen |
1.2 |
<br /> |
395 |
jonen |
1.1 |
|
396 |
|
|
<UL> |
397 |
jonen |
1.2 |
</UL> |
398 |
jonen |
1.1 |
<HR> |
399 |
|
|
<hr> |
400 |
jonen |
1.2 |
<!-- ============ METHOD DETAIL =========== --> |
401 |
jonen |
1.1 |
|
402 |
jonen |
1.2 |
<A NAME='method_detail'></A> |
403 |
jonen |
1.1 |
<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 |
jonen |
1.2 |
<A NAME='methodadd_row'><!-- --></A> |
414 |
|
|
<SPAN CLASS="font12bold">add_row</SPAN> (line <span class="linenumber">1238</span>) |
415 |
jonen |
1.1 |
<BR> |
416 |
jonen |
1.2 |
<SPAN CLASS="font10bold">Usage : </SPAN> |
417 |
jonen |
1.1 |
<span class="font10bold" style="color: #FF0000">string</SPAN> |
418 |
jonen |
1.2 |
<span class="font10bold" style="color: #0000FF">add_row( |
419 |
|
|
mixed |
420 |
|
|
$args)</SPAN> |
421 |
jonen |
1.1 |
<BR> |
422 |
|
|
|
423 |
|
|
<BR> |
424 |
|
|
<SPAN CLASS="font10bold">Description : </SPAN> |
425 |
|
|
push 1 row (tr) of content. |
426 |
jonen |
1.2 |
<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 <TR> 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 |
jonen |
1.1 |
<DL> |
429 |
jonen |
1.2 |
<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 <td>'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 |
jonen |
1.1 |
</DIV> |
436 |
|
|
<BR> |
437 |
|
|
<DIV CLASS="function"> |
438 |
jonen |
1.2 |
<A NAME='methodpush_row'><!-- --></A> |
439 |
|
|
<SPAN CLASS="font12bold">push_row</SPAN> (line <span class="linenumber">1285</span>) |
440 |
jonen |
1.1 |
<BR> |
441 |
jonen |
1.2 |
<SPAN CLASS="font10bold">Usage : </SPAN> |
442 |
jonen |
1.1 |
<span class="font10bold" style="color: #FF0000">void</SPAN> |
443 |
jonen |
1.2 |
<span class="font10bold" style="color: #0000FF">push_row( |
444 |
|
|
)</SPAN> |
445 |
jonen |
1.1 |
<BR> |
446 |
|
|
|
447 |
|
|
<BR> |
448 |
|
|
<SPAN CLASS="font10bold">Description : </SPAN> |
449 |
|
|
Same ass add_row() |
450 |
jonen |
1.2 |
<br /> |
451 |
|
|
<p>NOTE: only exists for compatibility with 1.x</p> |
452 |
jonen |
1.1 |
<DL> |
453 |
|
|
|
454 |
jonen |
1.2 |
<DT class="font10bold">Function Info:</DT> |
455 |
|
|
<DD CLASS="font10" STYLE="padding-bottom:5px;"><b>deprecated</b> - - use add()</DD> |
456 |
|
|
</DL> |
457 |
jonen |
1.1 |
</DIV> |
458 |
|
|
<BR> |
459 |
|
|
<DIV CLASS="function"> |
460 |
jonen |
1.2 |
<A NAME='methodset_cell_attributes'><!-- --></A> |
461 |
|
|
<SPAN CLASS="font12bold">set_cell_attributes</SPAN> (line <span class="linenumber">1327</span>) |
462 |
jonen |
1.1 |
<BR> |
463 |
jonen |
1.2 |
<SPAN CLASS="font10bold">Usage : </SPAN> |
464 |
jonen |
1.1 |
<span class="font10bold" style="color: #FF0000">void</SPAN> |
465 |
jonen |
1.2 |
<span class="font10bold" style="color: #0000FF">set_cell_attributes( |
466 |
|
|
int |
467 |
|
|
$row, int |
468 |
|
|
$col, [array |
469 |
|
|
$attributes = array()])</SPAN> |
470 |
jonen |
1.1 |
<BR> |
471 |
|
|
|
472 |
|
|
<BR> |
473 |
|
|
<SPAN CLASS="font10bold">Description : </SPAN> |
474 |
|
|
update the attributes of a particular element or td. |
475 |
jonen |
1.2 |
<br /> |
476 |
jonen |
1.1 |
|
477 |
|
|
<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;">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=>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 |
jonen |
1.1 |
</DIV> |
487 |
|
|
<BR> |
488 |
|
|
<DIV CLASS="function"> |
489 |
jonen |
1.2 |
<A NAME='methodset_cell_content'><!-- --></A> |
490 |
|
|
<SPAN CLASS="font12bold">set_cell_content</SPAN> (line <span class="linenumber">1353</span>) |
491 |
jonen |
1.1 |
<BR> |
492 |
jonen |
1.2 |
<SPAN CLASS="font10bold">Usage : </SPAN> |
493 |
jonen |
1.1 |
<span class="font10bold" style="color: #FF0000">void</SPAN> |
494 |
jonen |
1.2 |
<span class="font10bold" style="color: #0000FF">set_cell_content( |
495 |
|
|
mixed |
496 |
|
|
$row, mixed |
497 |
|
|
$col, mixed |
498 |
|
|
$content)</SPAN> |
499 |
jonen |
1.1 |
<BR> |
500 |
|
|
|
501 |
|
|
<BR> |
502 |
|
|
<SPAN CLASS="font10bold">Description : </SPAN> |
503 |
|
|
|
504 |
jonen |
1.2 |
<br /> |
505 |
jonen |
1.1 |
|
506 |
|
|
<DL> |
507 |
|
|
|
508 |
jonen |
1.2 |
<DT class="font10bold">Function Info:</DT> |
509 |
|
|
</DL> |
510 |
jonen |
1.1 |
</DIV> |
511 |
|
|
<BR> |
512 |
|
|
<DIV CLASS="function"> |
513 |
jonen |
1.2 |
<A NAME='methodset_default_col_attributes'><!-- --></A> |
514 |
|
|
<SPAN CLASS="font12bold">set_default_col_attributes</SPAN> (line <span class="linenumber">1311</span>) |
515 |
jonen |
1.1 |
<BR> |
516 |
jonen |
1.2 |
<SPAN CLASS="font10bold">Usage : </SPAN> |
517 |
jonen |
1.1 |
<span class="font10bold" style="color: #FF0000">void</SPAN> |
518 |
jonen |
1.2 |
<span class="font10bold" style="color: #0000FF">set_default_col_attributes( |
519 |
|
|
array |
520 |
|
|
$attributes)</SPAN> |
521 |
jonen |
1.1 |
<BR> |
522 |
|
|
|
523 |
|
|
<BR> |
524 |
|
|
<SPAN CLASS="font10bold">Description : </SPAN> |
525 |
jonen |
1.2 |
Sets the default attributes for <td>'s that are added to the table. If there are any attributes set for the <td> it won't use the defaults. |
526 |
|
|
<br /> |
527 |
|
|
|
528 |
jonen |
1.1 |
<DL> |
529 |
jonen |
1.2 |
<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 |
jonen |
1.1 |
</DIV> |
535 |
|
|
<BR> |
536 |
|
|
<DIV CLASS="function"> |
537 |
jonen |
1.2 |
<A NAME='methodset_default_row_attributes'><!-- --></A> |
538 |
|
|
<SPAN CLASS="font12bold">set_default_row_attributes</SPAN> (line <span class="linenumber">1298</span>) |
539 |
jonen |
1.1 |
<BR> |
540 |
jonen |
1.2 |
<SPAN CLASS="font10bold">Usage : </SPAN> |
541 |
jonen |
1.1 |
<span class="font10bold" style="color: #FF0000">void</SPAN> |
542 |
jonen |
1.2 |
<span class="font10bold" style="color: #0000FF">set_default_row_attributes( |
543 |
|
|
array |
544 |
|
|
$attributes)</SPAN> |
545 |
jonen |
1.1 |
<BR> |
546 |
|
|
|
547 |
|
|
<BR> |
548 |
|
|
<SPAN CLASS="font10bold">Description : </SPAN> |
549 |
jonen |
1.2 |
Sets the default attributes for <tr>'s that are added to the table. If there are any attributes set for the <tr> it won't use the defaults. |
550 |
|
|
<br /> |
551 |
|
|
|
552 |
jonen |
1.1 |
<DL> |
553 |
jonen |
1.2 |
<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 |
jonen |
1.1 |
</DIV> |
559 |
|
|
<BR> |
560 |
|
|
<DIV CLASS="function"> |
561 |
jonen |
1.2 |
<A NAME='methodset_row_attributes'><!-- --></A> |
562 |
|
|
<SPAN CLASS="font12bold">set_row_attributes</SPAN> (line <span class="linenumber">1345</span>) |
563 |
jonen |
1.1 |
<BR> |
564 |
jonen |
1.2 |
<SPAN CLASS="font10bold">Usage : </SPAN> |
565 |
jonen |
1.1 |
<span class="font10bold" style="color: #FF0000">void</SPAN> |
566 |
jonen |
1.2 |
<span class="font10bold" style="color: #0000FF">set_row_attributes( |
567 |
|
|
int |
568 |
|
|
$row, array |
569 |
|
|
$attributes, int |
570 |
|
|
$col)</SPAN> |
571 |
jonen |
1.1 |
<BR> |
572 |
|
|
|
573 |
|
|
<BR> |
574 |
|
|
<SPAN CLASS="font10bold">Description : </SPAN> |
575 |
|
|
update the attributes of a particular row or tr. |
576 |
jonen |
1.2 |
<br /> |
577 |
jonen |
1.1 |
|
578 |
|
|
<DL> |
579 |
jonen |
1.2 |
<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=>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 |
jonen |
1.1 |
</DIV> |
588 |
|
|
<BR> |
589 |
jonen |
1.2 |
<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> |