/[cvs]/nfo/php/libs/com.newsblob.phphtmllib/doc/phpHtmlLib/form-examples/AccountForm.html
ViewVC logotype

Annotation of /nfo/php/libs/com.newsblob.phphtmllib/doc/phpHtmlLib/form-examples/AccountForm.html

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (hide annotations)
Sat Feb 22 21:06:34 2003 UTC (21 years, 7 months ago) by jonen
Branch: MAIN
File MIME type: text/html
+ updated whole lib to version 2.2.1 (new FormProcessing since 2.2.0!)

1 jonen 1.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:49 -0800' -->
6     <TITLE>Docs For Class AccountForm</TITLE>
7     <LINK REL ='stylesheet' TYPE='text/css' HREF='../../media/stylesheet.css' TITLE='Style'>
8     </HEAD>
9     <BODY style="background-color: #eeeeee; font-family: arial; font-size: .9em;">
10     <!-- Links -->
11     <a NAME="top"></A>
12     <table WIDTH="100%" class="links">
13     <TR>
14     <TD class="font10">
15     Links:
16     <A HREF="#children_summary" class="links" title="Classes extended from AccountForm">Child Classes</A>
17     <A HREF="#var_summary" class="links" title="Class Variable Summary">Variables</A>
18     <A HREF="#var_inherited_summary" class="links" title="Inherited Class Variable Summary">Inherited Variables</A>
19     <A HREF="#functions_inherited" class="links" title="Inherited Method Summary">Inherited Methods</A>
20     <A HREF="#method_summary" class="links" title="Method Summary">Methods</A>
21     <A HREF="#variable_detail" class="links" title="Variable Detail">Variable Detail</A>
22     <A HREF="#method_detail" class="links" title="Method Detail">Method Detail</A>
23     </TD>
24     </TR>
25     </TABLE>
26     <BR>
27     <!-- Start of Class Data -->
28     <H2>
29     Class AccountForm
30     </H2> (line <span class="linenumber">62</span>)
31     <pre>
32     <a href="../../phpHtmlLib/FormProcessing/FormContent.html">FormContent</a>
33     |
34     --AccountForm</pre>
35     <p>
36     <b><i>Located in File: Program_Root/examples/form1.php</i></b><br>
37     </p>
38     <hr>
39     This is the Class that handles the building of the Form itself. It creates the Form Elements inside the form_init_elements() method.
40     <br />
41    
42     <UL>
43     <LI><b>author</b> - <CODE>Walter A. Boring IV &lt;<a href="mailto:waboring@buildabetterweb.com">mailto:waboring@buildabetterweb.com</a>&gt;</CODE></LI>
44     </UL>
45     <hr>
46     <!-- =========== VAR SUMMARY =========== -->
47     <A NAME='var_summary'><!-- --></A>
48     <TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='100%' CLASS="border">
49     <TR BGCOLOR='#CCCCFF' CLASS='TableHeadingColor'>
50     <TD>
51     <span CLASS="font12bold">Class Variable Summary</span>
52     <A HREF="#top" CLASS="links">^TOP</A>
53     </TD>
54     </TR>
55    
56     </TABLE>
57     <hr>
58     <!-- =========== VAR INHERITED SUMMARY =========== -->
59     <A NAME='var_inherited_summary'><!-- --></A>
60     <TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='100%' CLASS="border">
61     <TR BGCOLOR='#CCCCFF' CLASS='TableHeadingColor'>
62     <TD>
63     <span CLASS="font12bold">Inherited Class Variable Summary</span>
64     <A HREF="#top" CLASS="links">^TOP</A>
65     </TD>
66     </TR>
67    
68     <!-- =========== Summary =========== -->
69     <TR BGCOLOR='white'>
70     <TD>
71     <span CLASS="font10bold">Inherited From Class <a href="../../phpHtmlLib/FormProcessing/FormContent.html">FormContent</a></span>
72     <table CELLPADDING='3' CELLSPACING='0' WIDTH='95%' CLASS="border" ALIGN="center">
73     <tr CLASS="tableheadingcolor">
74     <th>Variable</th>
75     <th>Default Value</th>
76     <th>Description</th>
77     </tr>
78     <tr>
79     <td CLASS="font10bold"><a href="../../phpHtmlLib/FormProcessing/FormContent.html#var$_action_message">FormContent::$_action_message</a></td>
80     <td CLASS="font10" STYLE="white-space: nowrap">-> ""<-</td>
81     <td CLASS="font10">The message that is set</td>
82     </tr>
83     <tr>
84     <td CLASS="font10bold"><a href="../../phpHtmlLib/FormProcessing/FormContent.html#var$_cancel_action">FormContent::$_cancel_action</a></td>
85     <td CLASS="font10" STYLE="white-space: nowrap">-> NULL<-</td>
86     <td CLASS="font10">The action to take opon clicking</td>
87     </tr>
88     <tr>
89     <td CLASS="font10bold"><a href="../../phpHtmlLib/FormProcessing/FormContent.html#var$_default_label_css">FormContent::$_default_label_css</a></td>
90     <td CLASS="font10" STYLE="white-space: nowrap">-> "formlabel"<-</td>
91     <td CLASS="font10">This holds the default css class for form field label text.</td>
92     </tr>
93     <tr>
94     <td CLASS="font10bold"><a href="../../phpHtmlLib/FormProcessing/FormContent.html#var$_elements">FormContent::$_elements</a></td>
95     <td CLASS="font10" STYLE="white-space: nowrap">->array()<-</td>
96     <td CLASS="font10">This holds the array of</td>
97     </tr>
98     <tr>
99     <td CLASS="font10bold"><a href="../../phpHtmlLib/FormProcessing/FormContent.html#var$_error_label_css">FormContent::$_error_label_css</a></td>
100     <td CLASS="font10" STYLE="white-space: nowrap">-> "formlabelerror"<-</td>
101     <td CLASS="font10">This is the css class used</td>
102     </tr>
103     <tr>
104     <td CLASS="font10bold"><a href="../../phpHtmlLib/FormProcessing/FormContent.html#var$_form_name">FormContent::$_form_name</a></td>
105     <td CLASS="font10" STYLE="white-space: nowrap">-><-</td>
106     <td CLASS="font10">This holds the name of the form</td>
107     </tr>
108     <tr>
109     <td CLASS="font10bold"><a href="../../phpHtmlLib/FormProcessing/FormContent.html#var$_has_confirm">FormContent::$_has_confirm</a></td>
110     <td CLASS="font10" STYLE="white-space: nowrap">-> FALSE<-</td>
111     <td CLASS="font10">flag to let the FormProcessor</td>
112     </tr>
113     <tr>
114     <td CLASS="font10bold"><a href="../../phpHtmlLib/FormProcessing/FormContent.html#var$_hidden_elements">FormContent::$_hidden_elements</a></td>
115     <td CLASS="font10" STYLE="white-space: nowrap">->array()<-</td>
116     <td CLASS="font10">This holds the array of</td>
117     </tr>
118     <tr>
119     <td CLASS="font10bold"><a href="../../phpHtmlLib/FormProcessing/FormContent.html#var$_required_field_marker">FormContent::$_required_field_marker</a></td>
120     <td CLASS="font10" STYLE="white-space: nowrap">-> "*"<-</td>
121     <td CLASS="font10">marker for the required field</td>
122     </tr>
123     <tr>
124     <td CLASS="font10bold"><a href="../../phpHtmlLib/FormProcessing/FormContent.html#var$_required_field_text">FormContent::$_required_field_text</a></td>
125     <td CLASS="font10" STYLE="white-space: nowrap">-> " - required field"<-</td>
126     <td CLASS="font10">Text to show denoted required fields for the form.</td>
127     </tr>
128     <tr>
129     <td CLASS="font10bold"><a href="../../phpHtmlLib/FormProcessing/FormContent.html#var$_width">FormContent::$_width</a></td>
130     <td CLASS="font10" STYLE="white-space: nowrap">-> "600"<-</td>
131     <td CLASS="font10">Holds the width to be used for the</td>
132     </tr>
133     </table>
134     <BR>
135     </TD>
136     </TR>
137     </TABLE>
138    
139     <hr>
140     <!-- =========== METHOD SUMMARY =========== -->
141     <A NAME='method_summary'><!-- --></A>
142     <TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='100%' Class="border">
143     <TR BGCOLOR='#CCCCFF' CLASS='TableHeadingColor'>
144     <TD>
145     <span class="font12bold">Method Summary</span>
146     <A HREF="#top" CLASS="links">^TOP</A>
147     </TD>
148     </TR>
149    
150     <!-- =========== Summary =========== -->
151     <TR BGCOLOR='white' CLASS='TableRowColor'>
152     <TD>
153     <CODE><B><A HREF='../../phpHtmlLib/form-examples/AccountForm.html#methodform'>void form ( )</A></B></CODE>
154     <BR>
155     <blockquote> This is the method that builds the layout of where the FormElements will live. You can lay it out any way you like. </blockquote>
156     </TD>
157     </TR>
158     <!-- =========== Summary =========== -->
159     <TR BGCOLOR='white' CLASS='TableRowColor'>
160     <TD>
161     <CODE><B><A HREF='../../phpHtmlLib/form-examples/AccountForm.html#methodform_action'>void form_action ( )</A></B></CODE>
162     <BR>
163     <blockquote> This method is called ONLY after ALL validation has passed. This is the method that allows you to do something with the data, say insert/update records in the DB. </blockquote>
164     </TD>
165     </TR>
166     <!-- =========== Summary =========== -->
167     <TR BGCOLOR='white' CLASS='TableRowColor'>
168     <TD>
169     <CODE><B><A HREF='../../phpHtmlLib/form-examples/AccountForm.html#methodform_backend_validation'>void form_backend_validation ( )</A></B></CODE>
170     <BR>
171     <blockquote> This method gets called after the FormElement data has passed the validation. This enables you to validate the data against some backend mechanism, say a DB. </blockquote>
172     </TD>
173     </TR>
174     <!-- =========== Summary =========== -->
175     <TR BGCOLOR='white' CLASS='TableRowColor'>
176     <TD>
177     <CODE><B><A HREF='../../phpHtmlLib/form-examples/AccountForm.html#methodform_init_data'>void form_init_data ( )</A></B></CODE>
178     <BR>
179     <blockquote> This method is called only the first time the form page is hit. This enables u to query a DB and pre populate the FormElement objects with data. </blockquote>
180     </TD>
181     </TR>
182     <!-- =========== Summary =========== -->
183     <TR BGCOLOR='white' CLASS='TableRowColor'>
184     <TD>
185     <CODE><B><A HREF='../../phpHtmlLib/form-examples/AccountForm.html#methodform_init_elements'>void form_init_elements ( )</A></B></CODE>
186     <BR>
187     <blockquote> This method gets called EVERY time the object is created. It is used to build all of the FormElement objects used in this Form. </blockquote>
188     </TD>
189     </TR>
190     </TABLE>
191     <!-- =========== INHERITED METHOD SUMMARY =========== -->
192     <A NAME='functions_inherited'><!-- --></A>
193     <TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='100%' CLASS="border">
194     <TR BGCOLOR='#CCCCFF' CLASS='TableHeadingColor'>
195     <TD>
196     <span CLASS="font12bold">Inherited Method Summary</span>
197     <A HREF="#top" CLASS="links">^TOP</A>
198     </TD>
199     </TR>
200    
201     <!-- =========== Summary =========== -->
202     <TR BGCOLOR='white' CLASS='TableRowColor'>
203     <TD>
204     <span CLASS="font10bold">Inherited From Class <a href="../../phpHtmlLib/FormProcessing/FormContent.html">FormContent</a></span>
205     <TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='95%' CLASS="border" ALIGN="center">
206     <tr CLASS="tableheadingcolor">
207     <th>Function</th>
208     <th>Description</th>
209     </tr>
210     <tr>
211     <td CLASS="font10bold"><a href="../../phpHtmlLib/FormProcessing/FormContent.html#methodFormContent">FormContent::FormContent()</a></td>
212     <td CLASS="font10"></td>
213     <tr>
214     <td CLASS="font10bold"><a href="../../phpHtmlLib/FormProcessing/FormContent.html#methodadd_action">FormContent::add_action()</a></td>
215     <td CLASS="font10">This function adds a form submit button with the appropriate action.</td>
216     <tr>
217     <td CLASS="font10bold"><a href="../../phpHtmlLib/FormProcessing/FormContent.html#methodadd_cancel">FormContent::add_cancel()</a></td>
218     <td CLASS="font10">build a cancel button with a url to go to</td>
219     <tr>
220     <td CLASS="font10bold"><a href="../../phpHtmlLib/FormProcessing/FormContent.html#methodadd_element">FormContent::add_element()</a></td>
221     <td CLASS="font10">This method is used to add a form element</td>
222     <tr>
223     <td CLASS="font10bold"><a href="../../phpHtmlLib/FormProcessing/FormContent.html#methodadd_error">FormContent::add_error()</a></td>
224     <td CLASS="font10">This method is used to create a new error element during the call to form_action(). This enables us to do error handling during a transaction into a DB.</td>
225     <tr>
226     <td CLASS="font10bold"><a href="../../phpHtmlLib/FormProcessing/FormContent.html#methodadd_hidden_action">FormContent::add_hidden_action()</a></td>
227     <td CLASS="font10">This function adds a submit button that can have any label. It just makes the _form_action a hidden field.</td>
228     <tr>
229     <td CLASS="font10bold"><a href="../../phpHtmlLib/FormProcessing/FormContent.html#methodadd_hidden_element">FormContent::add_hidden_element()</a></td>
230     <td CLASS="font10">This method is used to add a hidden form field</td>
231     <tr>
232     <td CLASS="font10bold"><a href="../../phpHtmlLib/FormProcessing/FormContent.html#methodadd_image_action">FormContent::add_image_action()</a></td>
233     <td CLASS="font10">This function adds an action as an image to submit the form.</td>
234     <tr>
235     <td CLASS="font10bold"><a href="../../phpHtmlLib/FormProcessing/FormContent.html#methodbuild_confirm_table">FormContent::build_confirm_table()</a></td>
236     <td CLASS="font10">This method allows the child to ovveride the default confirm data. By default the form_confirm() will show ALL FormElements. This is prolly not good in case of a form where a password exists.</td>
237     <tr>
238     <td CLASS="font10bold"><a href="../../phpHtmlLib/FormProcessing/FormContent.html#methodelement_form">FormContent::element_form()</a></td>
239     <td CLASS="font10">This method returns the actual form object that renders the form field.</td>
240     <tr>
241     <td CLASS="font10bold"><a href="../../phpHtmlLib/FormProcessing/FormContent.html#methodelement_label">FormContent::element_label()</a></td>
242     <td CLASS="font10">This method returns the label object for a visible form element.</td>
243     <tr>
244     <td CLASS="font10bold"><a href="../../phpHtmlLib/FormProcessing/FormContent.html#methodform">FormContent::form()</a></td>
245     <td CLASS="font10">This method builds the html form.</td>
246     <tr>
247     <td CLASS="font10bold"><a href="../../phpHtmlLib/FormProcessing/FormContent.html#methodform_action">FormContent::form_action()</a></td>
248     <td CLASS="font10">This method handles the</td>
249     <tr>
250     <td CLASS="font10bold"><a href="../../phpHtmlLib/FormProcessing/FormContent.html#methodform_backend_validation">FormContent::form_backend_validation()</a></td>
251     <td CLASS="font10">This method is called after the FormElements</td>
252     <tr>
253     <td CLASS="font10bold"><a href="../../phpHtmlLib/FormProcessing/FormContent.html#methodform_confirm">FormContent::form_confirm()</a></td>
254     <td CLASS="font10">This function is used to show an intermediary confirmation page. Use this function to show a confirmation of the data that was submitted by the user.</td>
255     <tr>
256     <td CLASS="font10bold"><a href="../../phpHtmlLib/FormProcessing/FormContent.html#methodform_errors">FormContent::form_errors()</a></td>
257     <td CLASS="font10">This function is used to render the error table for the form. The error data comes from the FormProcessor or the FormValidation.</td>
258     <tr>
259     <td CLASS="font10bold"><a href="../../phpHtmlLib/FormProcessing/FormContent.html#methodform_init_data">FormContent::form_init_data()</a></td>
260     <td CLASS="font10">This method is called by the</td>
261     <tr>
262     <td CLASS="font10bold"><a href="../../phpHtmlLib/FormProcessing/FormContent.html#methodform_init_elements">FormContent::form_init_elements()</a></td>
263     <td CLASS="font10">This method is what is called to build the list of FormElements that will be used by this form.</td>
264     <tr>
265     <td CLASS="font10bold"><a href="../../phpHtmlLib/FormProcessing/FormContent.html#methodform_success">FormContent::form_success()</a></td>
266     <td CLASS="font10">This method is called when the form_action() was successfull, and the form wants to render some kind of message</td>
267     <tr>
268     <td CLASS="font10bold"><a href="../../phpHtmlLib/FormProcessing/FormContent.html#methodget_action">FormContent::get_action()</a></td>
269     <td CLASS="font10">Get the current status of the action.</td>
270     <tr>
271     <td CLASS="font10bold"><a href="../../phpHtmlLib/FormProcessing/FormContent.html#methodget_default_css">FormContent::get_default_css()</a></td>
272     <td CLASS="font10">This function returns the default css class used for NON error text.</td>
273     <tr>
274     <td CLASS="font10bold"><a href="../../phpHtmlLib/FormProcessing/FormContent.html#methodget_element">FormContent::get_element()</a></td>
275     <td CLASS="font10">This method returns the FormElement based on the label.</td>
276     <tr>
277     <td CLASS="font10bold"><a href="../../phpHtmlLib/FormProcessing/FormContent.html#methodget_element_value">FormContent::get_element_value()</a></td>
278     <td CLASS="font10">This method is used to get the value for a non hidden element</td>
279     <tr>
280     <td CLASS="font10bold"><a href="../../phpHtmlLib/FormProcessing/FormContent.html#methodget_hidden_element_value">FormContent::get_hidden_element_value()</a></td>
281     <td CLASS="font10">This method is used to get the value for a hidden element</td>
282     <tr>
283     <td CLASS="font10bold"><a href="../../phpHtmlLib/FormProcessing/FormContent.html#methodget_required_fields_text">FormContent::get_required_fields_text()</a></td>
284     <td CLASS="font10">This returns the required field text</td>
285     <tr>
286     <td CLASS="font10bold"><a href="../../phpHtmlLib/FormProcessing/FormContent.html#methodhas_confirm">FormContent::has_confirm()</a></td>
287     <td CLASS="font10">This gets the value of the confirmation flag.</td>
288     <tr>
289     <td CLASS="font10bold"><a href="../../phpHtmlLib/FormProcessing/FormContent.html#methodpre_confirm">FormContent::pre_confirm()</a></td>
290     <td CLASS="font10">This method allows this class to do any data munging prior to the form_confirm method being called @ render time.</td>
291     <tr>
292     <td CLASS="font10bold"><a href="../../phpHtmlLib/FormProcessing/FormContent.html#methodset_action">FormContent::set_action()</a></td>
293     <td CLASS="font10">Save the action for the form</td>
294     <tr>
295     <td CLASS="font10bold"><a href="../../phpHtmlLib/FormProcessing/FormContent.html#methodset_action_message">FormContent::set_action_message()</a></td>
296     <td CLASS="font10">This sets the action message.</td>
297     <tr>
298     <td CLASS="font10bold"><a href="../../phpHtmlLib/FormProcessing/FormContent.html#methodset_cancel_action">FormContent::set_cancel_action()</a></td>
299     <td CLASS="font10">This method sets the javasript action</td>
300     <tr>
301     <td CLASS="font10bold"><a href="../../phpHtmlLib/FormProcessing/FormContent.html#methodset_confirm">FormContent::set_confirm()</a></td>
302     <td CLASS="font10">This sets the $this-&gt;_has_confirmation</td>
303     <tr>
304     <td CLASS="font10bold"><a href="../../phpHtmlLib/FormProcessing/FormContent.html#methodset_default_css">FormContent::set_default_css()</a></td>
305     <td CLASS="font10">This function is used to set the</td>
306     <tr>
307     <td CLASS="font10bold"><a href="../../phpHtmlLib/FormProcessing/FormContent.html#methodset_element_value">FormContent::set_element_value()</a></td>
308     <td CLASS="font10">This method is used to set the value for a non hidden element</td>
309     <tr>
310     <td CLASS="font10bold"><a href="../../phpHtmlLib/FormProcessing/FormContent.html#methodset_error_css">FormContent::set_error_css()</a></td>
311     <td CLASS="font10">This function is used to set the css class that is used on text when an error on that field is detected.</td>
312     <tr>
313     <td CLASS="font10bold"><a href="../../phpHtmlLib/FormProcessing/FormContent.html#methodset_form_name">FormContent::set_form_name()</a></td>
314     <td CLASS="font10">**************************</td>
315     <tr>
316     <td CLASS="font10bold"><a href="../../phpHtmlLib/FormProcessing/FormContent.html#methodset_form_width">FormContent::set_form_width()</a></td>
317     <td CLASS="font10">this method sets the form name</td>
318     <tr>
319     <td CLASS="font10bold"><a href="../../phpHtmlLib/FormProcessing/FormContent.html#methodset_hidden_element_value">FormContent::set_hidden_element_value()</a></td>
320     <td CLASS="font10">This method is used to set the value for a hidden element</td>
321     <tr>
322     <td CLASS="font10bold"><a href="../../phpHtmlLib/FormProcessing/FormContent.html#methodset_stripslashes">FormContent::set_stripslashes()</a></td>
323     <td CLASS="font10">This sets the stripslashes flag for this object.</td>
324     </table>
325     <br>
326     </TD>
327     </TR>
328     </TABLE>
329     <hr>
330     <!-- ============ VARIABLE DETAIL =========== -->
331    
332     <A NAME='variable_detail'></A>
333     <TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='100%' CLASS="border">
334     <TR BGCOLOR='#CCCCFF' CLASS='TableHeadingColor'>
335     <TD>
336     <span CLASS="font12bold">Variable Detail</span>
337     <A HREF="#top" CLASS="links">^TOP</A>
338     </TD>
339     </TR>
340     </TABLE>
341    
342     <hr>
343     <!-- ============ METHOD DETAIL =========== -->
344    
345     <A NAME='method_detail'></A>
346     <TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='100%' CLASS="border">
347     <TR BGCOLOR='#CCCCFF' CLASS='TableHeadingColor'>
348     <TD>
349     <span class="font12bold">Method Detail</span>
350     <A HREF="#top" CLASS="links">^TOP</A>
351     </TD>
352     </TR>
353     </TABLE>
354     <BR>
355     <DIV CLASS="function">
356     <A NAME='methodform'><!-- --></A>
357     <SPAN CLASS="font12bold">form</SPAN> (line <span class="linenumber">130</span>)
358     <BR>
359     <SPAN CLASS="font10bold">Usage : </SPAN>
360     <span class="font10bold" style="color: #FF0000">void</SPAN>&nbsp;
361     <span class="font10bold" style="color: #0000FF">form(
362     )</SPAN>
363     <BR>
364    
365     <span class="font10bold" style="padding-left: 10px;">Overrides :</span> <a href="../../phpHtmlLib/FormProcessing/FormContent.html#methodform">FormContent::form()</a> This method builds the html form.
366     <BR>
367     <SPAN CLASS="font10bold">Description : </SPAN>
368     This is the method that builds the layout of where the FormElements will live. You can lay it out any way you like.
369     <br />
370    
371     <DL>
372    
373     <DT class="font10bold">Function Info:</DT>
374     </DL>
375     </DIV>
376     <BR>
377     <DIV CLASS="function">
378     <A NAME='methodform_action'><!-- --></A>
379     <SPAN CLASS="font12bold">form_action</SPAN> (line <span class="linenumber">169</span>)
380     <BR>
381     <SPAN CLASS="font10bold">Usage : </SPAN>
382     <span class="font10bold" style="color: #FF0000">void</SPAN>&nbsp;
383     <span class="font10bold" style="color: #0000FF">form_action(
384     )</SPAN>
385     <BR>
386    
387     <span class="font10bold" style="padding-left: 10px;">Overrides :</span> <a href="../../phpHtmlLib/FormProcessing/FormContent.html#methodform_action">FormContent::form_action()</a> This method handles the
388     <BR>
389     <SPAN CLASS="font10bold">Description : </SPAN>
390     This method is called ONLY after ALL validation has passed. This is the method that allows you to do something with the data, say insert/update records in the DB.
391     <br />
392    
393     <DL>
394    
395     <DT class="font10bold">Function Info:</DT>
396     </DL>
397     </DIV>
398     <BR>
399     <DIV CLASS="function">
400     <A NAME='methodform_backend_validation'><!-- --></A>
401     <SPAN CLASS="font12bold">form_backend_validation</SPAN> (line <span class="linenumber">157</span>)
402     <BR>
403     <SPAN CLASS="font10bold">Usage : </SPAN>
404     <span class="font10bold" style="color: #FF0000">void</SPAN>&nbsp;
405     <span class="font10bold" style="color: #0000FF">form_backend_validation(
406     )</SPAN>
407     <BR>
408    
409     <span class="font10bold" style="padding-left: 10px;">Overrides :</span> <a href="../../phpHtmlLib/FormProcessing/FormContent.html#methodform_backend_validation">FormContent::form_backend_validation()</a> This method is called after the FormElements
410     <BR>
411     <SPAN CLASS="font10bold">Description : </SPAN>
412     This method gets called after the FormElement data has passed the validation. This enables you to validate the data against some backend mechanism, say a DB.
413     <br />
414    
415     <DL>
416    
417     <DT class="font10bold">Function Info:</DT>
418     </DL>
419     </DIV>
420     <BR>
421     <DIV CLASS="function">
422     <A NAME='methodform_init_data'><!-- --></A>
423     <SPAN CLASS="font12bold">form_init_data</SPAN> (line <span class="linenumber">111</span>)
424     <BR>
425     <SPAN CLASS="font10bold">Usage : </SPAN>
426     <span class="font10bold" style="color: #FF0000">void</SPAN>&nbsp;
427     <span class="font10bold" style="color: #0000FF">form_init_data(
428     )</SPAN>
429     <BR>
430    
431     <span class="font10bold" style="padding-left: 10px;">Overrides :</span> <a href="../../phpHtmlLib/FormProcessing/FormContent.html#methodform_init_data">FormContent::form_init_data()</a> This method is called by the
432     <BR>
433     <SPAN CLASS="font10bold">Description : </SPAN>
434     This method is called only the first time the form page is hit. This enables u to query a DB and pre populate the FormElement objects with data.
435     <br />
436    
437     <DL>
438    
439     <DT class="font10bold">Function Info:</DT>
440     </DL>
441     </DIV>
442     <BR>
443     <DIV CLASS="function">
444     <A NAME='methodform_init_elements'><!-- --></A>
445     <SPAN CLASS="font12bold">form_init_elements</SPAN> (line <span class="linenumber">70</span>)
446     <BR>
447     <SPAN CLASS="font10bold">Usage : </SPAN>
448     <span class="font10bold" style="color: #FF0000">void</SPAN>&nbsp;
449     <span class="font10bold" style="color: #0000FF">form_init_elements(
450     )</SPAN>
451     <BR>
452    
453     <span class="font10bold" style="padding-left: 10px;">Overrides :</span> <a href="../../phpHtmlLib/FormProcessing/FormContent.html#methodform_init_elements">FormContent::form_init_elements()</a> This method is what is called to build the list of FormElements that will be used by this form.
454     <BR>
455     <SPAN CLASS="font10bold">Description : </SPAN>
456     This method gets called EVERY time the object is created. It is used to build all of the FormElement objects used in this Form.
457     <br />
458    
459     <DL>
460    
461     <DT class="font10bold">Function Info:</DT>
462     </DL>
463     </DIV>
464     <BR>
465     <div id="credit">
466     <hr>
467     Documention generated on Thu, 20 Feb 2003 16:22:49 -0800 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.2.0rc1</a>
468     </div>
469     </body>
470     </html>

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