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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations)
Thu Jan 30 03:29:37 2003 UTC (21 years, 6 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:25 -0800' -->
6 <TITLE>Docs For Class FORMtag</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 FORMtag">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 FORMtag
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 --FORMtag</pre>
43 </pre>
44
45 <A NAME="children_summary"</A>
46 <H3>
47 Classes extended from FORMtag: <A HREF="#top" CLASS="links">^TOP</A>
48 </H3>
49
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 FORMtag &lt;FORM&gt; tag
56 <BR>
57 The form element creates a form
58 for user input.
59
60 REQUIRED ATTRIBUTES
61 action : url
62 Specifies where to send the
63 data when the user pushes the
64 submit button in a form.
65
66 <UL>
67
68 <LI><b>Package</b> - <CODE>phpHtmlLib</CODE></LI>
69
70 </UL>
71
72 <hr>
73 <!-- =========== VAR SUMMARY =========== -->
74 <A NAME='var_summary'><!-- --></A>
75 <TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='100%' CLASS="border">
76 <TR BGCOLOR='#CCCCFF' CLASS='TableHeadingColor'>
77 <TD>
78 <span CLASS="font12bold">Class Variable Summary</span>
79 <A HREF="#top" CLASS="links">^TOP</A>
80 </TD>
81 </TR>
82
83
84 <!-- =========== Summary =========== -->
85 <TR BGCOLOR='white' CLASS='TableRowColor'>
86 <TD>
87 <CODE><B><A HREF='FORMtag.html#$_tag'>$_tag</A></B></CODE>
88 <BR>
89 <blockquote> </blockquote>
90 <blockquote> Default Value: <CODE>->form<-</CODE> </blockquote>
91 </TD>
92 </TR>
93
94 </TABLE>
95
96 <hr>
97 <!-- =========== VAR INHERITED SUMMARY =========== -->
98 <A NAME='var_inherited_summary'><!-- --></A>
99 <TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='100%' CLASS="border">
100 <TR CLASS='TableHeadingColor'>
101 <TD>
102 <span CLASS="font12bold">Inherited Class Variable Summary</span>
103 <A HREF="#top" CLASS="links">^TOP</A>
104 </TD>
105 </TR>
106
107
108 <!-- =========== Summary =========== -->
109 <TR BGCOLOR='white'>
110 <TD>
111 <span CLASS="font10bold">Inherited From Class <a href="../phpHtmlLib/HTMLTagClass.html">HTMLTagClass</a></span>
112 <table CELLPADDING='3' CELLSPACING='0' WIDTH='95%' CLASS="border" ALIGN="center">
113 <tr CLASS="tableheadingcolor">
114 <th>Variable</th>
115 <th>Default Value</th>
116 <th>Description</th>
117 </tr>
118
119 <tr>
120 <td CLASS="font10bold"><A HREF='../phpHtmlLib/HTMLTagClass.html#$_depricated'>$_depricated</A></td>
121 <td CLASS="font10" STYLE="white-space: nowrap">->FALSE<-</td>
122 <td CLASS="font10">Flag to denote that this tag is
123 depricated by the HTML standard.</td>
124 </tr>
125
126 <tr>
127 <td CLASS="font10bold"><A HREF='../phpHtmlLib/HTMLTagClass.html#$_no_finish_slash_xhtml'>$_no_finish_slash_xhtml</A></td>
128 <td CLASS="font10" STYLE="white-space: nowrap">->FALSE<-</td>
129 <td CLASS="font10">Flag to tell the renderer not to
130 place the /&gt; if we are in xhtml
131 compliant mode.</td>
132 </tr>
133
134 <tr>
135 <td CLASS="font10bold"><A HREF='../phpHtmlLib/HTMLTagClass.html#$_xhtml_strict_attributes'>$_xhtml_strict_attributes</A></td>
136 <td CLASS="font10" STYLE="white-space: nowrap">->array()<-</td>
137 <td CLASS="font10">The list of attributes not to render
138 if HTML_RENDER_TYPE is &quot;XHTML STRICT&quot;</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/XMLTagClass.html">XMLTagClass</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/XMLTagClass.html#$newline_after_closetag'>$newline_after_closetag</A></td>
159 <td CLASS="font10" STYLE="white-space: nowrap">->TRUE<-</td>
160 <td CLASS="font10">Flag to place a newline after close tag.</td>
161 </tr>
162
163 <tr>
164 <td CLASS="font10bold"><A HREF='../phpHtmlLib/XMLTagClass.html#$newline_after_opentag'>$newline_after_opentag</A></td>
165 <td CLASS="font10" STYLE="white-space: nowrap">->TRUE<-</td>
166 <td CLASS="font10">Flag to place a newline after open tag.</td>
167 </tr>
168
169 <tr>
170 <td CLASS="font10bold"><A HREF='../phpHtmlLib/XMLTagClass.html#$_cdata_content_wrap'>$_cdata_content_wrap</A></td>
171 <td CLASS="font10" STYLE="white-space: nowrap">->FALSE<-</td>
172 <td CLASS="font10">Automatically wrap ALL content</td>
173 </tr>
174
175 <tr>
176 <td CLASS="font10bold"><A HREF='../phpHtmlLib/XMLTagClass.html#$_tag_postfix'>$_tag_postfix</A></td>
177 <td CLASS="font10" STYLE="white-space: nowrap">->&gt;<-</td>
178 <td CLASS="font10">holds the tag postfix</td>
179 </tr>
180
181 <tr>
182 <td CLASS="font10bold"><A HREF='../phpHtmlLib/XMLTagClass.html#$_tag_prefix'>$_tag_prefix</A></td>
183 <td CLASS="font10" STYLE="white-space: nowrap">->&lt;<-</td>
184 <td CLASS="font10">holds the tag prefix</td>
185 </tr>
186
187 </table>
188 <BR>
189 </TD>
190 </TR>
191
192 <!-- =========== Summary =========== -->
193 <TR BGCOLOR='white'>
194 <TD>
195 <span CLASS="font10bold">Inherited From Class <a href="../phpHtmlLib/Container.html">Container</a></span>
196 <table CELLPADDING='3' CELLSPACING='0' WIDTH='95%' CLASS="border" ALIGN="center">
197 <tr CLASS="tableheadingcolor">
198 <th>Variable</th>
199 <th>Default Value</th>
200 <th>Description</th>
201 </tr>
202
203 <tr>
204 <td CLASS="font10bold"><A HREF='../phpHtmlLib/Container.html#$indent_flag'>$indent_flag</A></td>
205 <td CLASS="font10" STYLE="white-space: nowrap">->TRUE<-</td>
206 <td CLASS="font10">Flag for pretty (indented) output</td>
207 </tr>
208
209 <tr>
210 <td CLASS="font10bold"><A HREF='../phpHtmlLib/Container.html#$_newline_after_content_flag'>$_newline_after_content_flag</A></td>
211 <td CLASS="font10" STYLE="white-space: nowrap">->TRUE<-</td>
212 <td CLASS="font10">Do we render a newline after the
213 contents has been rendered?</td>
214 </tr>
215
216 </table>
217 <BR>
218 </TD>
219 </TR>
220
221 </TABLE>
222
223 <hr>
224 <!-- =========== INHERITED METHOD SUMMARY =========== -->
225 <A NAME='functions_inherited'><!-- --></A>
226 <TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='100%' CLASS="border">
227 <TR CLASS='TableHeadingColor'>
228 <TD>
229 <span CLASS="font12bold">Inherited Method Summary</span>
230 <A HREF="#top" CLASS="links">^TOP</A>
231 </TD>
232 </TR>
233
234
235 <!-- =========== Summary =========== -->
236 <TR BGCOLOR='white' CLASS='TableRowColor'>
237 <TD>
238 <span CLASS="font10bold">Inherited From Class <a href="../phpHtmlLib/HTMLTagClass.html">HTMLTagClass</a></span>
239 <TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='95%' CLASS="border" ALIGN="center">
240 <tr CLASS="tableheadingcolor">
241 <th>Function</th>
242 <th>Description</th>
243 </tr>
244
245 <tr>
246 <td CLASS="font10bold"><A HREF='../phpHtmlLib/HTMLTagClass.html#constructor HTMLTagClass'>constructor HTMLTagClass ( [$attributes = NULL] )</A></td>
247 <td CLASS="font10">Class Constructor</td>
248
249 <tr>
250 <td CLASS="font10bold"><A HREF='../phpHtmlLib/HTMLTagClass.html#render'>render ( [$indent_level = NULL], [$output_debug = 0] )</A></td>
251 <td CLASS="font10">Renders the tag, attributes, content and close tag.</td>
252
253 <tr>
254 <td CLASS="font10bold"><A HREF='../phpHtmlLib/HTMLTagClass.html#set_class'>set_class ( $value )</A></td>
255 <td CLASS="font10">This function is a shorthand helper
256 to setting the class attribute on a
257 tag.</td>
258
259 <tr>
260 <td CLASS="font10bold"><A HREF='../phpHtmlLib/HTMLTagClass.html#set_id'>set_id ( $value )</A></td>
261 <td CLASS="font10">This function is a shorthand helper
262 to setting the id attribute on a
263 tag.</td>
264
265 <tr>
266 <td CLASS="font10bold"><A HREF='../phpHtmlLib/HTMLTagClass.html#set_style'>set_style ( $value )</A></td>
267 <td CLASS="font10">This function is a shorthand helper
268 to setting the style attribute on a
269 tag.</td>
270
271 <tr>
272 <td CLASS="font10bold"><A HREF='../phpHtmlLib/HTMLTagClass.html#_build_attribute_string'>_build_attribute_string ( $name, $value, [$debug = 0] )</A></td>
273 <td CLASS="font10">this builds an attribute for a tag.</td>
274
275 <tr>
276 <td CLASS="font10bold"><A HREF='../phpHtmlLib/HTMLTagClass.html#_render_tag_debug'>_render_tag_debug ( $indent_level )</A></td>
277 <td CLASS="font10">This renders that open tag in debug mode.</td>
278
279 </table>
280 <br>
281 </TD>
282 </TR>
283
284 <!-- =========== Summary =========== -->
285 <TR BGCOLOR='white' CLASS='TableRowColor'>
286 <TD>
287 <span CLASS="font10bold">Inherited From Class <a href="../phpHtmlLib/XMLTagClass.html">XMLTagClass</a></span>
288 <TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='95%' CLASS="border" ALIGN="center">
289 <tr CLASS="tableheadingcolor">
290 <th>Function</th>
291 <th>Description</th>
292 </tr>
293
294 <tr>
295 <td CLASS="font10bold"><A HREF='../phpHtmlLib/XMLTagClass.html#constructor XMLTagClass'>constructor XMLTagClass ( [$name = ], [$attributes = array()] )</A></td>
296 <td CLASS="font10">The constructor</td>
297
298 <tr>
299 <td CLASS="font10bold"><A HREF='../phpHtmlLib/XMLTagClass.html#get_tag'>get_tag ( )</A></td>
300 <td CLASS="font10">This returns the tag declared for this class.</td>
301
302 <tr>
303 <td CLASS="font10bold"><A HREF='../phpHtmlLib/XMLTagClass.html#get_tag_name'>get_tag_name ( )</A></td>
304 <td CLASS="font10">This method gets the name of the tag</td>
305
306 <tr>
307 <td CLASS="font10bold"><A HREF='../phpHtmlLib/XMLTagClass.html#render'>render ( [$indent_level = 0] )</A></td>
308 <td CLASS="font10">This function is responsible</td>
309
310 <tr>
311 <td CLASS="font10bold"><A HREF='../phpHtmlLib/XMLTagClass.html#reset_attributes'>reset_attributes ( [$attributes = array()] )</A></td>
312 <td CLASS="font10">clear all attributes and start with new attributes</td>
313
314 <tr>
315 <td CLASS="font10bold"><A HREF='../phpHtmlLib/XMLTagClass.html#set_collapse'>set_collapse ( [$collapse = TRUE], [$indent = TRUE] )</A></td>
316 <td CLASS="font10">This function turns on the collapse flag</td>
317
318 <tr>
319 <td CLASS="font10bold"><A HREF='../phpHtmlLib/XMLTagClass.html#set_newline_after_closetag'>set_newline_after_closetag ( $flag )</A></td>
320 <td CLASS="font10">set the newline_after_content flag</td>
321
322 <tr>
323 <td CLASS="font10bold"><A HREF='../phpHtmlLib/XMLTagClass.html#set_newline_after_opentag'>set_newline_after_opentag ( $flag )</A></td>
324 <td CLASS="font10">set the newline_after_opentag flag</td>
325
326 <tr>
327 <td CLASS="font10bold"><A HREF='../phpHtmlLib/XMLTagClass.html#set_tag_attribute'>set_tag_attribute ( $name, [$value = NULL] )</A></td>
328 <td CLASS="font10">add a single attribute (name=&quot;value&quot;)</td>
329
330 <tr>
331 <td CLASS="font10bold"><A HREF='../phpHtmlLib/XMLTagClass.html#set_tag_attributes'>set_tag_attributes ( [$attributes = array()] )</A></td>
332 <td CLASS="font10">add multiple attributes (name=&quot;value&quot;)</td>
333
334 <tr>
335 <td CLASS="font10bold"><A HREF='../phpHtmlLib/XMLTagClass.html#set_tag_name'>set_tag_name ( $name )</A></td>
336 <td CLASS="font10">This method sets the name of the tag</td>
337
338 <tr>
339 <td CLASS="font10bold"><A HREF='../phpHtmlLib/XMLTagClass.html#_build_attribute_string'>_build_attribute_string ( $name, $value )</A></td>
340 <td CLASS="font10">this builds an attribute for an XML tag.</td>
341
342 <tr>
343 <td CLASS="font10bold"><A HREF='../phpHtmlLib/XMLTagClass.html#_get_element'>_get_element ( $cell )</A></td>
344 <td CLASS="font10">get the nth element from content array</td>
345
346 <tr>
347 <td CLASS="font10bold"><A HREF='../phpHtmlLib/XMLTagClass.html#_prepare_flags'>_prepare_flags ( )</A></td>
348 <td CLASS="font10">This function checks to see if</td>
349
350 <tr>
351 <td CLASS="font10bold"><A HREF='../phpHtmlLib/XMLTagClass.html#_render_close_tag'>_render_close_tag ( $indent_level )</A></td>
352 <td CLASS="font10">this function is reposnsible for
353 rendering the closing tag (if any)</td>
354
355 <tr>
356 <td CLASS="font10bold"><A HREF='../phpHtmlLib/XMLTagClass.html#_render_content'>_render_content ( $indent_level, [$output_debug = 0] )</A></td>
357 <td CLASS="font10">this function is reponsible for</td>
358
359 <tr>
360 <td CLASS="font10bold"><A HREF='../phpHtmlLib/XMLTagClass.html#_render_open_tag'>_render_open_tag ( $indent_level, [$finish_slash = TRUE] )</A></td>
361 <td CLASS="font10">this function is responsible for
362 rendering the open tag.</td>
363
364 </table>
365 <br>
366 </TD>
367 </TR>
368
369 <!-- =========== Summary =========== -->
370 <TR BGCOLOR='white' CLASS='TableRowColor'>
371 <TD>
372 <span CLASS="font10bold">Inherited From Class <a href="../phpHtmlLib/Container.html">Container</a></span>
373 <TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='95%' CLASS="border" ALIGN="center">
374 <tr CLASS="tableheadingcolor">
375 <th>Function</th>
376 <th>Description</th>
377 </tr>
378
379 <tr>
380 <td CLASS="font10bold"><A HREF='../phpHtmlLib/Container.html#constructor Container'>constructor Container ( )</A></td>
381 <td CLASS="font10">The constructor.</td>
382
383 <tr>
384 <td CLASS="font10bold"><A HREF='../phpHtmlLib/Container.html#add'>add ( )</A></td>
385 <td CLASS="font10">add content onto content stack</td>
386
387 <tr>
388 <td CLASS="font10bold"><A HREF='../phpHtmlLib/Container.html#add_reference'>add_reference ( &$content )</A></td>
389 <td CLASS="font10">Add content onto content stack
390 so you can change the item later.</td>
391
392 <tr>
393 <td CLASS="font10bold"><A HREF='../phpHtmlLib/Container.html#count_content'>count_content ( )</A></td>
394 <td CLASS="font10">counts the number of content objects</td>
395
396 <tr>
397 <td CLASS="font10bold"><A HREF='../phpHtmlLib/Container.html#get_indent_flag'>get_indent_flag ( )</A></td>
398 <td CLASS="font10">This flag gets the current value
399 of the indent flag</td>
400
401 <tr>
402 <td CLASS="font10bold"><A HREF='../phpHtmlLib/Container.html#push'>push ( )</A></td>
403 <td CLASS="font10">Same as add().</td>
404
405 <tr>
406 <td CLASS="font10bold"><A HREF='../phpHtmlLib/Container.html#push_reference'>push_reference ( &$content )</A></td>
407 <td CLASS="font10">Same as add_reference
408 NOTE : only exists for compatibility with 1.1.x</td>
409
410 <tr>
411 <td CLASS="font10bold"><A HREF='../phpHtmlLib/Container.html#render'>render ( [$indent_level = 1], [$output_debug = 0] )</A></td>
412 <td CLASS="font10">This function is compatible with the
413 rest of the phpHtmllib API spec.</td>
414
415 <tr>
416 <td CLASS="font10bold"><A HREF='../phpHtmlLib/Container.html#reset_content'>reset_content ( )</A></td>
417 <td CLASS="font10">destroy existing content and start with new content.</td>
418
419 <tr>
420 <td CLASS="font10bold"><A HREF='../phpHtmlLib/Container.html#set_collapse'>set_collapse ( [$collapse = TRUE], [$indent = TRUE] )</A></td>
421 <td CLASS="font10">This function turns on the collapse flag</td>
422
423 <tr>
424 <td CLASS="font10bold"><A HREF='../phpHtmlLib/Container.html#set_indent_flag'>set_indent_flag ( $flag )</A></td>
425 <td CLASS="font10">function to set the indent flag</td>
426
427 </table>
428 <br>
429 </TD>
430 </TR>
431
432 </TABLE>
433
434 <hr>
435 <!-- should have constructor at some point -->
436 <!-- =========== Method SUMMARY =========== -->
437 <A NAME='Method_summary'><!-- --></A>
438 <TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='100%' Class="border">
439 <TR BGCOLOR='#CCCCFF' CLASS='TableHeadingColor'>
440 <TD>
441 <span class="font12bold">Method Summary</span>
442 <A HREF="#top" CLASS="links">^TOP</A>
443 </TD>
444 </TR>
445
446
447 </TABLE>
448
449 <hr>
450 <!-- ============ VARIABLE DETAIL =========== -->
451
452 <A NAME='variable_detail'></A>
453 <TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='100%' CLASS="border">
454 <TR BGCOLOR='#CCCCFF' CLASS='TableHeadingColor'>
455 <TD>
456 <span CLASS="font12bold">Variable Detail</span>
457 <A HREF="#top" CLASS="links">^TOP</A>
458 </TD>
459 </TR>
460 </TABLE>
461
462
463 <A NAME='$_tag'><!-- --></A><H3>$_tag</H3>
464 <b>Data type:</b> mixed<br>
465 <!-- ========== Info from phpDoc block ========= -->
466
467 <BR>
468
469
470 <UL>
471
472 </UL>
473
474 <HR>
475
476
477 <hr>
478 <!-- ============ FUNCTION DETAIL =========== -->
479
480 <A NAME='function_detail'></A>
481 <TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='100%' CLASS="border">
482 <TR BGCOLOR='#CCCCFF' CLASS='TableHeadingColor'>
483 <TD>
484 <span class="font12bold">Method Detail</span>
485 <A HREF="#top" CLASS="links">^TOP</A>
486 </TD>
487 </TR>
488 </TABLE>
489 <BR>
490
491
492 <hr>
493 </HTML>

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