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:22:57 -0800' --> |
6 |
<TITLE>Docs for page form_utils.inc</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="#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 |
<A HREF="#global_summary" class="links" title="Global Variable Summary">Globals</A> |
19 |
<A HREF="#constant_summary" class="links" title="Constant Summary">Constants</A> |
20 |
<A HREF="#function_summary" class="links" title="Function Summary">Functions</A> |
21 |
<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 |
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 |
<UL> |
34 |
<LI><b>author</b> - <CODE>Walter A. Boring IV <<a href="mailto:waboring@buildabetterweb.com">mailto:waboring@buildabetterweb.com</a>></CODE></LI> |
35 |
</UL> |
36 |
<!-- =========== Used Classes =========== --> |
37 |
<A NAME='classes_summary'><!-- --></A> |
38 |
<TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='100%' Class="bordernobottom"> |
39 |
<TR BGCOLOR='#CCCCFF' CLASS='TableHeadingColor'> |
40 |
<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 |
</TBODY> |
52 |
</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 |
</TBODY> |
70 |
</TABLE> |
71 |
<br> |
72 |
<br> |
73 |
<!-- =========== GLOBAL VARIABLE SUMMARY =========== --> |
74 |
<A NAME='global_summary'><!-- --></A> |
75 |
<TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='100%' CLASS="bordernobottom"> |
76 |
<TR BGCOLOR='#CCCCFF' CLASS='TableHeadingColor'> |
77 |
<TD> |
78 |
<span CLASS="font12bold">Global Variable Summary</span> |
79 |
<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 |
</TBODY> |
89 |
</TABLE> |
90 |
<br> |
91 |
<br> |
92 |
<!-- =========== CONSTANT SUMMARY =========== --> |
93 |
<A NAME='constant_summary'><!-- --></A> |
94 |
<TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='100%' Class="bordernobottom"> |
95 |
<TR BGCOLOR='#CCCCFF' CLASS='TableHeadingColor'> |
96 |
<TD> |
97 |
<span class="font12bold">Constant Summary</span> |
98 |
<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 |
</TBODY> |
108 |
</TABLE> |
109 |
<br> |
110 |
<br> |
111 |
<!-- =========== FUNCTION SUMMARY =========== --> |
112 |
<A NAME='function_summary'><!-- --></A> |
113 |
<TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='100%' Class="bordernobottom"> |
114 |
<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 |
<!-- =========== Summary =========== --> |
122 |
<TR BGCOLOR='white' CLASS='TableRowColor'> |
123 |
<TD> |
124 |
<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 |
<BR> |
126 |
<blockquote> build/render an input tag of type CHECKBOX with onClick javaScript selection </blockquote> |
127 |
</TD> |
128 |
</TR> |
129 |
<!-- =========== Summary =========== --> |
130 |
<TR BGCOLOR='white' CLASS='TableRowColor'> |
131 |
<TD> |
132 |
<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 |
<BR> |
134 |
<blockquote> build/render an set of radio buttons with onClick javaScript selection </blockquote> |
135 |
</TD> |
136 |
</TR> |
137 |
<!-- =========== Summary =========== --> |
138 |
<TR BGCOLOR='white' CLASS='TableRowColor'> |
139 |
<TD> |
140 |
<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 |
<BR> |
142 |
<blockquote> build/render an input tag of type button </blockquote> |
143 |
</TD> |
144 |
</TR> |
145 |
<!-- =========== Summary =========== --> |
146 |
<TR BGCOLOR='white' CLASS='TableRowColor'> |
147 |
<TD> |
148 |
<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 |
<BR> |
150 |
<blockquote> build/render an input tag of type CHECKBOX </blockquote> |
151 |
</TD> |
152 |
</TR> |
153 |
<!-- =========== Summary =========== --> |
154 |
<TR BGCOLOR='white' CLASS='TableRowColor'> |
155 |
<TD> |
156 |
<CODE><B><A HREF="../phpHtmlLib/_tag_utils_form_utils_inc.html#functionform_close">string form_close ( [$indent_level = 0] )</A></B></CODE> |
157 |
<BR> |
158 |
<blockquote> render a form close tag </blockquote> |
159 |
</TD> |
160 |
</TR> |
161 |
<!-- =========== Summary =========== --> |
162 |
<TR BGCOLOR='white' CLASS='TableRowColor'> |
163 |
<TD> |
164 |
<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 |
<BR> |
166 |
<blockquote> build/render an html tag of file </blockquote> |
167 |
</TD> |
168 |
</TR> |
169 |
<!-- =========== Summary =========== --> |
170 |
<TR BGCOLOR='white' CLASS='TableRowColor'> |
171 |
<TD> |
172 |
<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 |
<BR> |
174 |
<blockquote> build/render an input tag of type hidden </blockquote> |
175 |
</TD> |
176 |
</TR> |
177 |
<!-- =========== Summary =========== --> |
178 |
<TR BGCOLOR='white' CLASS='TableRowColor'> |
179 |
<TD> |
180 |
<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 |
<BR> |
182 |
<blockquote> build/render an input tag of type image </blockquote> |
183 |
</TD> |
184 |
</TR> |
185 |
<!-- =========== Summary =========== --> |
186 |
<TR BGCOLOR='white' CLASS='TableRowColor'> |
187 |
<TD> |
188 |
<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 |
<BR> |
190 |
<blockquote> render an form open tag only. </blockquote> |
191 |
</TD> |
192 |
</TR> |
193 |
<!-- =========== Summary =========== --> |
194 |
<TR BGCOLOR='white' CLASS='TableRowColor'> |
195 |
<TD> |
196 |
<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 |
<BR> |
198 |
<blockquote> build/render an input tag of type password </blockquote> |
199 |
</TD> |
200 |
</TR> |
201 |
<!-- =========== Summary =========== --> |
202 |
<TR BGCOLOR='white' CLASS='TableRowColor'> |
203 |
<TD> |
204 |
<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 |
<BR> |
206 |
<blockquote> build/render an input tag of type radio </blockquote> |
207 |
</TD> |
208 |
</TR> |
209 |
<!-- =========== Summary =========== --> |
210 |
<TR BGCOLOR='white' CLASS='TableRowColor'> |
211 |
<TD> |
212 |
<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 |
<BR> |
214 |
<blockquote> Build a select tag with all of its option tags </blockquote> |
215 |
</TD> |
216 |
</TR> |
217 |
<!-- =========== Summary =========== --> |
218 |
<TR BGCOLOR='white' CLASS='TableRowColor'> |
219 |
<TD> |
220 |
<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 |
<BR> |
222 |
<blockquote> build/render an input tag of type submit </blockquote> |
223 |
</TD> |
224 |
</TR> |
225 |
<!-- =========== Summary =========== --> |
226 |
<TR BGCOLOR='white' CLASS='TableRowColor'> |
227 |
<TD> |
228 |
<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 |
<BR> |
230 |
<blockquote> build/render an input tag of type text </blockquote> |
231 |
</TD> |
232 |
</TR> |
233 |
<!-- =========== Summary =========== --> |
234 |
<TR BGCOLOR='white' CLASS='TableRowColor'> |
235 |
<TD> |
236 |
<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 |
<BR> |
238 |
<blockquote> build a textarea tag with name and attributes. </blockquote> |
239 |
</TD> |
240 |
</TR> |
241 |
<!-- =========== Summary =========== --> |
242 |
<TR BGCOLOR='white' CLASS='TableRowColor'> |
243 |
<TD> |
244 |
<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 |
<BR> |
246 |
<blockquote> render an form open tag only. </blockquote> |
247 |
</TD> |
248 |
</TR> |
249 |
</TABLE> |
250 |
<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 |
<TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='100%' CLASS="bordernobottom"> |
268 |
<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 |
<TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='100%' CLASS="bordernobottom"> |
281 |
<TR BGCOLOR='#CCCCFF' CLASS='TableHeadingColor'> |
282 |
<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 |
<TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='100%' CLASS="bordernobottom"> |
294 |
<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 |
<A NAME="functionform_active_checkbox"><!-- --></A> |
305 |
<SPAN CLASS="font12bold">form_active_checkbox</SPAN> (line <span class="linenumber">327</span>) |
306 |
<BR> |
307 |
<SPAN CLASS="font10bold">Usage : </SPAN> |
308 |
<span class="font10bold" style="color: #FF0000">object</SPAN> |
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 |
<BR> |
312 |
<BR> |
313 |
<SPAN CLASS="font10bold">Description : </SPAN> |
314 |
build/render an input tag of type CHECKBOX with onClick javaScript selection |
315 |
<br /> |
316 |
|
317 |
<DL> |
318 |
<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 |
</DIV> |
329 |
<BR> |
330 |
|
331 |
<DIV CLASS="function"> |
332 |
<A NAME="functionform_active_radio"><!-- --></A> |
333 |
<SPAN CLASS="font12bold">form_active_radio</SPAN> (line <span class="linenumber">234</span>) |
334 |
<BR> |
335 |
<SPAN CLASS="font10bold">Usage : </SPAN> |
336 |
<span class="font10bold" style="color: #FF0000">object</SPAN> |
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 |
<BR> |
340 |
<BR> |
341 |
<SPAN CLASS="font10bold">Description : </SPAN> |
342 |
build/render an set of radio buttons with onClick javaScript selection |
343 |
<br /> |
344 |
|
345 |
<DL> |
346 |
<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 |
</DIV> |
358 |
<BR> |
359 |
|
360 |
<DIV CLASS="function"> |
361 |
<A NAME="functionform_button"><!-- --></A> |
362 |
<SPAN CLASS="font12bold">form_button</SPAN> (line <span class="linenumber">143</span>) |
363 |
<BR> |
364 |
<SPAN CLASS="font10bold">Usage : </SPAN> |
365 |
<span class="font10bold" style="color: #FF0000">mixed</SPAN> |
366 |
<span class="font10bold" style="color: #0000FF">form_button( |
367 |
string $name, [string $value = NULL], [array $attributes = array()], [boolean $render_flag = FALSE])</SPAN> |
368 |
<BR> |
369 |
<BR> |
370 |
<SPAN CLASS="font10bold">Description : </SPAN> |
371 |
build/render an input tag of type button |
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">$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 |
</DIV> |
385 |
<BR> |
386 |
|
387 |
<DIV CLASS="function"> |
388 |
<A NAME="functionform_checkbox"><!-- --></A> |
389 |
<SPAN CLASS="font12bold">form_checkbox</SPAN> (line <span class="linenumber">304</span>) |
390 |
<BR> |
391 |
<SPAN CLASS="font10bold">Usage : </SPAN> |
392 |
<span class="font10bold" style="color: #FF0000">mixed</SPAN> |
393 |
<span class="font10bold" style="color: #0000FF">form_checkbox( |
394 |
string $name, [string $value = NULL], [array $attributes = array()], [boolean $render_flag = FALSE])</SPAN> |
395 |
<BR> |
396 |
<BR> |
397 |
<SPAN CLASS="font10bold">Description : </SPAN> |
398 |
build/render an input tag of type CHECKBOX |
399 |
<br /> |
400 |
|
401 |
<DL> |
402 |
<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 |
</DIV> |
412 |
<BR> |
413 |
|
414 |
<DIV CLASS="function"> |
415 |
<A NAME="functionform_close"><!-- --></A> |
416 |
<SPAN CLASS="font12bold">form_close</SPAN> (line <span class="linenumber">60</span>) |
417 |
<BR> |
418 |
<SPAN CLASS="font10bold">Usage : </SPAN> |
419 |
<span class="font10bold" style="color: #FF0000">string</SPAN> |
420 |
<span class="font10bold" style="color: #0000FF">form_close( |
421 |
mixed $indent_level)</SPAN> |
422 |
<BR> |
423 |
<BR> |
424 |
<SPAN CLASS="font10bold">Description : </SPAN> |
425 |
render a form close tag |
426 |
<br /> |
427 |
|
428 |
<DL> |
429 |
|
430 |
<DT class="font10bold">Function Info:</DT> |
431 |
<DD CLASS="font10" STYLE="padding-bottom:5px;"><b>return</b> - - the </form> tag.</DD> |
432 |
</DL> |
433 |
</DIV> |
434 |
<BR> |
435 |
|
436 |
<DIV CLASS="function"> |
437 |
<A NAME="functionform_file"><!-- --></A> |
438 |
<SPAN CLASS="font12bold">form_file</SPAN> (line <span class="linenumber">386</span>) |
439 |
<BR> |
440 |
<SPAN CLASS="font10bold">Usage : </SPAN> |
441 |
<span class="font10bold" style="color: #FF0000">mixed</SPAN> |
442 |
<span class="font10bold" style="color: #0000FF">form_file( |
443 |
string $name, [string $value = NULL], [array $attributes = array()], [boolean $render_flag = FALSE])</SPAN> |
444 |
<BR> |
445 |
<BR> |
446 |
<SPAN CLASS="font10bold">Description : </SPAN> |
447 |
build/render an html tag of file |
448 |
<br /> |
449 |
|
450 |
<DL> |
451 |
<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 |
</DIV> |
461 |
<BR> |
462 |
|
463 |
<DIV CLASS="function"> |
464 |
<A NAME="functionform_hidden"><!-- --></A> |
465 |
<SPAN CLASS="font12bold">form_hidden</SPAN> (line <span class="linenumber">283</span>) |
466 |
<BR> |
467 |
<SPAN CLASS="font10bold">Usage : </SPAN> |
468 |
<span class="font10bold" style="color: #FF0000">mixed</SPAN> |
469 |
<span class="font10bold" style="color: #0000FF">form_hidden( |
470 |
string $name, [string $value = NULL], [array $attributes = array()], [boolean $render_flag = FALSE])</SPAN> |
471 |
<BR> |
472 |
<BR> |
473 |
<SPAN CLASS="font10bold">Description : </SPAN> |
474 |
build/render an input tag of type hidden |
475 |
<br /> |
476 |
|
477 |
<DL> |
478 |
<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 |
</DIV> |
488 |
<BR> |
489 |
|
490 |
<DIV CLASS="function"> |
491 |
<A NAME="functionform_image"><!-- --></A> |
492 |
<SPAN CLASS="font12bold">form_image</SPAN> (line <span class="linenumber">187</span>) |
493 |
<BR> |
494 |
<SPAN CLASS="font10bold">Usage : </SPAN> |
495 |
<span class="font10bold" style="color: #FF0000">mixed</SPAN> |
496 |
<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 |
<BR> |
499 |
<BR> |
500 |
<SPAN CLASS="font10bold">Description : </SPAN> |
501 |
build/render an input tag of type image |
502 |
<br /> |
503 |
|
504 |
<DL> |
505 |
<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 |
</DIV> |
516 |
<BR> |
517 |
|
518 |
<DIV CLASS="function"> |
519 |
<A NAME="functionform_open"><!-- --></A> |
520 |
<SPAN CLASS="font12bold">form_open</SPAN> (line <span class="linenumber">49</span>) |
521 |
<BR> |
522 |
<SPAN CLASS="font10bold">Usage : </SPAN> |
523 |
<span class="font10bold" style="color: #FF0000">string</SPAN> |
524 |
<span class="font10bold" style="color: #0000FF">form_open( |
525 |
string $name, string $action, [string $method = "GET"], [string $attributes = array()], mixed $indent_level)</SPAN> |
526 |
<BR> |
527 |
<BR> |
528 |
<SPAN CLASS="font10bold">Description : </SPAN> |
529 |
render an form open tag only. |
530 |
<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 |
<DL> |
533 |
<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 |
</DIV> |
543 |
<BR> |
544 |
|
545 |
<DIV CLASS="function"> |
546 |
<A NAME="functionform_password"><!-- --></A> |
547 |
<SPAN CLASS="font12bold">form_password</SPAN> (line <span class="linenumber">113</span>) |
548 |
<BR> |
549 |
<SPAN CLASS="font10bold">Usage : </SPAN> |
550 |
<span class="font10bold" style="color: #FF0000">mixed</SPAN> |
551 |
<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 |
<BR> |
554 |
<BR> |
555 |
<SPAN CLASS="font10bold">Description : </SPAN> |
556 |
build/render an input tag of type password |
557 |
<br /> |
558 |
|
559 |
<DL> |
560 |
<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 |
</DIV> |
572 |
<BR> |
573 |
|
574 |
<DIV CLASS="function"> |
575 |
<A NAME="functionform_radio"><!-- --></A> |
576 |
<SPAN CLASS="font12bold">form_radio</SPAN> (line <span class="linenumber">210</span>) |
577 |
<BR> |
578 |
<SPAN CLASS="font10bold">Usage : </SPAN> |
579 |
<span class="font10bold" style="color: #FF0000">mixed</SPAN> |
580 |
<span class="font10bold" style="color: #0000FF">form_radio( |
581 |
string $name, [string $value = NULL], [array $attributes = array()], [boolean $render_flag = FALSE])</SPAN> |
582 |
<BR> |
583 |
<BR> |
584 |
<SPAN CLASS="font10bold">Description : </SPAN> |
585 |
build/render an input tag of type radio |
586 |
<br /> |
587 |
|
588 |
<DL> |
589 |
<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 |
</DIV> |
599 |
<BR> |
600 |
|
601 |
<DIV CLASS="function"> |
602 |
<A NAME="functionform_select"><!-- --></A> |
603 |
<SPAN CLASS="font12bold">form_select</SPAN> (line <span class="linenumber">449</span>) |
604 |
<BR> |
605 |
<SPAN CLASS="font10bold">Usage : </SPAN> |
606 |
<span class="font10bold" style="color: #FF0000">a</SPAN> |
607 |
<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 |
<BR> |
610 |
<BR> |
611 |
<SPAN CLASS="font10bold">Description : </SPAN> |
612 |
Build a select tag with all of its option tags |
613 |
<br /> |
614 |
|
615 |
<DL> |
616 |
<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" => VALUE ); each <option value="VALUE"> LABEL </option> ie array( "test" => "foo") would give an option of <option value="foo"> test </option></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 <option value="foo" SELECTED>foo</option> 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 |
</DIV> |
628 |
<BR> |
629 |
|
630 |
<DIV CLASS="function"> |
631 |
<A NAME="functionform_submit"><!-- --></A> |
632 |
<SPAN CLASS="font12bold">form_submit</SPAN> (line <span class="linenumber">165</span>) |
633 |
<BR> |
634 |
<SPAN CLASS="font10bold">Usage : </SPAN> |
635 |
<span class="font10bold" style="color: #FF0000">mixed</SPAN> |
636 |
<span class="font10bold" style="color: #0000FF">form_submit( |
637 |
string $name, [string $value = NULL], [array $attributes = array()], [boolean $render_flag = FALSE])</SPAN> |
638 |
<BR> |
639 |
<BR> |
640 |
<SPAN CLASS="font10bold">Description : </SPAN> |
641 |
build/render an input tag of type submit |
642 |
<br /> |
643 |
|
644 |
<DL> |
645 |
<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 |
</DIV> |
655 |
<BR> |
656 |
|
657 |
<DIV CLASS="function"> |
658 |
<A NAME="functionform_text"><!-- --></A> |
659 |
<SPAN CLASS="font12bold">form_text</SPAN> (line <span class="linenumber">80</span>) |
660 |
<BR> |
661 |
<SPAN CLASS="font10bold">Usage : </SPAN> |
662 |
<span class="font10bold" style="color: #FF0000">mixed</SPAN> |
663 |
<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 |
<BR> |
666 |
<BR> |
667 |
<SPAN CLASS="font10bold">Description : </SPAN> |
668 |
build/render an input tag of type text |
669 |
<br /> |
670 |
|
671 |
<DL> |
672 |
<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 |
</DIV> |
684 |
<BR> |
685 |
|
686 |
<DIV CLASS="function"> |
687 |
<A NAME="functionform_textarea"><!-- --></A> |
688 |
<SPAN CLASS="font12bold">form_textarea</SPAN> (line <span class="linenumber">413</span>) |
689 |
<BR> |
690 |
<SPAN CLASS="font10bold">Usage : </SPAN> |
691 |
<span class="font10bold" style="color: #FF0000"><a href="../phpHtmlLib/TEXTAREAtag.html">TEXTAREAtag</a></SPAN> |
692 |
<span class="font10bold" style="color: #0000FF">form_textarea( |
693 |
string $name, [string $value = NULL], [array $attributes = array()], [boolean $render_flag = FALSE])</SPAN> |
694 |
<BR> |
695 |
<BR> |
696 |
<SPAN CLASS="font10bold">Description : </SPAN> |
697 |
build a textarea tag with name and attributes. |
698 |
<br /> |
699 |
|
700 |
<DL> |
701 |
<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 |
</DIV> |
712 |
<BR> |
713 |
|
714 |
<DIV CLASS="function"> |
715 |
<A NAME="functionhtml_form"><!-- --></A> |
716 |
<SPAN CLASS="font12bold">html_form</SPAN> (line <span class="linenumber">28</span>) |
717 |
<BR> |
718 |
<SPAN CLASS="font10bold">Usage : </SPAN> |
719 |
<span class="font10bold" style="color: #FF0000">string</SPAN> |
720 |
<span class="font10bold" style="color: #0000FF">html_form( |
721 |
string $name, string $action, [string $method = "GET"], [string $attributes = array()])</SPAN> |
722 |
<BR> |
723 |
<BR> |
724 |
<SPAN CLASS="font10bold">Description : </SPAN> |
725 |
render an form open tag only. |
726 |
<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 |
<DL> |
729 |
<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 |
</DIV> |
739 |
<BR> |
740 |
<br> |
741 |
<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> |