/[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.2 - (show annotations)
Sat Feb 22 20:56:37 2003 UTC (21 years, 7 months ago) by jonen
Branch: MAIN
Changes since 1.1: +233 -324 lines
File MIME type: text/html
+ updated whole lib to version 2.2.1 (new FormProcessing since 2.2.0!)

1 <!DOCTYPE HTML PUBLIC '-//W3C//DTD HTML 4.0 Transitional//EN' 'http://www.w3.org/TR/REC-html40/loose.dtd'>
2 <!--NewPage-->
3 <HTML>
4 <HEAD>
5 <!-- Generated by PhpDoc date: 'Thu, 20 Feb 2003 16:24:00 -0800' -->
6 <TITLE>Docs For Class WMLTagClass</TITLE>
7 <LINK REL ='stylesheet' TYPE='text/css' HREF='../media/stylesheet.css' TITLE='Style'>
8 </HEAD>
9 <BODY style="background-color: #eeeeee; font-family: arial; font-size: .9em;">
10 <!-- Links -->
11 <a NAME="top"></A>
12 <table WIDTH="100%" class="links">
13 <TR>
14 <TD class="font10">
15 Links:
16 <A HREF="#children_summary" class="links" title="Classes extended from WMLTagClass">Child Classes</A>
17 <A HREF="#var_summary" class="links" title="Class Variable Summary">Variables</A>
18 <A HREF="#var_inherited_summary" class="links" title="Inherited Class Variable Summary">Inherited Variables</A>
19 <A HREF="#functions_inherited" class="links" title="Inherited Method Summary">Inherited Methods</A>
20 <A HREF="#method_summary" class="links" title="Method Summary">Methods</A>
21 <A HREF="#variable_detail" class="links" title="Variable Detail">Variable Detail</A>
22 <A HREF="#method_detail" class="links" title="Method Detail">Method Detail</A>
23 </TD>
24 </TR>
25 </TABLE>
26 <BR>
27 <!-- Start of Class Data -->
28 <H2>
29 Class WMLTagClass
30 </H2> (line <span class="linenumber">32</span>)
31 <pre>
32 <a href="../phpHtmlLib/Container.html">Container</a>
33 |
34 --<a href="../phpHtmlLib/XMLTagClass.html">XMLTagClass</a>
35 |
36 --WMLTagClass</pre>
37 <SPAN class="type">Classes extended from WMLTagClass:</SPAN>
38 <dl>
39 <dt><a href="../phpHtmlLib/ACCESStag.html">ACCESStag</a></dt>
40 <dd>&lt;ACCESS&gt; tag class</dd>
41 </dl>
42 <dl>
43 <dt><a href="../phpHtmlLib/ANCHORtag.html">ANCHORtag</a></dt>
44 <dd>&lt;ANCHOR&gt; tag class</dd>
45 </dl>
46 <dl>
47 <dt><a href="../phpHtmlLib/CARDtag.html">CARDtag</a></dt>
48 <dd>&lt;CARD&gt; tag class</dd>
49 </dl>
50 <dl>
51 <dt><a href="../phpHtmlLib/DOtag.html">DOtag</a></dt>
52 <dd>&lt;DO&gt; tag class</dd>
53 </dl>
54 <dl>
55 <dt><a href="../phpHtmlLib/GOtag.html">GOtag</a></dt>
56 <dd>&lt;GO&gt; tag class</dd>
57 </dl>
58 <dl>
59 <dt><a href="../phpHtmlLib/NOOPtag.html">NOOPtag</a></dt>
60 <dd>&lt;NOOP&gt; tag class</dd>
61 </dl>
62 <dl>
63 <dt><a href="../phpHtmlLib/ONEVENTtag.html">ONEVENTtag</a></dt>
64 <dd>&lt;ONEVENT&gt; tag class</dd>
65 </dl>
66 <dl>
67 <dt><a href="../phpHtmlLib/POSTFIELDtag.html">POSTFIELDtag</a></dt>
68 <dd>&lt;POSTFIELD&gt; tag class</dd>
69 </dl>
70 <dl>
71 <dt><a href="../phpHtmlLib/REFRESHtag.html">REFRESHtag</a></dt>
72 <dd>&lt;REFRESH&gt; tag class</dd>
73 </dl>
74 <dl>
75 <dt><a href="../phpHtmlLib/SETVARtag.html">SETVARtag</a></dt>
76 <dd>&lt;SETVAR&gt; tag class</dd>
77 </dl>
78 <dl>
79 <dt><a href="../phpHtmlLib/TEMPLATEtag.html">TEMPLATEtag</a></dt>
80 <dd>&lt;TEMPLATE&gt; tag class</dd>
81 </dl>
82 <dl>
83 <dt><a href="../phpHtmlLib/TIMERtag.html">TIMERtag</a></dt>
84 <dd>&lt;TIMER&gt; tag class</dd>
85 </dl>
86 <dl>
87 <dt><a href="../phpHtmlLib/WMLtag.html">WMLtag</a></dt>
88 <dd>&lt;WML&gt; tag class</dd>
89 </dl>
90 </p>
91 <p>
92 <b><i>Located in File: Program_Root/tag_classes/WMLTAGS.inc</i></b><br>
93 </p>
94 <hr>
95 Base class for all WML Tag classes.
96 <br />
97 <p>WML tags are just XML tags. Since we have a defined set of WML tags, we have no need for the XMLTagClass' constructor param for name. This class also provides nice methods for setting the class attribute and the id attribute.</p>
98 <UL>
99 <LI><b>link</b> - <CODE><a href="http://www.wapforum.org/what/technical.htm">http://www.wapforum.org/what/technical.htm</a></CODE></LI>
100 <LI><b>link</b> - <CODE><a href="http://phphtmllib.newsblob.com">http://phphtmllib.newsblob.com</a></CODE></LI>
101 <LI><b>author</b> - <CODE>Walter A. Boring IV &lt;<a href="mailto:waboring@buildabetterweb.com">mailto:waboring@buildabetterweb.com</a>&gt;</CODE></LI>
102 </UL>
103 <hr>
104 <!-- =========== VAR SUMMARY =========== -->
105 <A NAME='var_summary'><!-- --></A>
106 <TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='100%' CLASS="border">
107 <TR BGCOLOR='#CCCCFF' CLASS='TableHeadingColor'>
108 <TD>
109 <span CLASS="font12bold">Class Variable Summary</span>
110 <A HREF="#top" CLASS="links">^TOP</A>
111 </TD>
112 </TR>
113
114 </TABLE>
115 <hr>
116 <!-- =========== VAR INHERITED SUMMARY =========== -->
117 <A NAME='var_inherited_summary'><!-- --></A>
118 <TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='100%' CLASS="border">
119 <TR BGCOLOR='#CCCCFF' CLASS='TableHeadingColor'>
120 <TD>
121 <span CLASS="font12bold">Inherited Class Variable Summary</span>
122 <A HREF="#top" CLASS="links">^TOP</A>
123 </TD>
124 </TR>
125
126 <!-- =========== Summary =========== -->
127 <TR BGCOLOR='white'>
128 <TD>
129 <span CLASS="font10bold">Inherited From Class <a href="../phpHtmlLib/Container.html">Container</a></span>
130 <table CELLPADDING='3' CELLSPACING='0' WIDTH='95%' CLASS="border" ALIGN="center">
131 <tr CLASS="tableheadingcolor">
132 <th>Variable</th>
133 <th>Default Value</th>
134 <th>Description</th>
135 </tr>
136 <tr>
137 <td CLASS="font10bold"><a href="../phpHtmlLib/Container.html#var$_flags">Container::$_flags</a></td>
138 <td CLASS="font10" STYLE="white-space: nowrap">-> _NEWLINEAFTERCONTENT<-</td>
139 <td CLASS="font10">The flags that tell us</td>
140 </tr>
141 </table>
142 <BR>
143 </TD>
144 </TR>
145 </TABLE>
146
147 <hr>
148 <!-- =========== METHOD SUMMARY =========== -->
149 <A NAME='method_summary'><!-- --></A>
150 <TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='100%' Class="border">
151 <TR BGCOLOR='#CCCCFF' CLASS='TableHeadingColor'>
152 <TD>
153 <span class="font12bold">Method Summary</span>
154 <A HREF="#top" CLASS="links">^TOP</A>
155 </TD>
156 </TR>
157
158 <!-- =========== Summary =========== -->
159 <TR BGCOLOR='white' CLASS='TableRowColor'>
160 <TD>
161 <CODE><B><A HREF='../phpHtmlLib/WMLTagClass.html#methodWMLTagClass'>void constructor WMLTagClass ( [$attributes = array()] )</A></B></CODE>
162 <BR>
163 <blockquote> </blockquote>
164 </TD>
165 </TR>
166 <!-- =========== Summary =========== -->
167 <TR BGCOLOR='white' CLASS='TableRowColor'>
168 <TD>
169 <CODE><B><A HREF='../phpHtmlLib/WMLTagClass.html#methodset_class'>void set_class ( $value )</A></B></CODE>
170 <BR>
171 <blockquote> This function is a shorthand helper to setting the class attribute on a tag. </blockquote>
172 </TD>
173 </TR>
174 <!-- =========== Summary =========== -->
175 <TR BGCOLOR='white' CLASS='TableRowColor'>
176 <TD>
177 <CODE><B><A HREF='../phpHtmlLib/WMLTagClass.html#methodset_id'>void set_id ( $value )</A></B></CODE>
178 <BR>
179 <blockquote> This function is a shorthand helper to setting the id attribute on a tag. </blockquote>
180 </TD>
181 </TR>
182 </TABLE>
183 <!-- =========== INHERITED METHOD SUMMARY =========== -->
184 <A NAME='functions_inherited'><!-- --></A>
185 <TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='100%' CLASS="border">
186 <TR BGCOLOR='#CCCCFF' CLASS='TableHeadingColor'>
187 <TD>
188 <span CLASS="font12bold">Inherited Method Summary</span>
189 <A HREF="#top" CLASS="links">^TOP</A>
190 </TD>
191 </TR>
192
193 <!-- =========== Summary =========== -->
194 <TR BGCOLOR='white' CLASS='TableRowColor'>
195 <TD>
196 <span CLASS="font10bold">Inherited From Class <a href="../phpHtmlLib/XMLTagClass.html">XMLTagClass</a></span>
197 <TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='95%' CLASS="border" ALIGN="center">
198 <tr CLASS="tableheadingcolor">
199 <th>Function</th>
200 <th>Description</th>
201 </tr>
202 <tr>
203 <td CLASS="font10bold"><a href="../phpHtmlLib/XMLTagClass.html#methodXMLTagClass">XMLTagClass::XMLTagClass()</a></td>
204 <td CLASS="font10">The constructor</td>
205 <tr>
206 <td CLASS="font10bold"><a href="../phpHtmlLib/XMLTagClass.html#methodget_tag">XMLTagClass::get_tag()</a></td>
207 <td CLASS="font10">This returns the tag declared for this class.</td>
208 <tr>
209 <td CLASS="font10bold"><a href="../phpHtmlLib/XMLTagClass.html#methodget_tag_name">XMLTagClass::get_tag_name()</a></td>
210 <td CLASS="font10">This method gets the name of the tag</td>
211 <tr>
212 <td CLASS="font10bold"><a href="../phpHtmlLib/XMLTagClass.html#methodrender">XMLTagClass::render()</a></td>
213 <td CLASS="font10">This function is responsible for rendering the tag and its contents</td>
214 <tr>
215 <td CLASS="font10bold"><a href="../phpHtmlLib/XMLTagClass.html#methodreset_attributes">XMLTagClass::reset_attributes()</a></td>
216 <td CLASS="font10">clear all attributes and start with new attributes</td>
217 <tr>
218 <td CLASS="font10bold"><a href="../phpHtmlLib/XMLTagClass.html#methodset_collapse">XMLTagClass::set_collapse()</a></td>
219 <td CLASS="font10">This function turns on the collapse flag</td>
220 <tr>
221 <td CLASS="font10bold"><a href="../phpHtmlLib/XMLTagClass.html#methodset_newline_after_closetag">XMLTagClass::set_newline_after_closetag()</a></td>
222 <td CLASS="font10">set the newline_after_content flag</td>
223 <tr>
224 <td CLASS="font10bold"><a href="../phpHtmlLib/XMLTagClass.html#methodset_newline_after_opentag">XMLTagClass::set_newline_after_opentag()</a></td>
225 <td CLASS="font10">set the newline_after_opentag flag</td>
226 <tr>
227 <td CLASS="font10bold"><a href="../phpHtmlLib/XMLTagClass.html#methodset_tag_attribute">XMLTagClass::set_tag_attribute()</a></td>
228 <td CLASS="font10">add a single attribute (name="value")</td>
229 <tr>
230 <td CLASS="font10bold"><a href="../phpHtmlLib/XMLTagClass.html#methodset_tag_attributes">XMLTagClass::set_tag_attributes()</a></td>
231 <td CLASS="font10">add multiple attributes (name="value")</td>
232 <tr>
233 <td CLASS="font10bold"><a href="../phpHtmlLib/XMLTagClass.html#methodset_tag_name">XMLTagClass::set_tag_name()</a></td>
234 <td CLASS="font10">This method sets the name of the tag</td>
235 <tr>
236 <td CLASS="font10bold"><a href="../phpHtmlLib/XMLTagClass.html#method_build_attribute_string">XMLTagClass::_build_attribute_string()</a></td>
237 <td CLASS="font10">this builds an attribute for an XML tag.</td>
238 <tr>
239 <td CLASS="font10bold"><a href="../phpHtmlLib/XMLTagClass.html#method_get_element">XMLTagClass::_get_element()</a></td>
240 <td CLASS="font10">get the nth element from content array</td>
241 <tr>
242 <td CLASS="font10bold"><a href="../phpHtmlLib/XMLTagClass.html#method_prepare_flags">XMLTagClass::_prepare_flags()</a></td>
243 <td CLASS="font10">This function checks to see if</td>
244 <tr>
245 <td CLASS="font10bold"><a href="../phpHtmlLib/XMLTagClass.html#method_render_close_tag">XMLTagClass::_render_close_tag()</a></td>
246 <td CLASS="font10">this function is reposnsible for rendering the closing tag (if any)</td>
247 <tr>
248 <td CLASS="font10bold"><a href="../phpHtmlLib/XMLTagClass.html#method_render_content">XMLTagClass::_render_content()</a></td>
249 <td CLASS="font10">this function is reponsible for rendering the pcdata, or content of the tag (if any)</td>
250 <tr>
251 <td CLASS="font10bold"><a href="../phpHtmlLib/XMLTagClass.html#method_render_open_tag">XMLTagClass::_render_open_tag()</a></td>
252 <td CLASS="font10">this function is responsible for rendering the open tag.</td>
253 <tr>
254 <td CLASS="font10bold"><a href="../phpHtmlLib/XMLTagClass.html#method_set_flags">XMLTagClass::_set_flags()</a></td>
255 <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>
256 </table>
257 <br>
258 </TD>
259 </TR>
260 <!-- =========== Summary =========== -->
261 <TR BGCOLOR='white' CLASS='TableRowColor'>
262 <TD>
263 <span CLASS="font10bold">Inherited From Class <a href="../phpHtmlLib/Container.html">Container</a></span>
264 <TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='95%' CLASS="border" ALIGN="center">
265 <tr CLASS="tableheadingcolor">
266 <th>Function</th>
267 <th>Description</th>
268 </tr>
269 <tr>
270 <td CLASS="font10bold"><a href="../phpHtmlLib/Container.html#methodContainer">Container::Container()</a></td>
271 <td CLASS="font10">The constructor.</td>
272 <tr>
273 <td CLASS="font10bold"><a href="../phpHtmlLib/Container.html#methodadd">Container::add()</a></td>
274 <td CLASS="font10">add content onto content stack</td>
275 <tr>
276 <td CLASS="font10bold"><a href="../phpHtmlLib/Container.html#methodadd_reference">Container::add_reference()</a></td>
277 <td CLASS="font10">Add content onto content stack so you can change the item later.</td>
278 <tr>
279 <td CLASS="font10bold"><a href="../phpHtmlLib/Container.html#methodcount_content">Container::count_content()</a></td>
280 <td CLASS="font10">counts the number of content objects</td>
281 <tr>
282 <td CLASS="font10bold"><a href="../phpHtmlLib/Container.html#methodget_indent_flag">Container::get_indent_flag()</a></td>
283 <td CLASS="font10">This flag gets the current value of the indent flag</td>
284 <tr>
285 <td CLASS="font10bold"><a href="../phpHtmlLib/Container.html#methodpush">Container::push()</a></td>
286 <td CLASS="font10">Same as add().</td>
287 <tr>
288 <td CLASS="font10bold"><a href="../phpHtmlLib/Container.html#methodpush_reference">Container::push_reference()</a></td>
289 <td CLASS="font10">Same as add_reference NOTE : only exists for compatibility with 1.1.x</td>
290 <tr>
291 <td CLASS="font10bold"><a href="../phpHtmlLib/Container.html#methodrender">Container::render()</a></td>
292 <td CLASS="font10">This function is compatible with the rest of the phpHtmllib API spec.</td>
293 <tr>
294 <td CLASS="font10bold"><a href="../phpHtmlLib/Container.html#methodreset_content">Container::reset_content()</a></td>
295 <td CLASS="font10">destroy existing content and start with new content.</td>
296 <tr>
297 <td CLASS="font10bold"><a href="../phpHtmlLib/Container.html#methodset_collapse">Container::set_collapse()</a></td>
298 <td CLASS="font10">This function turns on the collapse flag</td>
299 <tr>
300 <td CLASS="font10bold"><a href="../phpHtmlLib/Container.html#methodset_indent_flag">Container::set_indent_flag()</a></td>
301 <td CLASS="font10">function to set the indent flag</td>
302 <tr>
303 <td CLASS="font10bold"><a href="../phpHtmlLib/Container.html#method_set_flags">Container::_set_flags()</a></td>
304 <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>
305 </table>
306 <br>
307 </TD>
308 </TR>
309 </TABLE>
310 <hr>
311 <!-- ============ VARIABLE DETAIL =========== -->
312
313 <A NAME='variable_detail'></A>
314 <TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='100%' CLASS="border">
315 <TR BGCOLOR='#CCCCFF' CLASS='TableHeadingColor'>
316 <TD>
317 <span CLASS="font12bold">Variable Detail</span>
318 <A HREF="#top" CLASS="links">^TOP</A>
319 </TD>
320 </TR>
321 </TABLE>
322
323 <hr>
324 <!-- ============ METHOD DETAIL =========== -->
325
326 <A NAME='method_detail'></A>
327 <TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='100%' CLASS="border">
328 <TR BGCOLOR='#CCCCFF' CLASS='TableHeadingColor'>
329 <TD>
330 <span class="font12bold">Method Detail</span>
331 <A HREF="#top" CLASS="links">^TOP</A>
332 </TD>
333 </TR>
334 </TABLE>
335 <BR>
336 <DIV CLASS="function">
337 <A NAME='methodWMLTagClass'><!-- --></A>
338 <SPAN CLASS="font12bold">Constructor WMLTagClass</SPAN> (line <span class="linenumber">34</span>)
339 <BR>
340 <SPAN CLASS="font10bold">Usage : </SPAN>
341 <span class="font10bold" style="color: #FF0000">void</SPAN>&nbsp;
342 <span class="font10bold" style="color: #0000FF">WMLTagClass(
343 [mixed
344 $attributes = array()])</SPAN>
345 <BR>
346
347 <BR>
348 <SPAN CLASS="font10bold">Description : </SPAN>
349
350 <br />
351
352 <DL>
353
354 <DT class="font10bold">Function Info:</DT>
355 </DL>
356 </DIV>
357 <BR>
358 <DIV CLASS="function">
359 <A NAME='methodset_class'><!-- --></A>
360 <SPAN CLASS="font12bold">set_class</SPAN> (line <span class="linenumber">50</span>)
361 <BR>
362 <SPAN CLASS="font10bold">Usage : </SPAN>
363 <span class="font10bold" style="color: #FF0000">void</SPAN>&nbsp;
364 <span class="font10bold" style="color: #0000FF">set_class(
365 string
366 $value)</SPAN>
367 <BR>
368
369 <BR>
370 <SPAN CLASS="font10bold">Description : </SPAN>
371 This function is a shorthand helper to setting the class attribute on a tag.
372 <br />
373
374 <DL>
375 <DT class="font10bold">Function Parameters:</DT>
376 <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>
377
378 <DT class="font10bold">Function Info:</DT>
379 </DL>
380 </DIV>
381 <BR>
382 <DIV CLASS="function">
383 <A NAME='methodset_id'><!-- --></A>
384 <SPAN CLASS="font12bold">set_id</SPAN> (line <span class="linenumber">61</span>)
385 <BR>
386 <SPAN CLASS="font10bold">Usage : </SPAN>
387 <span class="font10bold" style="color: #FF0000">void</SPAN>&nbsp;
388 <span class="font10bold" style="color: #0000FF">set_id(
389 string
390 $value)</SPAN>
391 <BR>
392
393 <BR>
394 <SPAN CLASS="font10bold">Description : </SPAN>
395 This function is a shorthand helper to setting the id attribute on a tag.
396 <br />
397
398 <DL>
399 <DT class="font10bold">Function Parameters:</DT>
400 <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>
401
402 <DT class="font10bold">Function Info:</DT>
403 </DL>
404 </DIV>
405 <BR>
406 <div id="credit">
407 <hr>
408 Documention generated on Thu, 20 Feb 2003 16:24:00 -0800 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.2.0rc1</a>
409 </div>
410 </body>
411 </html>

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