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

Annotation of /nfo/php/libs/com.newsblob.phphtmllib/doc/phpHtmlLib/_tag_utils_form_utils_inc.html

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (hide annotations)
Sat Feb 22 20:56:38 2003 UTC (21 years, 6 months ago) by jonen
Branch: MAIN
Changes since 1.1: +321 -535 lines
File MIME type: text/html
+ updated whole lib to version 2.2.1 (new FormProcessing since 2.2.0!)

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:57 -0800' -->
6 jonen 1.1 <TITLE>Docs for page form_utils.inc</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="#classes_summary" class="links" title="Classes created in this file">Classes</A>
17     <A HREF="#includes_summary" class="links" title="Include Statements Summary">Includes</A>
18 jonen 1.2 <A HREF="#global_summary" class="links" title="Global Variable Summary">Globals</A>
19 jonen 1.1 <A HREF="#constant_summary" class="links" title="Constant Summary">Constants</A>
20 jonen 1.2 <A HREF="#function_summary" class="links" title="Function Summary">Functions</A>
21 jonen 1.1 <A HREF="#includes_detail" class="links" title="Include Statements Detail">Includes Detail</A>
22     <A HREF="#global_detail" class="links" title="Global Variable Detail">Globals Detail</A>
23     <A HREF="#constant_detail" class="links" title="Constant Detail">Constants Detail</A>
24     <A HREF="#function_detail" class="links" title="Function Detail">Functions Detail</A>
25     </TD>
26     </TR>
27     </TABLE>
28     <BR>
29     <h2>File: Program_Root/tag_utils/form_utils.inc</h2>
30 jonen 1.2 This file contains various helper functions for building forms and form elements.
31     <br />
32     <p>$Id: _tag_utils_form_utils_inc.html,v 1.22 2003/02/21 00:44:00 hemna Exp $</p>
33 jonen 1.1 <UL>
34 jonen 1.2 <LI><b>author</b> - <CODE>Walter A. Boring IV &lt;<a href="mailto:waboring@buildabetterweb.com">mailto:waboring@buildabetterweb.com</a>&gt;</CODE></LI>
35     </UL>
36 jonen 1.1 <!-- =========== Used Classes =========== -->
37     <A NAME='classes_summary'><!-- --></A>
38 jonen 1.2 <TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='100%' Class="bordernobottom">
39     <TR BGCOLOR='#CCCCFF' CLASS='TableHeadingColor'>
40 jonen 1.1 <TD>
41     <span class="font12bold">Classes defined in this file</span>
42     <A HREF="#top" CLASS="links">^TOP</A>
43     </TD>
44     </TR>
45     </TABLE>
46     <TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='100%' CLASS="border">
47     <THEAD>
48     <TR><TD STYLE="width:20%"><h4>CLASS NAME</h4></TD><TD STYLE="width: 80%"><h4>DESCRIPTION</h4></TD></TR>
49     </THEAD>
50     <TBODY>
51 jonen 1.2 </TBODY>
52 jonen 1.1 </TABLE>
53     <br>
54     <!-- =========== Includes SUMMARY =========== -->
55     <A NAME='includes_summary'><!-- --></A>
56     <TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='100%' CLASS="bordernobottom">
57     <TR BGCOLOR='#CCCCFF' CLASS='TableHeadingColor'>
58     <TD>
59     <span CLASS="font12bold">Include Statements Summary</span>
60     <A HREF="#top" CLASS="links">^TOP</A>
61     </TD>
62     </TR>
63     </TABLE>
64     <TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='100%' CLASS="border">
65     <THEAD>
66     <TR><TH>INCLUDE TYPE</TH><TH>INCLUDED FILENAME</TH><TH>DESCRIPTION</TH></TR>
67     </THEAD>
68     <TBODY>
69 jonen 1.2 </TBODY>
70 jonen 1.1 </TABLE>
71     <br>
72     <br>
73 jonen 1.2 <!-- =========== GLOBAL VARIABLE SUMMARY =========== -->
74 jonen 1.1 <A NAME='global_summary'><!-- --></A>
75     <TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='100%' CLASS="bordernobottom">
76     <TR BGCOLOR='#CCCCFF' CLASS='TableHeadingColor'>
77     <TD>
78 jonen 1.2 <span CLASS="font12bold">Global Variable Summary</span>
79 jonen 1.1 <A HREF="#top" CLASS="links">^TOP</A>
80     </TD>
81     </TR>
82     </TABLE>
83     <TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='100%' CLASS="border">
84     <THEAD>
85     <TR><TH>VARIABLE NAME</TH><TH>VARIABLE VALUE</TH><TH>DESCRIPTION</TH></TR>
86     </THEAD>
87     <TBODY>
88 jonen 1.2 </TBODY>
89 jonen 1.1 </TABLE>
90     <br>
91     <br>
92     <!-- =========== CONSTANT SUMMARY =========== -->
93     <A NAME='constant_summary'><!-- --></A>
94 jonen 1.2 <TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='100%' Class="bordernobottom">
95     <TR BGCOLOR='#CCCCFF' CLASS='TableHeadingColor'>
96 jonen 1.1 <TD>
97 jonen 1.2 <span class="font12bold">Constant Summary</span>
98 jonen 1.1 <A HREF="#top" CLASS="links">^TOP</A>
99     </TD>
100     </TR>
101     </TABLE>
102     <TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='100%' CLASS="border">
103     <THEAD>
104     <TR><TH>CONSTANT NAME</TH><TH>CONSTANT VALUE</TH><TH>DESCRIPTION</TH></TR>
105     </THEAD>
106     <TBODY>
107 jonen 1.2 </TBODY>
108 jonen 1.1 </TABLE>
109     <br>
110     <br>
111 jonen 1.2 <!-- =========== FUNCTION SUMMARY =========== -->
112     <A NAME='function_summary'><!-- --></A>
113     <TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='100%' Class="bordernobottom">
114 jonen 1.1 <TR BGCOLOR='#CCCCFF' CLASS='TableHeadingColor'>
115     <TD>
116     <span class="font12bold">Function Summary</span>
117     <A HREF="#top" CLASS="links">^TOP</A>
118     </TD>
119     </TR>
120    
121 jonen 1.2 <!-- =========== Summary =========== -->
122 jonen 1.1 <TR BGCOLOR='white' CLASS='TableRowColor'>
123     <TD>
124 jonen 1.2 <CODE><B><A HREF="../phpHtmlLib/_tag_utils_form_utils_inc.html#functionform_active_checkbox">object form_active_checkbox ( $name, [$text = NULL], [$value = NULL], [$class = NULL], [$onClick = NULL], [$disabled = FALSE] )</A></B></CODE>
125 jonen 1.1 <BR>
126 jonen 1.2 <blockquote> build/render an input tag of type CHECKBOX with onClick javaScript selection </blockquote>
127 jonen 1.1 </TD>
128     </TR>
129 jonen 1.2 <!-- =========== Summary =========== -->
130 jonen 1.1 <TR BGCOLOR='white' CLASS='TableRowColor'>
131     <TD>
132 jonen 1.2 <CODE><B><A HREF="../phpHtmlLib/_tag_utils_form_utils_inc.html#functionform_active_radio">object form_active_radio ( $name, $list, $value, [$line_break = TRUE], [$attribs = FALSE] )</A></B></CODE>
133 jonen 1.1 <BR>
134 jonen 1.2 <blockquote> build/render an set of radio buttons with onClick javaScript selection </blockquote>
135 jonen 1.1 </TD>
136     </TR>
137 jonen 1.2 <!-- =========== Summary =========== -->
138 jonen 1.1 <TR BGCOLOR='white' CLASS='TableRowColor'>
139     <TD>
140 jonen 1.2 <CODE><B><A HREF="../phpHtmlLib/_tag_utils_form_utils_inc.html#functionform_button">mixed form_button ( $name, [$value = NULL], [$attributes = array()], [$render_flag = FALSE] )</A></B></CODE>
141 jonen 1.1 <BR>
142     <blockquote> build/render an input tag of type button </blockquote>
143     </TD>
144     </TR>
145 jonen 1.2 <!-- =========== Summary =========== -->
146 jonen 1.1 <TR BGCOLOR='white' CLASS='TableRowColor'>
147     <TD>
148 jonen 1.2 <CODE><B><A HREF="../phpHtmlLib/_tag_utils_form_utils_inc.html#functionform_checkbox">mixed form_checkbox ( $name, [$value = NULL], [$attributes = array()], [$render_flag = FALSE] )</A></B></CODE>
149 jonen 1.1 <BR>
150     <blockquote> build/render an input tag of type CHECKBOX </blockquote>
151     </TD>
152     </TR>
153 jonen 1.2 <!-- =========== Summary =========== -->
154 jonen 1.1 <TR BGCOLOR='white' CLASS='TableRowColor'>
155     <TD>
156 jonen 1.2 <CODE><B><A HREF="../phpHtmlLib/_tag_utils_form_utils_inc.html#functionform_close">string form_close ( [$indent_level = 0] )</A></B></CODE>
157 jonen 1.1 <BR>
158     <blockquote> render a form close tag </blockquote>
159     </TD>
160     </TR>
161 jonen 1.2 <!-- =========== Summary =========== -->
162 jonen 1.1 <TR BGCOLOR='white' CLASS='TableRowColor'>
163     <TD>
164 jonen 1.2 <CODE><B><A HREF="../phpHtmlLib/_tag_utils_form_utils_inc.html#functionform_file">mixed form_file ( $name, [$value = NULL], [$attributes = array()], [$render_flag = FALSE] )</A></B></CODE>
165 jonen 1.1 <BR>
166     <blockquote> build/render an html tag of file </blockquote>
167     </TD>
168     </TR>
169 jonen 1.2 <!-- =========== Summary =========== -->
170 jonen 1.1 <TR BGCOLOR='white' CLASS='TableRowColor'>
171     <TD>
172 jonen 1.2 <CODE><B><A HREF="../phpHtmlLib/_tag_utils_form_utils_inc.html#functionform_hidden">mixed form_hidden ( $name, [$value = NULL], [$attributes = array()], [$render_flag = FALSE] )</A></B></CODE>
173 jonen 1.1 <BR>
174     <blockquote> build/render an input tag of type hidden </blockquote>
175     </TD>
176     </TR>
177 jonen 1.2 <!-- =========== Summary =========== -->
178 jonen 1.1 <TR BGCOLOR='white' CLASS='TableRowColor'>
179     <TD>
180 jonen 1.2 <CODE><B><A HREF="../phpHtmlLib/_tag_utils_form_utils_inc.html#functionform_image">mixed form_image ( $name, [$value = NULL], $src, [$attributes = array()], [$render_flag = FALSE] )</A></B></CODE>
181 jonen 1.1 <BR>
182     <blockquote> build/render an input tag of type image </blockquote>
183     </TD>
184     </TR>
185 jonen 1.2 <!-- =========== Summary =========== -->
186 jonen 1.1 <TR BGCOLOR='white' CLASS='TableRowColor'>
187     <TD>
188 jonen 1.2 <CODE><B><A HREF="../phpHtmlLib/_tag_utils_form_utils_inc.html#functionform_open">string form_open ( $name, $action, [$method = "GET"], [$attributes = array()], [$indent_level = 0] )</A></B></CODE>
189 jonen 1.1 <BR>
190     <blockquote> render an form open tag only. </blockquote>
191     </TD>
192     </TR>
193 jonen 1.2 <!-- =========== Summary =========== -->
194 jonen 1.1 <TR BGCOLOR='white' CLASS='TableRowColor'>
195     <TD>
196 jonen 1.2 <CODE><B><A HREF="../phpHtmlLib/_tag_utils_form_utils_inc.html#functionform_password">mixed form_password ( $name, [$value = NULL], [$size = NULL], [$maxlength = NULL], [$attributes = array()], [$render_flag = FALSE] )</A></B></CODE>
197 jonen 1.1 <BR>
198     <blockquote> build/render an input tag of type password </blockquote>
199     </TD>
200     </TR>
201 jonen 1.2 <!-- =========== Summary =========== -->
202 jonen 1.1 <TR BGCOLOR='white' CLASS='TableRowColor'>
203     <TD>
204 jonen 1.2 <CODE><B><A HREF="../phpHtmlLib/_tag_utils_form_utils_inc.html#functionform_radio">mixed form_radio ( $name, [$value = NULL], [$attributes = array()], [$render_flag = FALSE] )</A></B></CODE>
205 jonen 1.1 <BR>
206     <blockquote> build/render an input tag of type radio </blockquote>
207     </TD>
208     </TR>
209 jonen 1.2 <!-- =========== Summary =========== -->
210 jonen 1.1 <TR BGCOLOR='white' CLASS='TableRowColor'>
211     <TD>
212 jonen 1.2 <CODE><B><A HREF="../phpHtmlLib/_tag_utils_form_utils_inc.html#functionform_select">a form_select ( $name, [$options = array()], [$selected = ""], [$multiple_flag = FALSE], [$attribs = false] )</A></B></CODE>
213 jonen 1.1 <BR>
214     <blockquote> Build a select tag with all of its option tags </blockquote>
215     </TD>
216     </TR>
217 jonen 1.2 <!-- =========== Summary =========== -->
218 jonen 1.1 <TR BGCOLOR='white' CLASS='TableRowColor'>
219     <TD>
220 jonen 1.2 <CODE><B><A HREF="../phpHtmlLib/_tag_utils_form_utils_inc.html#functionform_submit">mixed form_submit ( $name, [$value = NULL], [$attributes = array()], [$render_flag = FALSE] )</A></B></CODE>
221 jonen 1.1 <BR>
222     <blockquote> build/render an input tag of type submit </blockquote>
223     </TD>
224     </TR>
225 jonen 1.2 <!-- =========== Summary =========== -->
226 jonen 1.1 <TR BGCOLOR='white' CLASS='TableRowColor'>
227     <TD>
228 jonen 1.2 <CODE><B><A HREF="../phpHtmlLib/_tag_utils_form_utils_inc.html#functionform_text">mixed form_text ( $name, [$value = NULL], [$size = NULL], [$maxlength = NULL], [$attributes = array()], [$render_flag = FALSE] )</A></B></CODE>
229 jonen 1.1 <BR>
230     <blockquote> build/render an input tag of type text </blockquote>
231     </TD>
232     </TR>
233 jonen 1.2 <!-- =========== Summary =========== -->
234 jonen 1.1 <TR BGCOLOR='white' CLASS='TableRowColor'>
235     <TD>
236 jonen 1.2 <CODE><B><A HREF="../phpHtmlLib/_tag_utils_form_utils_inc.html#functionform_textarea"><a href="../phpHtmlLib/TEXTAREAtag.html">TEXTAREAtag</a> form_textarea ( $name, [$value = NULL], [$attributes = array()], [$render_flag = FALSE] )</A></B></CODE>
237 jonen 1.1 <BR>
238     <blockquote> build a textarea tag with name and attributes. </blockquote>
239     </TD>
240     </TR>
241 jonen 1.2 <!-- =========== Summary =========== -->
242 jonen 1.1 <TR BGCOLOR='white' CLASS='TableRowColor'>
243     <TD>
244 jonen 1.2 <CODE><B><A HREF="../phpHtmlLib/_tag_utils_form_utils_inc.html#functionhtml_form">string html_form ( $name, $action, [$method = "GET"], [$attributes = array()] )</A></B></CODE>
245 jonen 1.1 <BR>
246     <blockquote> render an form open tag only. </blockquote>
247     </TD>
248     </TR>
249 jonen 1.2 </TABLE>
250 jonen 1.1 <br>
251     <!-- ============ Includes DETAIL =========== -->
252    
253     <A NAME='includes_detail'></A>
254     <TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='100%' CLASS="border">
255     <TR BGCOLOR='#CCCCFF' CLASS='TableHeadingColor'>
256     <TD>
257     <span CLASS="font12bold">Include Statements Detail</span>
258     <A HREF="#top" CLASS="links">^TOP</A>
259     </TD>
260     </TR>
261     </TABLE>
262    
263     <br>
264     <!-- ============ GLOBALS DETAIL =========== -->
265    
266     <A NAME='global_detail'></A>
267 jonen 1.2 <TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='100%' CLASS="bordernobottom">
268 jonen 1.1 <TR BGCOLOR='#CCCCFF' CLASS='TableHeadingColor'>
269     <TD>
270     <span CLASS="font12bold">Global Variable Detail</span>
271     <A HREF="#top" CLASS="links">^TOP</A>
272     </TD>
273     </TR>
274     </TABLE>
275    
276     <br>
277     <!-- ============ CONSTANT DETAIL =========== -->
278    
279     <A NAME='constant_detail'></A>
280 jonen 1.2 <TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='100%' CLASS="bordernobottom">
281     <TR BGCOLOR='#CCCCFF' CLASS='TableHeadingColor'>
282 jonen 1.1 <TD>
283     <span CLASS="font12bold">Constant Detail</span>
284     <A HREF="#top" CLASS="links">^TOP</A>
285     </TD>
286     </TR>
287     </TABLE>
288    
289     <br>
290     <!-- ============ FUNCTION DETAIL =========== -->
291    
292     <A NAME='function_detail'></A>
293 jonen 1.2 <TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='100%' CLASS="bordernobottom">
294 jonen 1.1 <TR BGCOLOR='#CCCCFF' CLASS='TableHeadingColor'>
295     <TD>
296     <span class="font12bold">Function Detail</span>
297     <A HREF="#top" CLASS="links">^TOP</A>
298     </TD>
299     </TR>
300     </TABLE>
301     <BR>
302    
303     <DIV CLASS="function">
304 jonen 1.2 <A NAME="functionform_active_checkbox"><!-- --></A>
305     <SPAN CLASS="font12bold">form_active_checkbox</SPAN> (line <span class="linenumber">327</span>)
306 jonen 1.1 <BR>
307 jonen 1.2 <SPAN CLASS="font10bold">Usage : </SPAN>
308     <span class="font10bold" style="color: #FF0000">object</SPAN>&nbsp;
309     <span class="font10bold" style="color: #0000FF">form_active_checkbox(
310     string $name, [string $text = NULL], [string $value = NULL], [string $class = NULL], [mixed $onClick = NULL], [mixed $disabled = FALSE])</SPAN>
311 jonen 1.1 <BR>
312     <BR>
313     <SPAN CLASS="font10bold">Description : </SPAN>
314 jonen 1.2 build/render an input tag of type CHECKBOX with onClick javaScript selection
315     <br />
316 jonen 1.1
317     <DL>
318 jonen 1.2 <DT class="font10bold">Function Parameters:</DT>
319     <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">$name</SPAN></SPAN> - the name of the input tag.</DD>
320     <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 value of the tag</DD>
321     <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">$text</SPAN></SPAN> - text label for the checkbox</DD>
322     <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">$class</SPAN></SPAN> class - CSS class of the text</DD>
323    
324     <DT class="font10bold">Function Info:</DT>
325     <DD CLASS="font10" STYLE="padding-bottom:5px;"><b>return</b> - returns a container object</DD>
326     <DD CLASS="font10" STYLE="padding-bottom:5px;"><b>author</b> - Suren Markossian</DD>
327     </DL>
328 jonen 1.1 </DIV>
329     <BR>
330    
331     <DIV CLASS="function">
332 jonen 1.2 <A NAME="functionform_active_radio"><!-- --></A>
333     <SPAN CLASS="font12bold">form_active_radio</SPAN> (line <span class="linenumber">234</span>)
334 jonen 1.1 <BR>
335 jonen 1.2 <SPAN CLASS="font10bold">Usage : </SPAN>
336     <span class="font10bold" style="color: #FF0000">object</SPAN>&nbsp;
337     <span class="font10bold" style="color: #0000FF">form_active_radio(
338     string $name, array $list, string $value, [bool $line_break = TRUE], [array $attribs = FALSE])</SPAN>
339 jonen 1.1 <BR>
340     <BR>
341     <SPAN CLASS="font10bold">Description : </SPAN>
342 jonen 1.2 build/render an set of radio buttons with onClick javaScript selection
343     <br />
344 jonen 1.1
345     <DL>
346 jonen 1.2 <DT class="font10bold">Function Parameters:</DT>
347     <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">$name</SPAN></SPAN> - the name of the input tag.</DD>
348     <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">$list</SPAN></SPAN> - an array of text label = value pairs</DD>
349     <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 default value (the one that will be checked)</DD>
350     <DD CLASS="font10" STYLE="padding-bottom:5px;"><span STYLE="font-style: italic;">- <span style="color: #FF0000;font-weight:bold;">bool</SPAN> <span style="color: #0000FF;font-weight:bold">$line_break</SPAN></SPAN> - specify whether to put a line break after each radio button</DD>
351     <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">$attribs</SPAN></SPAN> - specify addionnal attribs for each value</DD>
352    
353     <DT class="font10bold">Function Info:</DT>
354     <DD CLASS="font10" STYLE="padding-bottom:5px;"><b>return</b> - returns a container object</DD>
355     <DD CLASS="font10" STYLE="padding-bottom:5px;"><b>author</b> - Suren Markossian</DD>
356     </DL>
357 jonen 1.1 </DIV>
358     <BR>
359    
360     <DIV CLASS="function">
361 jonen 1.2 <A NAME="functionform_button"><!-- --></A>
362     <SPAN CLASS="font12bold">form_button</SPAN> (line <span class="linenumber">143</span>)
363 jonen 1.1 <BR>
364 jonen 1.2 <SPAN CLASS="font10bold">Usage : </SPAN>
365 jonen 1.1 <span class="font10bold" style="color: #FF0000">mixed</SPAN>&nbsp;
366 jonen 1.2 <span class="font10bold" style="color: #0000FF">form_button(
367     string $name, [string $value = NULL], [array $attributes = array()], [boolean $render_flag = FALSE])</SPAN>
368 jonen 1.1 <BR>
369     <BR>
370     <SPAN CLASS="font10bold">Description : </SPAN>
371     build/render an input tag of type button
372 jonen 1.2 <br />
373 jonen 1.1
374     <DL>
375 jonen 1.2 <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">$name</SPAN></SPAN> - the name of the input tag.</DD>
377     <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 value of the tag</DD>
378     <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> - any extra name='value' pair attributes</DD>
379     <DD CLASS="font10" STYLE="padding-bottom:5px;"><span STYLE="font-style: italic;">- <span style="color: #FF0000;font-weight:bold;">boolean</SPAN> <span style="color: #0000FF;font-weight:bold">$render_flag</SPAN></SPAN> - render an object (FALSE) or raw html (TRUE);</DD>
380    
381     <DT class="font10bold">Function Info:</DT>
382     <DD CLASS="font10" STYLE="padding-bottom:5px;"><b>return</b> - either returns an input object (default) or raw html.</DD>
383     </DL>
384 jonen 1.1 </DIV>
385     <BR>
386    
387     <DIV CLASS="function">
388 jonen 1.2 <A NAME="functionform_checkbox"><!-- --></A>
389     <SPAN CLASS="font12bold">form_checkbox</SPAN> (line <span class="linenumber">304</span>)
390 jonen 1.1 <BR>
391 jonen 1.2 <SPAN CLASS="font10bold">Usage : </SPAN>
392 jonen 1.1 <span class="font10bold" style="color: #FF0000">mixed</SPAN>&nbsp;
393 jonen 1.2 <span class="font10bold" style="color: #0000FF">form_checkbox(
394     string $name, [string $value = NULL], [array $attributes = array()], [boolean $render_flag = FALSE])</SPAN>
395 jonen 1.1 <BR>
396     <BR>
397     <SPAN CLASS="font10bold">Description : </SPAN>
398     build/render an input tag of type CHECKBOX
399 jonen 1.2 <br />
400 jonen 1.1
401     <DL>
402 jonen 1.2 <DT class="font10bold">Function Parameters:</DT>
403     <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">$name</SPAN></SPAN> - the name of the input tag.</DD>
404     <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 value of the tag</DD>
405     <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> - any extra name='value' pair attributes</DD>
406     <DD CLASS="font10" STYLE="padding-bottom:5px;"><span STYLE="font-style: italic;">- <span style="color: #FF0000;font-weight:bold;">boolean</SPAN> <span style="color: #0000FF;font-weight:bold">$render_flag</SPAN></SPAN> - render an object (FALSE) or raw html (TRUE);</DD>
407    
408     <DT class="font10bold">Function Info:</DT>
409     <DD CLASS="font10" STYLE="padding-bottom:5px;"><b>return</b> - either returns an input object (default) or raw html.</DD>
410     </DL>
411 jonen 1.1 </DIV>
412     <BR>
413    
414     <DIV CLASS="function">
415 jonen 1.2 <A NAME="functionform_close"><!-- --></A>
416     <SPAN CLASS="font12bold">form_close</SPAN> (line <span class="linenumber">60</span>)
417 jonen 1.1 <BR>
418 jonen 1.2 <SPAN CLASS="font10bold">Usage : </SPAN>
419 jonen 1.1 <span class="font10bold" style="color: #FF0000">string</SPAN>&nbsp;
420 jonen 1.2 <span class="font10bold" style="color: #0000FF">form_close(
421     mixed $indent_level)</SPAN>
422 jonen 1.1 <BR>
423     <BR>
424     <SPAN CLASS="font10bold">Description : </SPAN>
425     render a form close tag
426 jonen 1.2 <br />
427 jonen 1.1
428     <DL>
429    
430 jonen 1.2 <DT class="font10bold">Function Info:</DT>
431     <DD CLASS="font10" STYLE="padding-bottom:5px;"><b>return</b> - - the &lt;/form&gt; tag.</DD>
432     </DL>
433 jonen 1.1 </DIV>
434     <BR>
435    
436     <DIV CLASS="function">
437 jonen 1.2 <A NAME="functionform_file"><!-- --></A>
438     <SPAN CLASS="font12bold">form_file</SPAN> (line <span class="linenumber">386</span>)
439 jonen 1.1 <BR>
440 jonen 1.2 <SPAN CLASS="font10bold">Usage : </SPAN>
441 jonen 1.1 <span class="font10bold" style="color: #FF0000">mixed</SPAN>&nbsp;
442 jonen 1.2 <span class="font10bold" style="color: #0000FF">form_file(
443     string $name, [string $value = NULL], [array $attributes = array()], [boolean $render_flag = FALSE])</SPAN>
444 jonen 1.1 <BR>
445     <BR>
446     <SPAN CLASS="font10bold">Description : </SPAN>
447     build/render an html tag of file
448 jonen 1.2 <br />
449 jonen 1.1
450     <DL>
451 jonen 1.2 <DT class="font10bold">Function Parameters:</DT>
452     <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">$name</SPAN></SPAN> - the name of the input tag.</DD>
453     <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 value of the tag</DD>
454     <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> - any extra name='value' pair attributes</DD>
455     <DD CLASS="font10" STYLE="padding-bottom:5px;"><span STYLE="font-style: italic;">- <span style="color: #FF0000;font-weight:bold;">boolean</SPAN> <span style="color: #0000FF;font-weight:bold">$render_flag</SPAN></SPAN> - render an object (FALSE) or raw html (TRUE);</DD>
456    
457     <DT class="font10bold">Function Info:</DT>
458     <DD CLASS="font10" STYLE="padding-bottom:5px;"><b>return</b> - either returns an input object (default) or raw html.</DD>
459     </DL>
460 jonen 1.1 </DIV>
461     <BR>
462    
463     <DIV CLASS="function">
464 jonen 1.2 <A NAME="functionform_hidden"><!-- --></A>
465     <SPAN CLASS="font12bold">form_hidden</SPAN> (line <span class="linenumber">283</span>)
466 jonen 1.1 <BR>
467 jonen 1.2 <SPAN CLASS="font10bold">Usage : </SPAN>
468 jonen 1.1 <span class="font10bold" style="color: #FF0000">mixed</SPAN>&nbsp;
469 jonen 1.2 <span class="font10bold" style="color: #0000FF">form_hidden(
470     string $name, [string $value = NULL], [array $attributes = array()], [boolean $render_flag = FALSE])</SPAN>
471 jonen 1.1 <BR>
472     <BR>
473     <SPAN CLASS="font10bold">Description : </SPAN>
474     build/render an input tag of type hidden
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;">string</SPAN> <span style="color: #0000FF;font-weight:bold">$name</SPAN></SPAN> - the name of the input tag.</DD>
480     <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 value of the tag</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> - any extra name='value' pair attributes</DD>
482     <DD CLASS="font10" STYLE="padding-bottom:5px;"><span STYLE="font-style: italic;">- <span style="color: #FF0000;font-weight:bold;">boolean</SPAN> <span style="color: #0000FF;font-weight:bold">$render_flag</SPAN></SPAN> - render an object (FALSE) or raw html (TRUE);</DD>
483    
484     <DT class="font10bold">Function Info:</DT>
485     <DD CLASS="font10" STYLE="padding-bottom:5px;"><b>return</b> - either returns an input object (default) or raw html.</DD>
486     </DL>
487 jonen 1.1 </DIV>
488     <BR>
489    
490     <DIV CLASS="function">
491 jonen 1.2 <A NAME="functionform_image"><!-- --></A>
492     <SPAN CLASS="font12bold">form_image</SPAN> (line <span class="linenumber">187</span>)
493 jonen 1.1 <BR>
494 jonen 1.2 <SPAN CLASS="font10bold">Usage : </SPAN>
495 jonen 1.1 <span class="font10bold" style="color: #FF0000">mixed</SPAN>&nbsp;
496 jonen 1.2 <span class="font10bold" style="color: #0000FF">form_image(
497     string $name, [string $value = NULL], string $src, [array $attributes = array()], [boolean $render_flag = FALSE])</SPAN>
498 jonen 1.1 <BR>
499     <BR>
500     <SPAN CLASS="font10bold">Description : </SPAN>
501     build/render an input tag of type image
502 jonen 1.2 <br />
503 jonen 1.1
504     <DL>
505 jonen 1.2 <DT class="font10bold">Function Parameters:</DT>
506     <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">$name</SPAN></SPAN> - the name of the input tag.</DD>
507     <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 value of the tag</DD>
508     <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">$src</SPAN></SPAN> - the image src</DD>
509     <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> - any extra name='value' pair attributes</DD>
510     <DD CLASS="font10" STYLE="padding-bottom:5px;"><span STYLE="font-style: italic;">- <span style="color: #FF0000;font-weight:bold;">boolean</SPAN> <span style="color: #0000FF;font-weight:bold">$render_flag</SPAN></SPAN> - render an object (FALSE) or raw html (TRUE);</DD>
511    
512     <DT class="font10bold">Function Info:</DT>
513     <DD CLASS="font10" STYLE="padding-bottom:5px;"><b>return</b> - either returns an input object (default) or raw html.</DD>
514     </DL>
515 jonen 1.1 </DIV>
516     <BR>
517    
518     <DIV CLASS="function">
519 jonen 1.2 <A NAME="functionform_open"><!-- --></A>
520     <SPAN CLASS="font12bold">form_open</SPAN> (line <span class="linenumber">49</span>)
521 jonen 1.1 <BR>
522 jonen 1.2 <SPAN CLASS="font10bold">Usage : </SPAN>
523 jonen 1.1 <span class="font10bold" style="color: #FF0000">string</SPAN>&nbsp;
524 jonen 1.2 <span class="font10bold" style="color: #0000FF">form_open(
525     string $name, string $action, [string $method = "GET"], [string $attributes = array()], mixed $indent_level)</SPAN>
526 jonen 1.1 <BR>
527     <BR>
528     <SPAN CLASS="font10bold">Description : </SPAN>
529     render an form open tag only.
530 jonen 1.2 <br />
531     <p>This is usefull for forms that are inside a table. you would render the form tag first, then the table with the form fields.</p>
532 jonen 1.1 <DL>
533 jonen 1.2 <DT class="font10bold">Function Parameters:</DT>
534     <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">$name</SPAN></SPAN> - name attribute of the form tag.</DD>
535     <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">$action</SPAN></SPAN> - the form action.</DD>
536     <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">$method</SPAN></SPAN> - form method</DD>
537     <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">$attributes</SPAN></SPAN> - any extra name='value' attributes for the form tag.</DD>
538    
539     <DT class="font10bold">Function Info:</DT>
540     <DD CLASS="font10" STYLE="padding-bottom:5px;"><b>return</b> - returns the raw form tag.</DD>
541     </DL>
542 jonen 1.1 </DIV>
543     <BR>
544    
545     <DIV CLASS="function">
546 jonen 1.2 <A NAME="functionform_password"><!-- --></A>
547     <SPAN CLASS="font12bold">form_password</SPAN> (line <span class="linenumber">113</span>)
548 jonen 1.1 <BR>
549 jonen 1.2 <SPAN CLASS="font10bold">Usage : </SPAN>
550 jonen 1.1 <span class="font10bold" style="color: #FF0000">mixed</SPAN>&nbsp;
551 jonen 1.2 <span class="font10bold" style="color: #0000FF">form_password(
552     string $name, [string $value = NULL], [int $size = NULL], [int $maxlength = NULL], [array $attributes = array()], [boolean $render_flag = FALSE])</SPAN>
553 jonen 1.1 <BR>
554     <BR>
555     <SPAN CLASS="font10bold">Description : </SPAN>
556     build/render an input tag of type password
557 jonen 1.2 <br />
558 jonen 1.1
559     <DL>
560 jonen 1.2 <DT class="font10bold">Function Parameters:</DT>
561     <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">$name</SPAN></SPAN> - the name of the input tag.</DD>
562     <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 value of the tag</DD>
563     <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">$size</SPAN></SPAN> - the size in characters of the text tag</DD>
564     <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">$maxlength</SPAN></SPAN> - the maximum @ of characters for the field</DD>
565     <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> - any extra name='value' pair attributes</DD>
566     <DD CLASS="font10" STYLE="padding-bottom:5px;"><span STYLE="font-style: italic;">- <span style="color: #FF0000;font-weight:bold;">boolean</SPAN> <span style="color: #0000FF;font-weight:bold">$render_flag</SPAN></SPAN> - render an object (FALSE) or raw html (TRUE);</DD>
567    
568     <DT class="font10bold">Function Info:</DT>
569     <DD CLASS="font10" STYLE="padding-bottom:5px;"><b>return</b> - either returns an input object (default) or raw html.</DD>
570     </DL>
571 jonen 1.1 </DIV>
572     <BR>
573    
574     <DIV CLASS="function">
575 jonen 1.2 <A NAME="functionform_radio"><!-- --></A>
576     <SPAN CLASS="font12bold">form_radio</SPAN> (line <span class="linenumber">210</span>)
577 jonen 1.1 <BR>
578 jonen 1.2 <SPAN CLASS="font10bold">Usage : </SPAN>
579 jonen 1.1 <span class="font10bold" style="color: #FF0000">mixed</SPAN>&nbsp;
580 jonen 1.2 <span class="font10bold" style="color: #0000FF">form_radio(
581     string $name, [string $value = NULL], [array $attributes = array()], [boolean $render_flag = FALSE])</SPAN>
582 jonen 1.1 <BR>
583     <BR>
584     <SPAN CLASS="font10bold">Description : </SPAN>
585     build/render an input tag of type radio
586 jonen 1.2 <br />
587 jonen 1.1
588     <DL>
589 jonen 1.2 <DT class="font10bold">Function Parameters:</DT>
590     <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">$name</SPAN></SPAN> - the name of the input tag.</DD>
591     <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 value of the tag</DD>
592     <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> - any extra name='value' pair attributes</DD>
593     <DD CLASS="font10" STYLE="padding-bottom:5px;"><span STYLE="font-style: italic;">- <span style="color: #FF0000;font-weight:bold;">boolean</SPAN> <span style="color: #0000FF;font-weight:bold">$render_flag</SPAN></SPAN> - render an object (FALSE) or raw html (TRUE);</DD>
594    
595     <DT class="font10bold">Function Info:</DT>
596     <DD CLASS="font10" STYLE="padding-bottom:5px;"><b>return</b> - either returns an input object (default) or raw html.</DD>
597     </DL>
598 jonen 1.1 </DIV>
599     <BR>
600    
601     <DIV CLASS="function">
602 jonen 1.2 <A NAME="functionform_select"><!-- --></A>
603     <SPAN CLASS="font12bold">form_select</SPAN> (line <span class="linenumber">449</span>)
604 jonen 1.1 <BR>
605 jonen 1.2 <SPAN CLASS="font10bold">Usage : </SPAN>
606 jonen 1.1 <span class="font10bold" style="color: #FF0000">a</SPAN>&nbsp;
607 jonen 1.2 <span class="font10bold" style="color: #0000FF">form_select(
608     string $name, [array $options = array()], [mixed $selected = ""], [boolean $multiple_flag = FALSE], [array $attribs = false])</SPAN>
609 jonen 1.1 <BR>
610     <BR>
611     <SPAN CLASS="font10bold">Description : </SPAN>
612     Build a select tag with all of its option tags
613 jonen 1.2 <br />
614 jonen 1.1
615     <DL>
616 jonen 1.2 <DT class="font10bold">Function Parameters:</DT>
617     <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">$name</SPAN></SPAN> - name of the select.</DD>
618     <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">$options</SPAN></SPAN> - an array of name value pairs for the options. the format is array( "LABEL" =&gt; VALUE ); each &lt;option value="VALUE"&gt; LABEL &lt;/option&gt; ie array( "test" =&gt; "foo") would give an option of &lt;option value="foo"&gt; test &lt;/option&gt;</DD>
619     <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">$selected</SPAN></SPAN> - This can be either a string or an array. If its a string then, it will be the selected option value &lt;option value="foo" SELECTED&gt;foo&lt;/option&gt; If it is an array, then all of the option values will be marked as SELECTED. This only makes sense to do if the multiple_flag is true.</DD>
620     <DD CLASS="font10" STYLE="padding-bottom:5px;"><span STYLE="font-style: italic;">- <span style="color: #FF0000;font-weight:bold;">boolean</SPAN> <span style="color: #0000FF;font-weight:bold">$multiple_flag</SPAN></SPAN> - is this a multiple selection select box?</DD>
621     <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">$attribs</SPAN></SPAN> - additionnal attributes to the select tag</DD>
622    
623     <DT class="font10bold">Function Info:</DT>
624     <DD CLASS="font10" STYLE="padding-bottom:5px;"><b>return</b> - SELECTtag object.</DD>
625     <DD CLASS="font10" STYLE="padding-bottom:5px;"><b>author</b> - Walt A. Boring IV</DD>
626     </DL>
627 jonen 1.1 </DIV>
628     <BR>
629    
630     <DIV CLASS="function">
631 jonen 1.2 <A NAME="functionform_submit"><!-- --></A>
632     <SPAN CLASS="font12bold">form_submit</SPAN> (line <span class="linenumber">165</span>)
633 jonen 1.1 <BR>
634 jonen 1.2 <SPAN CLASS="font10bold">Usage : </SPAN>
635 jonen 1.1 <span class="font10bold" style="color: #FF0000">mixed</SPAN>&nbsp;
636 jonen 1.2 <span class="font10bold" style="color: #0000FF">form_submit(
637     string $name, [string $value = NULL], [array $attributes = array()], [boolean $render_flag = FALSE])</SPAN>
638 jonen 1.1 <BR>
639     <BR>
640     <SPAN CLASS="font10bold">Description : </SPAN>
641     build/render an input tag of type submit
642 jonen 1.2 <br />
643 jonen 1.1
644     <DL>
645 jonen 1.2 <DT class="font10bold">Function Parameters:</DT>
646     <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">$name</SPAN></SPAN> - the name of the input tag.</DD>
647     <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 value of the tag</DD>
648     <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> - any extra name='value' pair attributes</DD>
649     <DD CLASS="font10" STYLE="padding-bottom:5px;"><span STYLE="font-style: italic;">- <span style="color: #FF0000;font-weight:bold;">boolean</SPAN> <span style="color: #0000FF;font-weight:bold">$render_flag</SPAN></SPAN> - render an object (FALSE) or raw html (TRUE);</DD>
650    
651     <DT class="font10bold">Function Info:</DT>
652     <DD CLASS="font10" STYLE="padding-bottom:5px;"><b>return</b> - either returns an input object (default) or raw html.</DD>
653     </DL>
654 jonen 1.1 </DIV>
655     <BR>
656    
657     <DIV CLASS="function">
658 jonen 1.2 <A NAME="functionform_text"><!-- --></A>
659     <SPAN CLASS="font12bold">form_text</SPAN> (line <span class="linenumber">80</span>)
660 jonen 1.1 <BR>
661 jonen 1.2 <SPAN CLASS="font10bold">Usage : </SPAN>
662 jonen 1.1 <span class="font10bold" style="color: #FF0000">mixed</SPAN>&nbsp;
663 jonen 1.2 <span class="font10bold" style="color: #0000FF">form_text(
664     string $name, [string $value = NULL], [int $size = NULL], [int $maxlength = NULL], [array $attributes = array()], [boolean $render_flag = FALSE])</SPAN>
665 jonen 1.1 <BR>
666     <BR>
667     <SPAN CLASS="font10bold">Description : </SPAN>
668     build/render an input tag of type text
669 jonen 1.2 <br />
670 jonen 1.1
671     <DL>
672 jonen 1.2 <DT class="font10bold">Function Parameters:</DT>
673     <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">$name</SPAN></SPAN> - the name of the input tag.</DD>
674     <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 value of the tag</DD>
675     <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">$size</SPAN></SPAN> - the size in characters of the text tag</DD>
676     <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">$maxlength</SPAN></SPAN> - the maximum @ of characters for the field</DD>
677     <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> - any extra name='value' pair attributes</DD>
678     <DD CLASS="font10" STYLE="padding-bottom:5px;"><span STYLE="font-style: italic;">- <span style="color: #FF0000;font-weight:bold;">boolean</SPAN> <span style="color: #0000FF;font-weight:bold">$render_flag</SPAN></SPAN> - render an object (FALSE) or raw html (TRUE);</DD>
679    
680     <DT class="font10bold">Function Info:</DT>
681     <DD CLASS="font10" STYLE="padding-bottom:5px;"><b>return</b> - either returns an input object (default) or raw html.</DD>
682     </DL>
683 jonen 1.1 </DIV>
684     <BR>
685    
686     <DIV CLASS="function">
687 jonen 1.2 <A NAME="functionform_textarea"><!-- --></A>
688     <SPAN CLASS="font12bold">form_textarea</SPAN> (line <span class="linenumber">413</span>)
689 jonen 1.1 <BR>
690 jonen 1.2 <SPAN CLASS="font10bold">Usage : </SPAN>
691 jonen 1.1 <span class="font10bold" style="color: #FF0000"><a href="../phpHtmlLib/TEXTAREAtag.html">TEXTAREAtag</a></SPAN>&nbsp;
692 jonen 1.2 <span class="font10bold" style="color: #0000FF">form_textarea(
693     string $name, [string $value = NULL], [array $attributes = array()], [boolean $render_flag = FALSE])</SPAN>
694 jonen 1.1 <BR>
695     <BR>
696     <SPAN CLASS="font10bold">Description : </SPAN>
697     build a textarea tag with name and attributes.
698 jonen 1.2 <br />
699 jonen 1.1
700     <DL>
701 jonen 1.2 <DT class="font10bold">Function Parameters:</DT>
702     <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">$name</SPAN></SPAN> - the name of the textarea tag.</DD>
703     <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> - data to display in the textarea.</DD>
704     <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> - any extra name='value' pair attributes</DD>
705     <DD CLASS="font10" STYLE="padding-bottom:5px;"><span STYLE="font-style: italic;">- <span style="color: #FF0000;font-weight:bold;">boolean</SPAN> <span style="color: #0000FF;font-weight:bold">$render_flag</SPAN></SPAN> - render an object (FALSE) or raw html (TRUE);</DD>
706    
707     <DT class="font10bold">Function Info:</DT>
708     <DD CLASS="font10" STYLE="padding-bottom:5px;"><b>return</b> - object.</DD>
709     <DD CLASS="font10" STYLE="padding-bottom:5px;"><b>author</b> - Walt A. Boring</DD>
710     </DL>
711 jonen 1.1 </DIV>
712     <BR>
713    
714     <DIV CLASS="function">
715 jonen 1.2 <A NAME="functionhtml_form"><!-- --></A>
716     <SPAN CLASS="font12bold">html_form</SPAN> (line <span class="linenumber">28</span>)
717 jonen 1.1 <BR>
718 jonen 1.2 <SPAN CLASS="font10bold">Usage : </SPAN>
719 jonen 1.1 <span class="font10bold" style="color: #FF0000">string</SPAN>&nbsp;
720 jonen 1.2 <span class="font10bold" style="color: #0000FF">html_form(
721     string $name, string $action, [string $method = "GET"], [string $attributes = array()])</SPAN>
722 jonen 1.1 <BR>
723     <BR>
724     <SPAN CLASS="font10bold">Description : </SPAN>
725     render an form open tag only.
726 jonen 1.2 <br />
727     <p>This is usefull for forms that are inside a table. you would render the form tag first, then the table with the form fields.</p>
728 jonen 1.1 <DL>
729 jonen 1.2 <DT class="font10bold">Function Parameters:</DT>
730     <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">$name</SPAN></SPAN> - name attribute of the form tag.</DD>
731     <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">$action</SPAN></SPAN> - the form action.</DD>
732     <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">$method</SPAN></SPAN> - form method</DD>
733     <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">$attributes</SPAN></SPAN> - any extra name='value' attributes for the form tag.</DD>
734    
735     <DT class="font10bold">Function Info:</DT>
736     <DD CLASS="font10" STYLE="padding-bottom:5px;"><b>return</b> - returns the raw form tag.</DD>
737     </DL>
738 jonen 1.1 </DIV>
739     <BR>
740     <br>
741 jonen 1.2 <div id="credit">
742     <hr>
743     Documention generated on Thu, 20 Feb 2003 16:22:57 -0800 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.2.0rc1</a>
744     </div>
745     </body>
746     </html>
747     </HTML>

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