1 |
jonen |
1.1 |
<!DOCTYPE HTML PUBLIC '-//W3C//DTD HTML 4.0 Frameset//EN''http://www.w3.org/TR/REC-html40/frameset.dtd'> |
2 |
|
|
<!--NewPage--> |
3 |
|
|
<HTML> |
4 |
|
|
<HEAD> |
5 |
|
|
<!-- Generated by PhpDoc date: 'Mon, 25 Nov 2002 09:21:31 -0800' --> |
6 |
|
|
<TITLE>Docs for page form_utils.inc</TITLE> |
7 |
|
|
<LINK REL ='stylesheet' TYPE='text/css' HREF='stylesheet.css' TITLE='Style'> |
8 |
|
|
</HEAD> |
9 |
|
|
<BODY style="background-color: #eeeeee; font-family: arial; font-size: .9em;"> |
10 |
|
|
|
11 |
|
|
|
12 |
|
|
<!-- Links --> |
13 |
|
|
<a NAME="top"></A> |
14 |
|
|
<table WIDTH="100%" class="links"> |
15 |
|
|
<TR> |
16 |
|
|
<TD class="font10"> |
17 |
|
|
Links: |
18 |
|
|
<A HREF="#classes_summary" class="links" title="Classes created in this file">Classes</A> |
19 |
|
|
<A HREF="#includes_summary" class="links" title="Include Statements Summary">Includes</A> |
20 |
|
|
<A HREF="#globals_summary" class="links" title="Global Variable Summary">Globals</A> |
21 |
|
|
<A HREF="#constant_summary" class="links" title="Constant Summary">Constants</A> |
22 |
|
|
<A HREF="#functions_summary" class="links" title="Function Summary">Functions</A> |
23 |
|
|
<A HREF="#includes_detail" class="links" title="Include Statements Detail">Includes Detail</A> |
24 |
|
|
<A HREF="#global_detail" class="links" title="Global Variable Detail">Globals Detail</A> |
25 |
|
|
<A HREF="#constant_detail" class="links" title="Constant Detail">Constants Detail</A> |
26 |
|
|
<A HREF="#function_detail" class="links" title="Function Detail">Functions Detail</A> |
27 |
|
|
</TD> |
28 |
|
|
</TR> |
29 |
|
|
</TABLE> |
30 |
|
|
<BR> |
31 |
|
|
|
32 |
|
|
<h2>File: Program_Root/tag_utils/form_utils.inc</h2> |
33 |
|
|
<!-- ========== Info from phpDoc block ========= --> |
34 |
|
|
This file contains various helper functions |
35 |
|
|
for building forms and form elements. |
36 |
|
|
<BR> |
37 |
|
|
$Id: _tag_utils_form_utils_inc.html,v 1.20 2002/11/25 17:56:10 hemna Exp $ |
38 |
|
|
|
39 |
|
|
<UL> |
40 |
|
|
|
41 |
|
|
<LI><b>Package</b> - <CODE>phpHtmlLib</CODE></LI> |
42 |
|
|
|
43 |
|
|
<LI><b>Author</b> - <CODE>Walter A. Boring IV <<a href="mailto:waboring@buildabetterweb.com">waboring@buildabetterweb.com</a>></CODE></LI> |
44 |
|
|
|
45 |
|
|
</UL> |
46 |
|
|
|
47 |
|
|
<br> |
48 |
|
|
<!-- =========== Used Classes =========== --> |
49 |
|
|
<A NAME='classes_summary'><!-- --></A> |
50 |
|
|
<TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='100%' CLASS="bordernobottom"> |
51 |
|
|
<TR CLASS='TableHeadingColor'> |
52 |
|
|
<TD> |
53 |
|
|
<span class="font12bold">Classes defined in this file</span> |
54 |
|
|
<A HREF="#top" CLASS="links">^TOP</A> |
55 |
|
|
</TD> |
56 |
|
|
</TR> |
57 |
|
|
</TABLE> |
58 |
|
|
<TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='100%' CLASS="border"> |
59 |
|
|
<THEAD> |
60 |
|
|
<TR><TD STYLE="width:20%"><h4>CLASS NAME</h4></TD><TD STYLE="width: 80%"><h4>DESCRIPTION</h4></TD></TR> |
61 |
|
|
</THEAD> |
62 |
|
|
<TBODY> |
63 |
|
|
|
64 |
|
|
</TBODY> |
65 |
|
|
</TABLE> |
66 |
|
|
<br> |
67 |
|
|
<br> |
68 |
|
|
<!-- =========== Includes SUMMARY =========== --> |
69 |
|
|
<A NAME='includes_summary'><!-- --></A> |
70 |
|
|
<TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='100%' CLASS="bordernobottom"> |
71 |
|
|
<TR BGCOLOR='#CCCCFF' CLASS='TableHeadingColor'> |
72 |
|
|
<TD> |
73 |
|
|
<span CLASS="font12bold">Include Statements Summary</span> |
74 |
|
|
<A HREF="#top" CLASS="links">^TOP</A> |
75 |
|
|
</TD> |
76 |
|
|
</TR> |
77 |
|
|
</TABLE> |
78 |
|
|
<TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='100%' CLASS="border"> |
79 |
|
|
<THEAD> |
80 |
|
|
<TR><TH>INCLUDE TYPE</TH><TH>INCLUDED FILENAME</TH><TH>DESCRIPTION</TH></TR> |
81 |
|
|
</THEAD> |
82 |
|
|
<TBODY> |
83 |
|
|
|
84 |
|
|
</TBODY> |
85 |
|
|
</TABLE> |
86 |
|
|
<br> |
87 |
|
|
|
88 |
|
|
<br> |
89 |
|
|
<!-- =========== CONSTANT SUMMARY =========== --> |
90 |
|
|
<A NAME='global_summary'><!-- --></A> |
91 |
|
|
<TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='100%' CLASS="bordernobottom"> |
92 |
|
|
<TR BGCOLOR='#CCCCFF' CLASS='TableHeadingColor'> |
93 |
|
|
<TD> |
94 |
|
|
<FONT SIZE='+2'><B>Global Variable Summary</B></FONT> |
95 |
|
|
<A HREF="#top" CLASS="links">^TOP</A> |
96 |
|
|
</TD> |
97 |
|
|
</TR> |
98 |
|
|
</TABLE> |
99 |
|
|
<TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='100%' CLASS="border"> |
100 |
|
|
<THEAD> |
101 |
|
|
<TR><TH>VARIABLE NAME</TH><TH>VARIABLE VALUE</TH><TH>DESCRIPTION</TH></TR> |
102 |
|
|
</THEAD> |
103 |
|
|
<TBODY> |
104 |
|
|
|
105 |
|
|
</TBODY> |
106 |
|
|
</TABLE> |
107 |
|
|
<br> |
108 |
|
|
|
109 |
|
|
|
110 |
|
|
<br> |
111 |
|
|
<!-- =========== CONSTANT SUMMARY =========== --> |
112 |
|
|
<A NAME='constant_summary'><!-- --></A> |
113 |
|
|
<TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='100%' CLASS="bordernobottom"> |
114 |
|
|
<TR CLASS='TableHeadingColor'> |
115 |
|
|
<TD> |
116 |
|
|
<span CLASS="font12bold">Constant Summary</span> |
117 |
|
|
<A HREF="#top" CLASS="links">^TOP</A> |
118 |
|
|
</TD> |
119 |
|
|
</TR> |
120 |
|
|
</TABLE> |
121 |
|
|
<TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='100%' CLASS="border"> |
122 |
|
|
<THEAD> |
123 |
|
|
<TR><TH>CONSTANT NAME</TH><TH>CONSTANT VALUE</TH><TH>DESCRIPTION</TH></TR> |
124 |
|
|
</THEAD> |
125 |
|
|
<TBODY> |
126 |
|
|
|
127 |
|
|
</TBODY> |
128 |
|
|
</TABLE> |
129 |
|
|
<br> |
130 |
|
|
|
131 |
|
|
<br> |
132 |
|
|
<!-- =========== Function SUMMARY =========== --> |
133 |
|
|
<A NAME='Function_summary'><!-- --></A> |
134 |
|
|
<TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='100%' Class="border"> |
135 |
|
|
<TR BGCOLOR='#CCCCFF' CLASS='TableHeadingColor'> |
136 |
|
|
<TD> |
137 |
|
|
<span class="font12bold">Function Summary</span> |
138 |
|
|
<A HREF="#top" CLASS="links">^TOP</A> |
139 |
|
|
</TD> |
140 |
|
|
</TR> |
141 |
|
|
|
142 |
|
|
|
143 |
|
|
<!-- =========== Summary =========== --> |
144 |
|
|
<TR BGCOLOR='white' CLASS='TableRowColor'> |
145 |
|
|
<TD> |
146 |
|
|
<CODE><B><A HREF='_tag_utils_form_utils_inc.html#form_active_checkbox'>returns form_active_checkbox ( $formname, $name, [$text = NULL], [$value = NULL], [$onClick = NULL], [$disabled = FALSE] )</A></B></CODE> |
147 |
|
|
<BR> |
148 |
|
|
<blockquote> build/render an input tag of type CHECKBOX |
149 |
|
|
with onClick javaScript selection </blockquote> |
150 |
|
|
</TD> |
151 |
|
|
</TR> |
152 |
|
|
|
153 |
|
|
<!-- =========== Summary =========== --> |
154 |
|
|
<TR BGCOLOR='white' CLASS='TableRowColor'> |
155 |
|
|
<TD> |
156 |
|
|
<CODE><B><A HREF='_tag_utils_form_utils_inc.html#form_active_radio'>returns form_active_radio ( $formname, $name, $list, $value, [$line_break = TRUE], [$attribs = FALSE] )</A></B></CODE> |
157 |
|
|
<BR> |
158 |
|
|
<blockquote> build/render an set of radio buttons |
159 |
|
|
with onClick javaScript selection </blockquote> |
160 |
|
|
</TD> |
161 |
|
|
</TR> |
162 |
|
|
|
163 |
|
|
<!-- =========== Summary =========== --> |
164 |
|
|
<TR BGCOLOR='white' CLASS='TableRowColor'> |
165 |
|
|
<TD> |
166 |
|
|
<CODE><B><A HREF='_tag_utils_form_utils_inc.html#form_button'>mixed form_button ( $name, [$value = NULL], [$attributes = array()], [$render_flag = FALSE] )</A></B></CODE> |
167 |
|
|
<BR> |
168 |
|
|
<blockquote> build/render an input tag of type button </blockquote> |
169 |
|
|
</TD> |
170 |
|
|
</TR> |
171 |
|
|
|
172 |
|
|
<!-- =========== Summary =========== --> |
173 |
|
|
<TR BGCOLOR='white' CLASS='TableRowColor'> |
174 |
|
|
<TD> |
175 |
|
|
<CODE><B><A HREF='_tag_utils_form_utils_inc.html#form_checkbox'>mixed form_checkbox ( $name, [$value = NULL], [$attributes = array()], [$render_flag = FALSE] )</A></B></CODE> |
176 |
|
|
<BR> |
177 |
|
|
<blockquote> build/render an input tag of type CHECKBOX </blockquote> |
178 |
|
|
</TD> |
179 |
|
|
</TR> |
180 |
|
|
|
181 |
|
|
<!-- =========== Summary =========== --> |
182 |
|
|
<TR BGCOLOR='white' CLASS='TableRowColor'> |
183 |
|
|
<TD> |
184 |
|
|
<CODE><B><A HREF='_tag_utils_form_utils_inc.html#form_close'>string form_close ( [$indent_level = 0] )</A></B></CODE> |
185 |
|
|
<BR> |
186 |
|
|
<blockquote> render a form close tag </blockquote> |
187 |
|
|
</TD> |
188 |
|
|
</TR> |
189 |
|
|
|
190 |
|
|
<!-- =========== Summary =========== --> |
191 |
|
|
<TR BGCOLOR='white' CLASS='TableRowColor'> |
192 |
|
|
<TD> |
193 |
|
|
<CODE><B><A HREF='_tag_utils_form_utils_inc.html#form_file'>mixed form_file ( $name, [$value = NULL], [$attributes = array()], [$render_flag = FALSE] )</A></B></CODE> |
194 |
|
|
<BR> |
195 |
|
|
<blockquote> build/render an html tag of file </blockquote> |
196 |
|
|
</TD> |
197 |
|
|
</TR> |
198 |
|
|
|
199 |
|
|
<!-- =========== Summary =========== --> |
200 |
|
|
<TR BGCOLOR='white' CLASS='TableRowColor'> |
201 |
|
|
<TD> |
202 |
|
|
<CODE><B><A HREF='_tag_utils_form_utils_inc.html#form_hidden'>mixed form_hidden ( $name, [$value = NULL], [$attributes = array()], [$render_flag = FALSE] )</A></B></CODE> |
203 |
|
|
<BR> |
204 |
|
|
<blockquote> build/render an input tag of type hidden </blockquote> |
205 |
|
|
</TD> |
206 |
|
|
</TR> |
207 |
|
|
|
208 |
|
|
<!-- =========== Summary =========== --> |
209 |
|
|
<TR BGCOLOR='white' CLASS='TableRowColor'> |
210 |
|
|
<TD> |
211 |
|
|
<CODE><B><A HREF='_tag_utils_form_utils_inc.html#form_image'>mixed form_image ( $name, [$value = NULL], $src, [$attributes = array()], [$render_flag = FALSE] )</A></B></CODE> |
212 |
|
|
<BR> |
213 |
|
|
<blockquote> build/render an input tag of type image </blockquote> |
214 |
|
|
</TD> |
215 |
|
|
</TR> |
216 |
|
|
|
217 |
|
|
<!-- =========== Summary =========== --> |
218 |
|
|
<TR BGCOLOR='white' CLASS='TableRowColor'> |
219 |
|
|
<TD> |
220 |
|
|
<CODE><B><A HREF='_tag_utils_form_utils_inc.html#form_open'>string form_open ( $name, $action, [$method = "GET"], [$attributes = array()], [$indent_level = 0] )</A></B></CODE> |
221 |
|
|
<BR> |
222 |
|
|
<blockquote> render an form open tag only. </blockquote> |
223 |
|
|
</TD> |
224 |
|
|
</TR> |
225 |
|
|
|
226 |
|
|
<!-- =========== Summary =========== --> |
227 |
|
|
<TR BGCOLOR='white' CLASS='TableRowColor'> |
228 |
|
|
<TD> |
229 |
|
|
<CODE><B><A HREF='_tag_utils_form_utils_inc.html#form_password'>mixed form_password ( $name, [$value = NULL], [$size = NULL], [$maxlength = NULL], [$attributes = array()], [$render_flag = FALSE] )</A></B></CODE> |
230 |
|
|
<BR> |
231 |
|
|
<blockquote> build/render an input tag of type password </blockquote> |
232 |
|
|
</TD> |
233 |
|
|
</TR> |
234 |
|
|
|
235 |
|
|
<!-- =========== Summary =========== --> |
236 |
|
|
<TR BGCOLOR='white' CLASS='TableRowColor'> |
237 |
|
|
<TD> |
238 |
|
|
<CODE><B><A HREF='_tag_utils_form_utils_inc.html#form_radio'>mixed form_radio ( $name, [$value = NULL], [$attributes = array()], [$render_flag = FALSE] )</A></B></CODE> |
239 |
|
|
<BR> |
240 |
|
|
<blockquote> build/render an input tag of type radio </blockquote> |
241 |
|
|
</TD> |
242 |
|
|
</TR> |
243 |
|
|
|
244 |
|
|
<!-- =========== Summary =========== --> |
245 |
|
|
<TR BGCOLOR='white' CLASS='TableRowColor'> |
246 |
|
|
<TD> |
247 |
|
|
<CODE><B><A HREF='_tag_utils_form_utils_inc.html#form_select'>a form_select ( $name, [$options = array()], $selected, [$multiple_flag = ""FALSE] )</A></B></CODE> |
248 |
|
|
<BR> |
249 |
|
|
<blockquote> Build a select tag with all of its option tags </blockquote> |
250 |
|
|
</TD> |
251 |
|
|
</TR> |
252 |
|
|
|
253 |
|
|
<!-- =========== Summary =========== --> |
254 |
|
|
<TR BGCOLOR='white' CLASS='TableRowColor'> |
255 |
|
|
<TD> |
256 |
|
|
<CODE><B><A HREF='_tag_utils_form_utils_inc.html#form_submit'>mixed form_submit ( $name, [$value = NULL], [$attributes = array()], [$render_flag = FALSE] )</A></B></CODE> |
257 |
|
|
<BR> |
258 |
|
|
<blockquote> build/render an input tag of type submit </blockquote> |
259 |
|
|
</TD> |
260 |
|
|
</TR> |
261 |
|
|
|
262 |
|
|
<!-- =========== Summary =========== --> |
263 |
|
|
<TR BGCOLOR='white' CLASS='TableRowColor'> |
264 |
|
|
<TD> |
265 |
|
|
<CODE><B><A HREF='_tag_utils_form_utils_inc.html#form_text'>mixed form_text ( $name, [$value = NULL], [$size = NULL], [$maxlength = NULL], [$attributes = array()], [$render_flag = FALSE] )</A></B></CODE> |
266 |
|
|
<BR> |
267 |
|
|
<blockquote> build/render an input tag of type text </blockquote> |
268 |
|
|
</TD> |
269 |
|
|
</TR> |
270 |
|
|
|
271 |
|
|
<!-- =========== Summary =========== --> |
272 |
|
|
<TR BGCOLOR='white' CLASS='TableRowColor'> |
273 |
|
|
<TD> |
274 |
|
|
<CODE><B><A HREF='_tag_utils_form_utils_inc.html#form_textarea'>TEXTAREAtag form_textarea ( $name, [$value = NULL], [$attributes = array()], [$render_flag = FALSE] )</A></B></CODE> |
275 |
|
|
<BR> |
276 |
|
|
<blockquote> build a textarea tag with name and attributes. </blockquote> |
277 |
|
|
</TD> |
278 |
|
|
</TR> |
279 |
|
|
|
280 |
|
|
<!-- =========== Summary =========== --> |
281 |
|
|
<TR BGCOLOR='white' CLASS='TableRowColor'> |
282 |
|
|
<TD> |
283 |
|
|
<CODE><B><A HREF='_tag_utils_form_utils_inc.html#html_form'>string html_form ( $name, $action, [$method = "GET"], [$attributes = array()] )</A></B></CODE> |
284 |
|
|
<BR> |
285 |
|
|
<blockquote> render an form open tag only. </blockquote> |
286 |
|
|
</TD> |
287 |
|
|
</TR> |
288 |
|
|
|
289 |
|
|
</TABLE> |
290 |
|
|
|
291 |
|
|
<br> |
292 |
|
|
<!-- ============ Includes DETAIL =========== --> |
293 |
|
|
|
294 |
|
|
<A NAME='includes_detail'></A> |
295 |
|
|
<TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='100%' CLASS="border"> |
296 |
|
|
<TR BGCOLOR='#CCCCFF' CLASS='TableHeadingColor'> |
297 |
|
|
<TD> |
298 |
|
|
<span CLASS="font12bold">Include Statements Detail</span> |
299 |
|
|
<A HREF="#top" CLASS="links">^TOP</A> |
300 |
|
|
</TD> |
301 |
|
|
</TR> |
302 |
|
|
</TABLE> |
303 |
|
|
|
304 |
|
|
|
305 |
|
|
|
306 |
|
|
<br> |
307 |
|
|
<!-- ============ GLOBALS DETAIL =========== --> |
308 |
|
|
|
309 |
|
|
<A NAME='global_detail'></A> |
310 |
|
|
<TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='100%' CLASS="border"> |
311 |
|
|
<TR BGCOLOR='#CCCCFF' CLASS='TableHeadingColor'> |
312 |
|
|
<TD> |
313 |
|
|
<span CLASS="font12bold">Global Variable Detail</span> |
314 |
|
|
<A HREF="#top" CLASS="links">^TOP</A> |
315 |
|
|
</TD> |
316 |
|
|
</TR> |
317 |
|
|
</TABLE> |
318 |
|
|
|
319 |
|
|
|
320 |
|
|
|
321 |
|
|
<br> |
322 |
|
|
<!-- ============ CONSTANT DETAIL =========== --> |
323 |
|
|
|
324 |
|
|
<A NAME='constant_detail'></A> |
325 |
|
|
<TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='100%' CLASS="border"> |
326 |
|
|
<TR CLASS='TableHeadingColor'> |
327 |
|
|
<TD> |
328 |
|
|
<span CLASS="font12bold">Constant Detail</span> |
329 |
|
|
<A HREF="#top" CLASS="links">^TOP</A> |
330 |
|
|
</TD> |
331 |
|
|
</TR> |
332 |
|
|
</TABLE> |
333 |
|
|
|
334 |
|
|
|
335 |
|
|
|
336 |
|
|
<br> |
337 |
|
|
<!-- ============ FUNCTION DETAIL =========== --> |
338 |
|
|
|
339 |
|
|
<A NAME='function_detail'></A> |
340 |
|
|
<TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='100%' CLASS="border"> |
341 |
|
|
<TR BGCOLOR='#CCCCFF' CLASS='TableHeadingColor'> |
342 |
|
|
<TD> |
343 |
|
|
<span class="font12bold">Function Detail</span> |
344 |
|
|
<A HREF="#top" CLASS="links">^TOP</A> |
345 |
|
|
</TD> |
346 |
|
|
</TR> |
347 |
|
|
</TABLE> |
348 |
|
|
<BR> |
349 |
|
|
|
350 |
|
|
<DIV CLASS="function"> |
351 |
|
|
<A NAME='form_active_checkbox'><!-- --></A> |
352 |
|
|
<SPAN CLASS="font12bold">form_active_checkbox</SPAN> |
353 |
|
|
<BR> |
354 |
|
|
<SPAN CLASS="font10bold">Useage : </SPAN> |
355 |
|
|
<span class="font10bold" style="color: #FF0000">returns</SPAN> |
356 |
|
|
<span class="font10bold" style="color: #0000FF">form_active_checkbox ( $formname, $name, [$text = NULL], [$value = NULL], [$onClick = NULL], [$disabled = FALSE] )</SPAN> |
357 |
|
|
<BR> |
358 |
|
|
|
359 |
|
|
<BR> |
360 |
|
|
<SPAN CLASS="font10bold">Description : </SPAN> |
361 |
|
|
<!-- ========== Info from phpDoc block ========= --> |
362 |
|
|
build/render an input tag of type CHECKBOX |
363 |
|
|
with onClick javaScript selection |
364 |
|
|
<BR> |
365 |
|
|
|
366 |
|
|
<DL> |
367 |
|
|
<DT class="font10bold">Function Parameters:</DT> |
368 |
|
|
|
369 |
|
|
<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">$formname</SPAN></SPAN> - the name of the form that |
370 |
|
|
the checkbox lives</DD> |
371 |
|
|
|
372 |
|
|
<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> |
373 |
|
|
|
374 |
|
|
<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> |
375 |
|
|
|
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">$text</SPAN></SPAN> - text label for the checkbox</DD> |
377 |
|
|
|
378 |
|
|
|
379 |
|
|
<DT class="font10bold">Function Info:</DT> |
380 |
|
|
|
381 |
|
|
<DD CLASS="font10" STYLE="padding-bottom:5px;"><b>Return</b> - a container object</DD> |
382 |
|
|
|
383 |
|
|
<DD CLASS="font10" STYLE="padding-bottom:5px;"><b>Author</b> - Suren Markossian</DD> |
384 |
|
|
|
385 |
|
|
</DL> |
386 |
|
|
|
387 |
|
|
</DIV> |
388 |
|
|
<BR> |
389 |
|
|
|
390 |
|
|
<DIV CLASS="function"> |
391 |
|
|
<A NAME='form_active_radio'><!-- --></A> |
392 |
|
|
<SPAN CLASS="font12bold">form_active_radio</SPAN> |
393 |
|
|
<BR> |
394 |
|
|
<SPAN CLASS="font10bold">Useage : </SPAN> |
395 |
|
|
<span class="font10bold" style="color: #FF0000">returns</SPAN> |
396 |
|
|
<span class="font10bold" style="color: #0000FF">form_active_radio ( $formname, $name, $list, $value, [$line_break = TRUE], [$attribs = FALSE] )</SPAN> |
397 |
|
|
<BR> |
398 |
|
|
|
399 |
|
|
<BR> |
400 |
|
|
<SPAN CLASS="font10bold">Description : </SPAN> |
401 |
|
|
<!-- ========== Info from phpDoc block ========= --> |
402 |
|
|
build/render an set of radio buttons |
403 |
|
|
with onClick javaScript selection |
404 |
|
|
<BR> |
405 |
|
|
|
406 |
|
|
<DL> |
407 |
|
|
<DT class="font10bold">Function Parameters:</DT> |
408 |
|
|
|
409 |
|
|
<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> |
410 |
|
|
|
411 |
|
|
<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> |
412 |
|
|
|
413 |
|
|
<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> |
414 |
|
|
|
415 |
|
|
<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> |
416 |
|
|
|
417 |
|
|
<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> |
418 |
|
|
|
419 |
|
|
|
420 |
|
|
<DT class="font10bold">Function Info:</DT> |
421 |
|
|
|
422 |
|
|
<DD CLASS="font10" STYLE="padding-bottom:5px;"><b>Return</b> - a container object</DD> |
423 |
|
|
|
424 |
|
|
<DD CLASS="font10" STYLE="padding-bottom:5px;"><b>Author</b> - Suren Markossian</DD> |
425 |
|
|
|
426 |
|
|
</DL> |
427 |
|
|
|
428 |
|
|
</DIV> |
429 |
|
|
<BR> |
430 |
|
|
|
431 |
|
|
<DIV CLASS="function"> |
432 |
|
|
<A NAME='form_button'><!-- --></A> |
433 |
|
|
<SPAN CLASS="font12bold">form_button</SPAN> |
434 |
|
|
<BR> |
435 |
|
|
<SPAN CLASS="font10bold">Useage : </SPAN> |
436 |
|
|
<span class="font10bold" style="color: #FF0000">mixed</SPAN> |
437 |
|
|
<span class="font10bold" style="color: #0000FF">form_button ( $name, [$value = NULL], [$attributes = array()], [$render_flag = FALSE] )</SPAN> |
438 |
|
|
<BR> |
439 |
|
|
|
440 |
|
|
<BR> |
441 |
|
|
<SPAN CLASS="font10bold">Description : </SPAN> |
442 |
|
|
<!-- ========== Info from phpDoc block ========= --> |
443 |
|
|
build/render an input tag of type button |
444 |
|
|
<BR> |
445 |
|
|
|
446 |
|
|
<DL> |
447 |
|
|
<DT class="font10bold">Function Parameters:</DT> |
448 |
|
|
|
449 |
|
|
<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> |
450 |
|
|
|
451 |
|
|
<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> |
452 |
|
|
|
453 |
|
|
<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> |
454 |
|
|
|
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 |
|
|
|
458 |
|
|
<DT class="font10bold">Function Info:</DT> |
459 |
|
|
|
460 |
|
|
<DD CLASS="font10" STYLE="padding-bottom:5px;"><b>Return</b> - either returns an input object (default) or raw html.</DD> |
461 |
|
|
|
462 |
|
|
</DL> |
463 |
|
|
|
464 |
|
|
</DIV> |
465 |
|
|
<BR> |
466 |
|
|
|
467 |
|
|
<DIV CLASS="function"> |
468 |
|
|
<A NAME='form_checkbox'><!-- --></A> |
469 |
|
|
<SPAN CLASS="font12bold">form_checkbox</SPAN> |
470 |
|
|
<BR> |
471 |
|
|
<SPAN CLASS="font10bold">Useage : </SPAN> |
472 |
|
|
<span class="font10bold" style="color: #FF0000">mixed</SPAN> |
473 |
|
|
<span class="font10bold" style="color: #0000FF">form_checkbox ( $name, [$value = NULL], [$attributes = array()], [$render_flag = FALSE] )</SPAN> |
474 |
|
|
<BR> |
475 |
|
|
|
476 |
|
|
<BR> |
477 |
|
|
<SPAN CLASS="font10bold">Description : </SPAN> |
478 |
|
|
<!-- ========== Info from phpDoc block ========= --> |
479 |
|
|
build/render an input tag of type CHECKBOX |
480 |
|
|
<BR> |
481 |
|
|
|
482 |
|
|
<DL> |
483 |
|
|
<DT class="font10bold">Function Parameters:</DT> |
484 |
|
|
|
485 |
|
|
<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> |
486 |
|
|
|
487 |
|
|
<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> |
488 |
|
|
|
489 |
|
|
<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> |
490 |
|
|
|
491 |
|
|
<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> |
492 |
|
|
|
493 |
|
|
|
494 |
|
|
<DT class="font10bold">Function Info:</DT> |
495 |
|
|
|
496 |
|
|
<DD CLASS="font10" STYLE="padding-bottom:5px;"><b>Return</b> - either returns an input object (default) or raw html.</DD> |
497 |
|
|
|
498 |
|
|
</DL> |
499 |
|
|
|
500 |
|
|
</DIV> |
501 |
|
|
<BR> |
502 |
|
|
|
503 |
|
|
<DIV CLASS="function"> |
504 |
|
|
<A NAME='form_close'><!-- --></A> |
505 |
|
|
<SPAN CLASS="font12bold">form_close</SPAN> |
506 |
|
|
<BR> |
507 |
|
|
<SPAN CLASS="font10bold">Useage : </SPAN> |
508 |
|
|
<span class="font10bold" style="color: #FF0000">string</SPAN> |
509 |
|
|
<span class="font10bold" style="color: #0000FF">form_close ( [$indent_level = 0] )</SPAN> |
510 |
|
|
<BR> |
511 |
|
|
|
512 |
|
|
<BR> |
513 |
|
|
<SPAN CLASS="font10bold">Description : </SPAN> |
514 |
|
|
<!-- ========== Info from phpDoc block ========= --> |
515 |
|
|
render a form close tag |
516 |
|
|
<BR> |
517 |
|
|
|
518 |
|
|
<DL> |
519 |
|
|
<DT class="font10bold">Function Parameters:</DT> |
520 |
|
|
|
521 |
|
|
|
522 |
|
|
<DT class="font10bold">Function Info:</DT> |
523 |
|
|
|
524 |
|
|
<DD CLASS="font10" STYLE="padding-bottom:5px;"><b>Return</b> - - the </form> tag.</DD> |
525 |
|
|
|
526 |
|
|
</DL> |
527 |
|
|
|
528 |
|
|
</DIV> |
529 |
|
|
<BR> |
530 |
|
|
|
531 |
|
|
<DIV CLASS="function"> |
532 |
|
|
<A NAME='form_file'><!-- --></A> |
533 |
|
|
<SPAN CLASS="font12bold">form_file</SPAN> |
534 |
|
|
<BR> |
535 |
|
|
<SPAN CLASS="font10bold">Useage : </SPAN> |
536 |
|
|
<span class="font10bold" style="color: #FF0000">mixed</SPAN> |
537 |
|
|
<span class="font10bold" style="color: #0000FF">form_file ( $name, [$value = NULL], [$attributes = array()], [$render_flag = FALSE] )</SPAN> |
538 |
|
|
<BR> |
539 |
|
|
|
540 |
|
|
<BR> |
541 |
|
|
<SPAN CLASS="font10bold">Description : </SPAN> |
542 |
|
|
<!-- ========== Info from phpDoc block ========= --> |
543 |
|
|
build/render an html tag of file |
544 |
|
|
<BR> |
545 |
|
|
|
546 |
|
|
<DL> |
547 |
|
|
<DT class="font10bold">Function Parameters:</DT> |
548 |
|
|
|
549 |
|
|
<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> |
550 |
|
|
|
551 |
|
|
<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> |
552 |
|
|
|
553 |
|
|
<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> |
554 |
|
|
|
555 |
|
|
<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> |
556 |
|
|
|
557 |
|
|
|
558 |
|
|
<DT class="font10bold">Function Info:</DT> |
559 |
|
|
|
560 |
|
|
<DD CLASS="font10" STYLE="padding-bottom:5px;"><b>Return</b> - either returns an input object (default) or raw html.</DD> |
561 |
|
|
|
562 |
|
|
</DL> |
563 |
|
|
|
564 |
|
|
</DIV> |
565 |
|
|
<BR> |
566 |
|
|
|
567 |
|
|
<DIV CLASS="function"> |
568 |
|
|
<A NAME='form_hidden'><!-- --></A> |
569 |
|
|
<SPAN CLASS="font12bold">form_hidden</SPAN> |
570 |
|
|
<BR> |
571 |
|
|
<SPAN CLASS="font10bold">Useage : </SPAN> |
572 |
|
|
<span class="font10bold" style="color: #FF0000">mixed</SPAN> |
573 |
|
|
<span class="font10bold" style="color: #0000FF">form_hidden ( $name, [$value = NULL], [$attributes = array()], [$render_flag = FALSE] )</SPAN> |
574 |
|
|
<BR> |
575 |
|
|
|
576 |
|
|
<BR> |
577 |
|
|
<SPAN CLASS="font10bold">Description : </SPAN> |
578 |
|
|
<!-- ========== Info from phpDoc block ========= --> |
579 |
|
|
build/render an input tag of type hidden |
580 |
|
|
<BR> |
581 |
|
|
|
582 |
|
|
<DL> |
583 |
|
|
<DT class="font10bold">Function Parameters:</DT> |
584 |
|
|
|
585 |
|
|
<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> |
586 |
|
|
|
587 |
|
|
<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> |
588 |
|
|
|
589 |
|
|
<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> |
590 |
|
|
|
591 |
|
|
<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> |
592 |
|
|
|
593 |
|
|
|
594 |
|
|
<DT class="font10bold">Function Info:</DT> |
595 |
|
|
|
596 |
|
|
<DD CLASS="font10" STYLE="padding-bottom:5px;"><b>Return</b> - either returns an input object (default) or raw html.</DD> |
597 |
|
|
|
598 |
|
|
</DL> |
599 |
|
|
|
600 |
|
|
</DIV> |
601 |
|
|
<BR> |
602 |
|
|
|
603 |
|
|
<DIV CLASS="function"> |
604 |
|
|
<A NAME='form_image'><!-- --></A> |
605 |
|
|
<SPAN CLASS="font12bold">form_image</SPAN> |
606 |
|
|
<BR> |
607 |
|
|
<SPAN CLASS="font10bold">Useage : </SPAN> |
608 |
|
|
<span class="font10bold" style="color: #FF0000">mixed</SPAN> |
609 |
|
|
<span class="font10bold" style="color: #0000FF">form_image ( $name, [$value = NULL], $src, [$attributes = array()], [$render_flag = FALSE] )</SPAN> |
610 |
|
|
<BR> |
611 |
|
|
|
612 |
|
|
<BR> |
613 |
|
|
<SPAN CLASS="font10bold">Description : </SPAN> |
614 |
|
|
<!-- ========== Info from phpDoc block ========= --> |
615 |
|
|
build/render an input tag of type image |
616 |
|
|
<BR> |
617 |
|
|
|
618 |
|
|
<DL> |
619 |
|
|
<DT class="font10bold">Function Parameters:</DT> |
620 |
|
|
|
621 |
|
|
<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> |
622 |
|
|
|
623 |
|
|
<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> |
624 |
|
|
|
625 |
|
|
<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> |
626 |
|
|
|
627 |
|
|
<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> |
628 |
|
|
|
629 |
|
|
<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> |
630 |
|
|
|
631 |
|
|
|
632 |
|
|
<DT class="font10bold">Function Info:</DT> |
633 |
|
|
|
634 |
|
|
<DD CLASS="font10" STYLE="padding-bottom:5px;"><b>Return</b> - either returns an input object (default) or raw html.</DD> |
635 |
|
|
|
636 |
|
|
</DL> |
637 |
|
|
|
638 |
|
|
</DIV> |
639 |
|
|
<BR> |
640 |
|
|
|
641 |
|
|
<DIV CLASS="function"> |
642 |
|
|
<A NAME='form_open'><!-- --></A> |
643 |
|
|
<SPAN CLASS="font12bold">form_open</SPAN> |
644 |
|
|
<BR> |
645 |
|
|
<SPAN CLASS="font10bold">Useage : </SPAN> |
646 |
|
|
<span class="font10bold" style="color: #FF0000">string</SPAN> |
647 |
|
|
<span class="font10bold" style="color: #0000FF">form_open ( $name, $action, [$method = "GET"], [$attributes = array()], [$indent_level = 0] )</SPAN> |
648 |
|
|
<BR> |
649 |
|
|
|
650 |
|
|
<BR> |
651 |
|
|
<SPAN CLASS="font10bold">Description : </SPAN> |
652 |
|
|
<!-- ========== Info from phpDoc block ========= --> |
653 |
|
|
render an form open tag only. |
654 |
|
|
<BR> |
655 |
|
|
This is usefull for forms that are inside a table. |
656 |
|
|
you would render the form tag first, then the table |
657 |
|
|
with the form fields. |
658 |
|
|
<DL> |
659 |
|
|
<DT class="font10bold">Function Parameters:</DT> |
660 |
|
|
|
661 |
|
|
<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> |
662 |
|
|
|
663 |
|
|
<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> |
664 |
|
|
|
665 |
|
|
<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> |
666 |
|
|
|
667 |
|
|
<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 |
668 |
|
|
the form tag.</DD> |
669 |
|
|
|
670 |
|
|
|
671 |
|
|
<DT class="font10bold">Function Info:</DT> |
672 |
|
|
|
673 |
|
|
<DD CLASS="font10" STYLE="padding-bottom:5px;"><b>Return</b> - returns the raw form tag.</DD> |
674 |
|
|
|
675 |
|
|
</DL> |
676 |
|
|
|
677 |
|
|
</DIV> |
678 |
|
|
<BR> |
679 |
|
|
|
680 |
|
|
<DIV CLASS="function"> |
681 |
|
|
<A NAME='form_password'><!-- --></A> |
682 |
|
|
<SPAN CLASS="font12bold">form_password</SPAN> |
683 |
|
|
<BR> |
684 |
|
|
<SPAN CLASS="font10bold">Useage : </SPAN> |
685 |
|
|
<span class="font10bold" style="color: #FF0000">mixed</SPAN> |
686 |
|
|
<span class="font10bold" style="color: #0000FF">form_password ( $name, [$value = NULL], [$size = NULL], [$maxlength = NULL], [$attributes = array()], [$render_flag = FALSE] )</SPAN> |
687 |
|
|
<BR> |
688 |
|
|
|
689 |
|
|
<BR> |
690 |
|
|
<SPAN CLASS="font10bold">Description : </SPAN> |
691 |
|
|
<!-- ========== Info from phpDoc block ========= --> |
692 |
|
|
build/render an input tag of type password |
693 |
|
|
<BR> |
694 |
|
|
|
695 |
|
|
<DL> |
696 |
|
|
<DT class="font10bold">Function Parameters:</DT> |
697 |
|
|
|
698 |
|
|
<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> |
699 |
|
|
|
700 |
|
|
<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> |
701 |
|
|
|
702 |
|
|
<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> |
703 |
|
|
|
704 |
|
|
<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> |
705 |
|
|
|
706 |
|
|
<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> |
707 |
|
|
|
708 |
|
|
<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> |
709 |
|
|
|
710 |
|
|
|
711 |
|
|
<DT class="font10bold">Function Info:</DT> |
712 |
|
|
|
713 |
|
|
<DD CLASS="font10" STYLE="padding-bottom:5px;"><b>Return</b> - either returns an input object (default) or raw html.</DD> |
714 |
|
|
|
715 |
|
|
</DL> |
716 |
|
|
|
717 |
|
|
</DIV> |
718 |
|
|
<BR> |
719 |
|
|
|
720 |
|
|
<DIV CLASS="function"> |
721 |
|
|
<A NAME='form_radio'><!-- --></A> |
722 |
|
|
<SPAN CLASS="font12bold">form_radio</SPAN> |
723 |
|
|
<BR> |
724 |
|
|
<SPAN CLASS="font10bold">Useage : </SPAN> |
725 |
|
|
<span class="font10bold" style="color: #FF0000">mixed</SPAN> |
726 |
|
|
<span class="font10bold" style="color: #0000FF">form_radio ( $name, [$value = NULL], [$attributes = array()], [$render_flag = FALSE] )</SPAN> |
727 |
|
|
<BR> |
728 |
|
|
|
729 |
|
|
<BR> |
730 |
|
|
<SPAN CLASS="font10bold">Description : </SPAN> |
731 |
|
|
<!-- ========== Info from phpDoc block ========= --> |
732 |
|
|
build/render an input tag of type radio |
733 |
|
|
<BR> |
734 |
|
|
|
735 |
|
|
<DL> |
736 |
|
|
<DT class="font10bold">Function Parameters:</DT> |
737 |
|
|
|
738 |
|
|
<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> |
739 |
|
|
|
740 |
|
|
<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> |
741 |
|
|
|
742 |
|
|
<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> |
743 |
|
|
|
744 |
|
|
<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> |
745 |
|
|
|
746 |
|
|
|
747 |
|
|
<DT class="font10bold">Function Info:</DT> |
748 |
|
|
|
749 |
|
|
<DD CLASS="font10" STYLE="padding-bottom:5px;"><b>Return</b> - either returns an input object (default) or raw html.</DD> |
750 |
|
|
|
751 |
|
|
</DL> |
752 |
|
|
|
753 |
|
|
</DIV> |
754 |
|
|
<BR> |
755 |
|
|
|
756 |
|
|
<DIV CLASS="function"> |
757 |
|
|
<A NAME='form_select'><!-- --></A> |
758 |
|
|
<SPAN CLASS="font12bold">form_select</SPAN> |
759 |
|
|
<BR> |
760 |
|
|
<SPAN CLASS="font10bold">Useage : </SPAN> |
761 |
|
|
<span class="font10bold" style="color: #FF0000">a</SPAN> |
762 |
|
|
<span class="font10bold" style="color: #0000FF">form_select ( $name, [$options = array()], $selected, [$multiple_flag = ""FALSE] )</SPAN> |
763 |
|
|
<BR> |
764 |
|
|
|
765 |
|
|
<BR> |
766 |
|
|
<SPAN CLASS="font10bold">Description : </SPAN> |
767 |
|
|
<!-- ========== Info from phpDoc block ========= --> |
768 |
|
|
Build a select tag with all of its option tags |
769 |
|
|
<BR> |
770 |
|
|
|
771 |
|
|
<DL> |
772 |
|
|
<DT class="font10bold">Function Parameters:</DT> |
773 |
|
|
|
774 |
|
|
<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> |
775 |
|
|
|
776 |
|
|
<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 |
777 |
|
|
the options. the format is |
778 |
|
|
array( "LABEL" => VALUE ); |
779 |
|
|
each <option value="VALUE"> LABEL </option> |
780 |
|
|
ie |
781 |
|
|
array( "test" => "foo") would give an option |
782 |
|
|
of <option value="foo"> test </option></DD> |
783 |
|
|
|
784 |
|
|
<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. |
785 |
|
|
If its a string then, it will be the selected |
786 |
|
|
option value |
787 |
|
|
<option value="foo" SELECTED>foo</option> |
788 |
|
|
If it is an array, then all of the option |
789 |
|
|
values will be marked as SELECTED. This only |
790 |
|
|
makes sense to do if the multiple_flag is true.</DD> |
791 |
|
|
|
792 |
|
|
<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> |
793 |
|
|
|
794 |
|
|
|
795 |
|
|
<DT class="font10bold">Function Info:</DT> |
796 |
|
|
|
797 |
|
|
<DD CLASS="font10" STYLE="padding-bottom:5px;"><b>Return</b> - SELECTtag object.</DD> |
798 |
|
|
|
799 |
|
|
<DD CLASS="font10" STYLE="padding-bottom:5px;"><b>Author</b> - Walt A. Boring IV</DD> |
800 |
|
|
|
801 |
|
|
</DL> |
802 |
|
|
|
803 |
|
|
</DIV> |
804 |
|
|
<BR> |
805 |
|
|
|
806 |
|
|
<DIV CLASS="function"> |
807 |
|
|
<A NAME='form_submit'><!-- --></A> |
808 |
|
|
<SPAN CLASS="font12bold">form_submit</SPAN> |
809 |
|
|
<BR> |
810 |
|
|
<SPAN CLASS="font10bold">Useage : </SPAN> |
811 |
|
|
<span class="font10bold" style="color: #FF0000">mixed</SPAN> |
812 |
|
|
<span class="font10bold" style="color: #0000FF">form_submit ( $name, [$value = NULL], [$attributes = array()], [$render_flag = FALSE] )</SPAN> |
813 |
|
|
<BR> |
814 |
|
|
|
815 |
|
|
<BR> |
816 |
|
|
<SPAN CLASS="font10bold">Description : </SPAN> |
817 |
|
|
<!-- ========== Info from phpDoc block ========= --> |
818 |
|
|
build/render an input tag of type submit |
819 |
|
|
<BR> |
820 |
|
|
|
821 |
|
|
<DL> |
822 |
|
|
<DT class="font10bold">Function Parameters:</DT> |
823 |
|
|
|
824 |
|
|
<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> |
825 |
|
|
|
826 |
|
|
<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> |
827 |
|
|
|
828 |
|
|
<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> |
829 |
|
|
|
830 |
|
|
<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> |
831 |
|
|
|
832 |
|
|
|
833 |
|
|
<DT class="font10bold">Function Info:</DT> |
834 |
|
|
|
835 |
|
|
<DD CLASS="font10" STYLE="padding-bottom:5px;"><b>Return</b> - either returns an input object (default) or raw html.</DD> |
836 |
|
|
|
837 |
|
|
</DL> |
838 |
|
|
|
839 |
|
|
</DIV> |
840 |
|
|
<BR> |
841 |
|
|
|
842 |
|
|
<DIV CLASS="function"> |
843 |
|
|
<A NAME='form_text'><!-- --></A> |
844 |
|
|
<SPAN CLASS="font12bold">form_text</SPAN> |
845 |
|
|
<BR> |
846 |
|
|
<SPAN CLASS="font10bold">Useage : </SPAN> |
847 |
|
|
<span class="font10bold" style="color: #FF0000">mixed</SPAN> |
848 |
|
|
<span class="font10bold" style="color: #0000FF">form_text ( $name, [$value = NULL], [$size = NULL], [$maxlength = NULL], [$attributes = array()], [$render_flag = FALSE] )</SPAN> |
849 |
|
|
<BR> |
850 |
|
|
|
851 |
|
|
<BR> |
852 |
|
|
<SPAN CLASS="font10bold">Description : </SPAN> |
853 |
|
|
<!-- ========== Info from phpDoc block ========= --> |
854 |
|
|
build/render an input tag of type text |
855 |
|
|
<BR> |
856 |
|
|
|
857 |
|
|
<DL> |
858 |
|
|
<DT class="font10bold">Function Parameters:</DT> |
859 |
|
|
|
860 |
|
|
<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> |
861 |
|
|
|
862 |
|
|
<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> |
863 |
|
|
|
864 |
|
|
<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> |
865 |
|
|
|
866 |
|
|
<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> |
867 |
|
|
|
868 |
|
|
<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> |
869 |
|
|
|
870 |
|
|
<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> |
871 |
|
|
|
872 |
|
|
|
873 |
|
|
<DT class="font10bold">Function Info:</DT> |
874 |
|
|
|
875 |
|
|
<DD CLASS="font10" STYLE="padding-bottom:5px;"><b>Return</b> - either returns an input object (default) or raw html.</DD> |
876 |
|
|
|
877 |
|
|
</DL> |
878 |
|
|
|
879 |
|
|
</DIV> |
880 |
|
|
<BR> |
881 |
|
|
|
882 |
|
|
<DIV CLASS="function"> |
883 |
|
|
<A NAME='form_textarea'><!-- --></A> |
884 |
|
|
<SPAN CLASS="font12bold">form_textarea</SPAN> |
885 |
|
|
<BR> |
886 |
|
|
<SPAN CLASS="font10bold">Useage : </SPAN> |
887 |
|
|
<span class="font10bold" style="color: #FF0000"><a href="../phpHtmlLib/TEXTAREAtag.html">TEXTAREAtag</a></SPAN> |
888 |
|
|
<span class="font10bold" style="color: #0000FF">form_textarea ( $name, [$value = NULL], [$attributes = array()], [$render_flag = FALSE] )</SPAN> |
889 |
|
|
<BR> |
890 |
|
|
|
891 |
|
|
<BR> |
892 |
|
|
<SPAN CLASS="font10bold">Description : </SPAN> |
893 |
|
|
<!-- ========== Info from phpDoc block ========= --> |
894 |
|
|
build a textarea tag with name and attributes. |
895 |
|
|
<BR> |
896 |
|
|
|
897 |
|
|
<DL> |
898 |
|
|
<DT class="font10bold">Function Parameters:</DT> |
899 |
|
|
|
900 |
|
|
<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> |
901 |
|
|
|
902 |
|
|
<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> |
903 |
|
|
|
904 |
|
|
<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> |
905 |
|
|
|
906 |
|
|
<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> |
907 |
|
|
|
908 |
|
|
|
909 |
|
|
<DT class="font10bold">Function Info:</DT> |
910 |
|
|
|
911 |
|
|
<DD CLASS="font10" STYLE="padding-bottom:5px;"><b>Return</b> - object.</DD> |
912 |
|
|
|
913 |
|
|
<DD CLASS="font10" STYLE="padding-bottom:5px;"><b>Author</b> - Walt A. Boring</DD> |
914 |
|
|
|
915 |
|
|
</DL> |
916 |
|
|
|
917 |
|
|
</DIV> |
918 |
|
|
<BR> |
919 |
|
|
|
920 |
|
|
<DIV CLASS="function"> |
921 |
|
|
<A NAME='html_form'><!-- --></A> |
922 |
|
|
<SPAN CLASS="font12bold">html_form</SPAN> |
923 |
|
|
<BR> |
924 |
|
|
<SPAN CLASS="font10bold">Useage : </SPAN> |
925 |
|
|
<span class="font10bold" style="color: #FF0000">string</SPAN> |
926 |
|
|
<span class="font10bold" style="color: #0000FF">html_form ( $name, $action, [$method = "GET"], [$attributes = array()] )</SPAN> |
927 |
|
|
<BR> |
928 |
|
|
|
929 |
|
|
<BR> |
930 |
|
|
<SPAN CLASS="font10bold">Description : </SPAN> |
931 |
|
|
<!-- ========== Info from phpDoc block ========= --> |
932 |
|
|
render an form open tag only. |
933 |
|
|
<BR> |
934 |
|
|
This is usefull for forms that are inside a table. |
935 |
|
|
you would render the form tag first, then the table |
936 |
|
|
with the form fields. |
937 |
|
|
<DL> |
938 |
|
|
<DT class="font10bold">Function Parameters:</DT> |
939 |
|
|
|
940 |
|
|
<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> |
941 |
|
|
|
942 |
|
|
<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> |
943 |
|
|
|
944 |
|
|
<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> |
945 |
|
|
|
946 |
|
|
<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 |
947 |
|
|
the form tag.</DD> |
948 |
|
|
|
949 |
|
|
|
950 |
|
|
<DT class="font10bold">Function Info:</DT> |
951 |
|
|
|
952 |
|
|
<DD CLASS="font10" STYLE="padding-bottom:5px;"><b>Return</b> - returns the raw form tag.</DD> |
953 |
|
|
|
954 |
|
|
</DL> |
955 |
|
|
|
956 |
|
|
</DIV> |
957 |
|
|
<BR> |
958 |
|
|
|
959 |
|
|
|
960 |
|
|
<br> |
961 |
|
|
</HTML> |