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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations)
Thu Jan 30 03:29:23 2003 UTC (21 years, 7 months ago) by jonen
Branch: MAIN
Branch point for: no_vendor_tag
File MIME type: text/html
Initial revision

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

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