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