1 |
<!DOCTYPE HTML PUBLIC '-//W3C//DTD HTML 4.0 Transitional//EN' 'http://www.w3.org/TR/REC-html40/loose.dtd'> |
<?xml version="1.0" encoding="iso-8859-1"?> |
2 |
<!--NewPage--> |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
3 |
<HTML> |
<html xmlns="http://www.w3.org/1999/xhtml"> |
4 |
<HEAD> |
<head> |
5 |
<!-- Generated by PhpDoc date: 'Thu, 20 Feb 2003 16:22:51 -0800' --> |
<!-- template designed by Marco Von Ballmoos --> |
6 |
<TITLE>Docs For Class StandardAccountForm</TITLE> |
<title>Docs For Class StandardAccountForm</title> |
7 |
<LINK REL ='stylesheet' TYPE='text/css' HREF='../../media/stylesheet.css' TITLE='Style'> |
<link rel="stylesheet" href="../../media/stylesheet.css" /> |
8 |
</HEAD> |
<meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1'/> |
9 |
<BODY style="background-color: #eeeeee; font-family: arial; font-size: .9em;"> |
</head> |
10 |
<!-- Links --> |
<body> |
11 |
<a NAME="top"></A> |
<div class="page-body"> |
12 |
<table WIDTH="100%" class="links"> |
<h2 class="class-name">Class StandardAccountForm</h2> |
13 |
<TR> |
|
14 |
<TD class="font10"> |
<a name="sec-description"></a> |
15 |
Links: |
<div class="info-box"> |
16 |
<A HREF="#children_summary" class="links" title="Classes extended from StandardAccountForm">Child Classes</A> |
<div class="info-box-title">Description</div> |
17 |
<A HREF="#var_summary" class="links" title="Class Variable Summary">Variables</A> |
<div class="nav-bar"> |
18 |
<A HREF="#var_inherited_summary" class="links" title="Inherited Class Variable Summary">Inherited Variables</A> |
<span class="disabled">Description</span> | |
19 |
<A HREF="#functions_inherited" class="links" title="Inherited Method Summary">Inherited Methods</A> |
<a href="#sec-vars">Vars</a> |
20 |
<A HREF="#method_summary" class="links" title="Method Summary">Methods</A> |
| <a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</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> |
</div> |
23 |
</TD> |
<div class="info-box-body"> |
24 |
</TR> |
<!-- ========== Info from phpDoc block ========= --> |
25 |
</TABLE> |
<p class="short-description">A simple Page Layout object child.</p> |
26 |
<BR> |
<p class="description"><p>this came from Example 3.</p></p> |
27 |
<!-- Start of Class Data --> |
<ul class="tags"> |
28 |
<H2> |
<li><span class="field">author:</span> <p>Walter A. Boring IV <<a href="mailto:waboring@buildabetterweb.com">mailto:waboring@buildabetterweb.com</a>></p></li> |
29 |
Class StandardAccountForm |
</ul> |
30 |
</H2> (line <span class="linenumber">70</span>) |
<p class="notes"> |
31 |
<pre> |
Located in <a class="field" href="_examples_form2_php.html">Program_Root/examples/form2.php</a> (line <span class="field">70</span>) |
32 |
<a href="../../phpHtmlLib/FormProcessing/FormContent.html">FormContent</a> |
</p> |
33 |
|
|
34 |
|
|
35 |
|
<pre><a href="../../phpHtmlLib/FormProcessing/FormContent.html">FormContent</a> |
36 |
| |
| |
37 |
--<a href="../../phpHtmlLib/FormProcessing/StandardFormContent.html">StandardFormContent</a> |
--<a href="../../phpHtmlLib/FormProcessing/StandardFormContent.html">StandardFormContent</a> |
38 |
| |
| |
39 |
--StandardAccountForm</pre> |
--StandardAccountForm</pre> |
40 |
<p> |
|
41 |
<b><i>Located in File: Program_Root/examples/form2.php</i></b><br> |
</div> |
42 |
</p> |
</div> |
43 |
<hr> |
|
44 |
A simple Page Layout object child. |
|
45 |
<br /> |
|
46 |
<p>this came from Example 3.</p> |
<a name="sec-method-summary"></a> |
47 |
<UL> |
<div class="info-box"> |
48 |
<LI><b>author</b> - <CODE>Walter A. Boring IV <<a href="mailto:waboring@buildabetterweb.com">mailto:waboring@buildabetterweb.com</a>></CODE></LI> |
<div class="info-box-title">Method Summary</span></div> |
49 |
</UL> |
<div class="nav-bar"> |
50 |
<hr> |
<a href="#sec-description">Description</a> | |
51 |
<!-- =========== VAR SUMMARY =========== --> |
<a href="#sec-vars">Vars</a> |
52 |
<A NAME='var_summary'><!-- --></A> |
|
53 |
<TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='100%' CLASS="border"> |
| |
54 |
<TR BGCOLOR='#CCCCFF' CLASS='TableHeadingColor'> |
<span class="disabled">Methods</span> (<a href="#sec-methods">details</a>) |
55 |
<TD> |
</div> |
56 |
<span CLASS="font12bold">Class Variable Summary</span> |
<div class="info-box-body"> |
57 |
<A HREF="#top" CLASS="links">^TOP</A> |
<div class="method-summary"> |
58 |
</TD> |
|
59 |
</TR> |
<div class="method-definition"> |
60 |
|
<span class="method-result">void</span> |
61 |
</TABLE> |
<a href="#confirm_action" title="details" class="method-name">confirm_action</a> |
62 |
<hr> |
() |
63 |
<!-- =========== VAR INHERITED SUMMARY =========== --> |
</div> |
64 |
<A NAME='var_inherited_summary'><!-- --></A> |
|
65 |
<TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='100%' CLASS="border"> |
<div class="method-definition"> |
66 |
<TR BGCOLOR='#CCCCFF' CLASS='TableHeadingColor'> |
<span class="method-result">void</span> |
67 |
<TD> |
<a href="#form_backend_validation" title="details" class="method-name">form_backend_validation</a> |
68 |
<span CLASS="font12bold">Inherited Class Variable Summary</span> |
() |
69 |
<A HREF="#top" CLASS="links">^TOP</A> |
</div> |
70 |
</TD> |
|
71 |
</TR> |
<div class="method-definition"> |
72 |
|
<span class="method-result">void</span> |
73 |
<!-- =========== Summary =========== --> |
<a href="#form_content" title="details" class="method-name">form_content</a> |
74 |
<TR BGCOLOR='white'> |
() |
75 |
<TD> |
</div> |
76 |
<span CLASS="font10bold">Inherited From Class <a href="../../phpHtmlLib/FormProcessing/StandardFormContent.html">StandardFormContent</a></span> |
|
77 |
<table CELLPADDING='3' CELLSPACING='0' WIDTH='95%' CLASS="border" ALIGN="center"> |
<div class="method-definition"> |
78 |
<tr CLASS="tableheadingcolor"> |
<span class="method-result">void</span> |
79 |
<th>Variable</th> |
<a href="#form_init_data" title="details" class="method-name">form_init_data</a> |
80 |
<th>Default Value</th> |
() |
81 |
<th>Description</th> |
</div> |
82 |
</tr> |
|
83 |
<tr> |
<div class="method-definition"> |
84 |
<td CLASS="font10bold"><a href="../../phpHtmlLib/FormProcessing/StandardFormContent.html#var$_form_title">StandardFormContent::$_form_title</a></td> |
<span class="method-result">void</span> |
85 |
<td CLASS="font10" STYLE="white-space: nowrap">-> ""<-</td> |
<a href="#form_init_elements" title="details" class="method-name">form_init_elements</a> |
86 |
<td CLASS="font10">The title used in the wrapping table</td> |
() |
87 |
</tr> |
</div> |
88 |
<tr> |
|
89 |
<td CLASS="font10bold"><a href="../../phpHtmlLib/FormProcessing/StandardFormContent.html#var$_infotable">StandardFormContent::$_infotable</a></td> |
<div class="method-definition"> |
90 |
<td CLASS="font10" STYLE="white-space: nowrap">-> NULL<-</td> |
<span class="method-result">void</span> |
91 |
<td CLASS="font10">the InfoTable wrapper that holds all fields.</td> |
<a href="#_optional_info" title="details" class="method-name">&_optional_info</a> |
92 |
</tr> |
() |
93 |
</table> |
</div> |
94 |
<BR> |
|
95 |
</TD> |
<div class="method-definition"> |
96 |
</TR> |
<span class="method-result">void</span> |
97 |
<!-- =========== Summary =========== --> |
<a href="#_user_info" title="details" class="method-name">&_user_info</a> |
98 |
<TR BGCOLOR='white'> |
() |
99 |
<TD> |
</div> |
100 |
<span CLASS="font10bold">Inherited From Class <a href="../../phpHtmlLib/FormProcessing/FormContent.html">FormContent</a></span> |
</div> |
101 |
<table CELLPADDING='3' CELLSPACING='0' WIDTH='95%' CLASS="border" ALIGN="center"> |
</div> |
102 |
<tr CLASS="tableheadingcolor"> |
</div> |
103 |
<th>Variable</th> |
|
104 |
<th>Default Value</th> |
<a name="sec-vars"></a> |
105 |
<th>Description</th> |
<div class="info-box"> |
106 |
</tr> |
<div class="info-box-title">Variables</div> |
107 |
<tr> |
<div class="nav-bar"> |
108 |
<td CLASS="font10bold"><a href="../../phpHtmlLib/FormProcessing/FormContent.html#var$_action_message">FormContent::$_action_message</a></td> |
<a href="#sec-description">Description</a> | |
109 |
<td CLASS="font10" STYLE="white-space: nowrap">-> ""<-</td> |
<a href="#sec-var-summary">Vars</a> (<span class="disabled">details</span>) |
110 |
<td CLASS="font10">The message that is set</td> |
|
111 |
</tr> |
|
112 |
<tr> |
| |
113 |
<td CLASS="font10bold"><a href="../../phpHtmlLib/FormProcessing/FormContent.html#var$_cancel_action">FormContent::$_cancel_action</a></td> |
<a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>) |
114 |
<td CLASS="font10" STYLE="white-space: nowrap">-> NULL<-</td> |
|
115 |
<td CLASS="font10">The action to take opon clicking</td> |
</div> |
116 |
</tr> |
<div class="info-box-body"> |
117 |
<tr> |
<h4>Inherited Variables</h4> |
118 |
<td CLASS="font10bold"><a href="../../phpHtmlLib/FormProcessing/FormContent.html#var$_default_label_css">FormContent::$_default_label_css</a></td> |
<A NAME='inherited_vars'><!-- --></A> |
119 |
<td CLASS="font10" STYLE="white-space: nowrap">-> "formlabel"<-</td> |
<p>Inherited from <span class="classname"><a href="../../phpHtmlLib/FormProcessing/StandardFormContent.html">StandardFormContent</a></span></p> |
120 |
<td CLASS="font10">This holds the default css class for form field label text.</td> |
<blockquote> |
121 |
</tr> |
<span class="var-title"> |
122 |
<tr> |
<span class="var-name"><a href="../../phpHtmlLib/FormProcessing/StandardFormContent.html#var$_form_title">StandardFormContent::$_form_title</a></span><br> |
123 |
<td CLASS="font10bold"><a href="../../phpHtmlLib/FormProcessing/FormContent.html#var$_elements">FormContent::$_elements</a></td> |
</span> |
124 |
<td CLASS="font10" STYLE="white-space: nowrap">->array()<-</td> |
<span class="var-title"> |
125 |
<td CLASS="font10">This holds the array of</td> |
<span class="var-name"><a href="../../phpHtmlLib/FormProcessing/StandardFormContent.html#var$_infotable">StandardFormContent::$_infotable</a></span><br> |
126 |
</tr> |
</span> |
127 |
<tr> |
</blockquote> |
128 |
<td CLASS="font10bold"><a href="../../phpHtmlLib/FormProcessing/FormContent.html#var$_error_label_css">FormContent::$_error_label_css</a></td> |
<p>Inherited from <span class="classname"><a href="../../phpHtmlLib/FormProcessing/FormContent.html">FormContent</a></span></p> |
129 |
<td CLASS="font10" STYLE="white-space: nowrap">-> "formlabelerror"<-</td> |
<blockquote> |
130 |
<td CLASS="font10">This is the css class used</td> |
<span class="var-title"> |
131 |
</tr> |
<span class="var-name"><a href="../../phpHtmlLib/FormProcessing/FormContent.html#var$_action_counter">FormContent::$_action_counter</a></span><br> |
132 |
<tr> |
</span> |
133 |
<td CLASS="font10bold"><a href="../../phpHtmlLib/FormProcessing/FormContent.html#var$_form_name">FormContent::$_form_name</a></td> |
<span class="var-title"> |
134 |
<td CLASS="font10" STYLE="white-space: nowrap">-><-</td> |
<span class="var-name"><a href="../../phpHtmlLib/FormProcessing/FormContent.html#var$_action_message">FormContent::$_action_message</a></span><br> |
135 |
<td CLASS="font10">This holds the name of the form</td> |
</span> |
136 |
</tr> |
<span class="var-title"> |
137 |
<tr> |
<span class="var-name"><a href="../../phpHtmlLib/FormProcessing/FormContent.html#var$_cancel_action">FormContent::$_cancel_action</a></span><br> |
138 |
<td CLASS="font10bold"><a href="../../phpHtmlLib/FormProcessing/FormContent.html#var$_has_confirm">FormContent::$_has_confirm</a></td> |
</span> |
139 |
<td CLASS="font10" STYLE="white-space: nowrap">-> FALSE<-</td> |
<span class="var-title"> |
140 |
<td CLASS="font10">flag to let the FormProcessor</td> |
<span class="var-name"><a href="../../phpHtmlLib/FormProcessing/FormContent.html#var$_default_label_css">FormContent::$_default_label_css</a></span><br> |
141 |
</tr> |
</span> |
142 |
<tr> |
<span class="var-title"> |
143 |
<td CLASS="font10bold"><a href="../../phpHtmlLib/FormProcessing/FormContent.html#var$_hidden_elements">FormContent::$_hidden_elements</a></td> |
<span class="var-name"><a href="../../phpHtmlLib/FormProcessing/FormContent.html#var$_elements">FormContent::$_elements</a></span><br> |
144 |
<td CLASS="font10" STYLE="white-space: nowrap">->array()<-</td> |
</span> |
145 |
<td CLASS="font10">This holds the array of</td> |
<span class="var-title"> |
146 |
</tr> |
<span class="var-name"><a href="../../phpHtmlLib/FormProcessing/FormContent.html#var$_error_label_css">FormContent::$_error_label_css</a></span><br> |
147 |
<tr> |
</span> |
148 |
<td CLASS="font10bold"><a href="../../phpHtmlLib/FormProcessing/FormContent.html#var$_required_field_marker">FormContent::$_required_field_marker</a></td> |
<span class="var-title"> |
149 |
<td CLASS="font10" STYLE="white-space: nowrap">-> "*"<-</td> |
<span class="var-name"><a href="../../phpHtmlLib/FormProcessing/FormContent.html#var$_form_errors_title">FormContent::$_form_errors_title</a></span><br> |
150 |
<td CLASS="font10">marker for the required field</td> |
</span> |
151 |
</tr> |
<span class="var-title"> |
152 |
<tr> |
<span class="var-name"><a href="../../phpHtmlLib/FormProcessing/FormContent.html#var$_form_errors_width">FormContent::$_form_errors_width</a></span><br> |
153 |
<td CLASS="font10bold"><a href="../../phpHtmlLib/FormProcessing/FormContent.html#var$_required_field_text">FormContent::$_required_field_text</a></td> |
</span> |
154 |
<td CLASS="font10" STYLE="white-space: nowrap">-> " - required field"<-</td> |
<span class="var-title"> |
155 |
<td CLASS="font10">Text to show denoted required fields for the form.</td> |
<span class="var-name"><a href="../../phpHtmlLib/FormProcessing/FormContent.html#var$_form_name">FormContent::$_form_name</a></span><br> |
156 |
</tr> |
</span> |
157 |
<tr> |
<span class="var-title"> |
158 |
<td CLASS="font10bold"><a href="../../phpHtmlLib/FormProcessing/FormContent.html#var$_width">FormContent::$_width</a></td> |
<span class="var-name"><a href="../../phpHtmlLib/FormProcessing/FormContent.html#var$_has_confirm">FormContent::$_has_confirm</a></span><br> |
159 |
<td CLASS="font10" STYLE="white-space: nowrap">-> "600"<-</td> |
</span> |
160 |
<td CLASS="font10">Holds the width to be used for the</td> |
<span class="var-title"> |
161 |
</tr> |
<span class="var-name"><a href="../../phpHtmlLib/FormProcessing/FormContent.html#var$_hidden_elements">FormContent::$_hidden_elements</a></span><br> |
162 |
</table> |
</span> |
163 |
<BR> |
<span class="var-title"> |
164 |
</TD> |
<span class="var-name"><a href="../../phpHtmlLib/FormProcessing/FormContent.html#var$_required_field_marker">FormContent::$_required_field_marker</a></span><br> |
165 |
</TR> |
</span> |
166 |
</TABLE> |
<span class="var-title"> |
167 |
|
<span class="var-name"><a href="../../phpHtmlLib/FormProcessing/FormContent.html#var$_required_field_text">FormContent::$_required_field_text</a></span><br> |
168 |
<hr> |
</span> |
169 |
<!-- =========== METHOD SUMMARY =========== --> |
<span class="var-title"> |
170 |
<A NAME='method_summary'><!-- --></A> |
<span class="var-name"><a href="../../phpHtmlLib/FormProcessing/FormContent.html#var$_stripslashes">FormContent::$_stripslashes</a></span><br> |
171 |
<TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='100%' Class="border"> |
</span> |
172 |
<TR BGCOLOR='#CCCCFF' CLASS='TableHeadingColor'> |
<span class="var-title"> |
173 |
<TD> |
<span class="var-name"><a href="../../phpHtmlLib/FormProcessing/FormContent.html#var$_width">FormContent::$_width</a></span><br> |
174 |
<span class="font12bold">Method Summary</span> |
</span> |
175 |
<A HREF="#top" CLASS="links">^TOP</A> |
</blockquote> |
176 |
</TD> |
|
177 |
</TR> |
</div> |
178 |
|
</div> |
179 |
<!-- =========== Summary =========== --> |
|
180 |
<TR BGCOLOR='white' CLASS='TableRowColor'> |
<a name="sec-methods"></a> |
181 |
<TD> |
<div class="info-box"> |
182 |
<CODE><B><A HREF='../../phpHtmlLib/form-examples/StandardAccountForm.html#methodconfirm_action'>void confirm_action ( )</A></B></CODE> |
<div class="info-box-title">Methods</div> |
183 |
<BR> |
<div class="nav-bar"> |
184 |
<blockquote> This method will get called after all validation has passed, and the confirmation has been accepted. </blockquote> |
<a href="#sec-description">Description</a> | |
185 |
</TD> |
<a href="#sec-vars">Vars</a> |
186 |
</TR> |
<a href="#sec-method-summary">Methods</a> (<span class="disabled">details</span>) |
187 |
<!-- =========== Summary =========== --> |
|
188 |
<TR BGCOLOR='white' CLASS='TableRowColor'> |
</div> |
189 |
<TD> |
<div class="info-box-body"> |
190 |
<CODE><B><A HREF='../../phpHtmlLib/form-examples/StandardAccountForm.html#methodform_backend_validation'>void form_backend_validation ( )</A></B></CODE> |
<A NAME='method_detail'></A> |
191 |
<BR> |
<a name="methodconfirm_action" id="confirm_action"><!-- --></a> |
192 |
<blockquote> This method gets called after the FormElement data has passed the validation, and has been confirmed. This enables you to validate the data against some backend mechanism, say a DB. </blockquote> |
<div class="oddrow"> |
193 |
</TD> |
|
194 |
</TR> |
<div class="method-header"> |
195 |
<!-- =========== Summary =========== --> |
<span class="method-title">confirm_action</span> (line <span class="line-number">215</span>) |
196 |
<TR BGCOLOR='white' CLASS='TableRowColor'> |
</div> |
197 |
<TD> |
|
198 |
<CODE><B><A HREF='../../phpHtmlLib/form-examples/StandardAccountForm.html#methodform_content'>void form_content ( )</A></B></CODE> |
<!-- ========== Info from phpDoc block ========= --> |
199 |
<BR> |
<p class="short-description">This method will get called after all validation has passed, and the confirmation has been accepted.</p> |
200 |
<blockquote> This method is called by the StandardFormContent object to allow you to build the 'blocks' of fields you want to display. Each form block will live inside a fieldset tag with the a title. </blockquote> |
<p class="description"><p>This is where u save the info to the DB.</p></p> |
201 |
</TD> |
|
202 |
</TR> |
<div class="method-signature"> |
203 |
<!-- =========== Summary =========== --> |
<span class="method-result">void</span> |
204 |
<TR BGCOLOR='white' CLASS='TableRowColor'> |
<span class="method-name"> |
205 |
<TD> |
confirm_action |
206 |
<CODE><B><A HREF='../../phpHtmlLib/form-examples/StandardAccountForm.html#methodform_init_data'>void form_init_data ( )</A></B></CODE> |
</span> |
207 |
<BR> |
() |
208 |
<blockquote> This method is called only the first time the form page is hit. </blockquote> |
</div> |
209 |
</TD> |
|
210 |
</TR> |
|
211 |
<!-- =========== Summary =========== --> |
<hr class="separator" /> |
212 |
<TR BGCOLOR='white' CLASS='TableRowColor'> |
<div class="notes">Redefinition of:</div> |
213 |
<TD> |
<dl> |
214 |
<CODE><B><A HREF='../../phpHtmlLib/form-examples/StandardAccountForm.html#methodform_init_elements'>void form_init_elements ( )</A></B></CODE> |
<dt><a href="../../phpHtmlLib/FormProcessing/StandardFormContent.html#methodconfirm_action">StandardFormContent::confirm_action()</a></dt> |
215 |
<BR> |
<dd>This method is responsible for handling the confirmation page's Confirm action.</dd> |
216 |
<blockquote> This method gets called EVERY time the object is </blockquote> |
</dl> |
217 |
</TD> |
|
218 |
</TR> |
</div> |
219 |
<!-- =========== Summary =========== --> |
<a name="methodform_backend_validation" id="form_backend_validation"><!-- --></a> |
220 |
<TR BGCOLOR='white' CLASS='TableRowColor'> |
<div class="evenrow"> |
221 |
<TD> |
|
222 |
<CODE><B><A HREF='../../phpHtmlLib/form-examples/StandardAccountForm.html#method_optional_info'>void &_optional_info ( )</A></B></CODE> |
<div class="method-header"> |
223 |
<BR> |
<span class="method-title">form_backend_validation</span> (line <span class="line-number">200</span>) |
224 |
<blockquote> This private method builds the table that holds </blockquote> |
</div> |
225 |
</TD> |
|
226 |
</TR> |
<!-- ========== Info from phpDoc block ========= --> |
227 |
<!-- =========== Summary =========== --> |
<p class="short-description">This method gets called after the FormElement data has passed the validation, and has been confirmed. This enables you to validate the data against some backend mechanism, say a DB.</p> |
228 |
<TR BGCOLOR='white' CLASS='TableRowColor'> |
|
229 |
<TD> |
<div class="method-signature"> |
230 |
<CODE><B><A HREF='../../phpHtmlLib/form-examples/StandardAccountForm.html#method_user_info'>void &_user_info ( )</A></B></CODE> |
<span class="method-result">void</span> |
231 |
<BR> |
<span class="method-name"> |
232 |
<blockquote> This private method builds the table that holds </blockquote> |
form_backend_validation |
233 |
</TD> |
</span> |
234 |
</TR> |
() |
235 |
</TABLE> |
</div> |
236 |
<!-- =========== INHERITED METHOD SUMMARY =========== --> |
|
237 |
<A NAME='functions_inherited'><!-- --></A> |
|
238 |
<TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='100%' CLASS="border"> |
<hr class="separator" /> |
239 |
<TR BGCOLOR='#CCCCFF' CLASS='TableHeadingColor'> |
<div class="notes">Redefinition of:</div> |
240 |
<TD> |
<dl> |
241 |
<span CLASS="font12bold">Inherited Method Summary</span> |
<dt><a href="../../phpHtmlLib/FormProcessing/FormContent.html#methodform_backend_validation">FormContent::form_backend_validation()</a></dt> |
242 |
<A HREF="#top" CLASS="links">^TOP</A> |
<dd>This method is called after the FormElements</dd> |
243 |
</TD> |
</dl> |
244 |
</TR> |
|
245 |
|
</div> |
246 |
<!-- =========== Summary =========== --> |
<a name="methodform_content" id="form_content"><!-- --></a> |
247 |
<TR BGCOLOR='white' CLASS='TableRowColor'> |
<div class="oddrow"> |
248 |
<TD> |
|
249 |
<span CLASS="font10bold">Inherited From Class <a href="../../phpHtmlLib/FormProcessing/StandardFormContent.html">StandardFormContent</a></span> |
<div class="method-header"> |
250 |
<TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='95%' CLASS="border" ALIGN="center"> |
<span class="method-title">form_content</span> (line <span class="line-number">139</span>) |
251 |
<tr CLASS="tableheadingcolor"> |
</div> |
252 |
<th>Function</th> |
|
253 |
<th>Description</th> |
<!-- ========== Info from phpDoc block ========= --> |
254 |
</tr> |
<p class="short-description">This method is called by the StandardFormContent object to allow you to build the 'blocks' of fields you want to display. Each form block will live inside a fieldset tag with the a title.</p> |
255 |
<tr> |
<p class="description"><p>In this example we have 2 form 'blocks'.</p></p> |
256 |
<td CLASS="font10bold"><a href="../../phpHtmlLib/FormProcessing/StandardFormContent.html#methodStandardFormContent">StandardFormContent::StandardFormContent()</a></td> |
|
257 |
<td CLASS="font10"></td> |
<div class="method-signature"> |
258 |
<tr> |
<span class="method-result">void</span> |
259 |
<td CLASS="font10bold"><a href="../../phpHtmlLib/FormProcessing/StandardFormContent.html#methodadd_form_block">StandardFormContent::add_form_block()</a></td> |
<span class="method-name"> |
260 |
<td CLASS="font10">This function is used to add a block of form fields inside a table to this form.</td> |
form_content |
261 |
<tr> |
</span> |
262 |
<td CLASS="font10bold"><a href="../../phpHtmlLib/FormProcessing/StandardFormContent.html#methodbuild_form_block">StandardFormContent::build_form_block()</a></td> |
() |
263 |
<td CLASS="font10">this builds a fieldset and legend and adds the form table to it.</td> |
</div> |
264 |
<tr> |
|
265 |
<td CLASS="font10bold"><a href="../../phpHtmlLib/FormProcessing/StandardFormContent.html#methodconfirm_action">StandardFormContent::confirm_action()</a></td> |
|
266 |
<td CLASS="font10">This method is responsible for handling the confirmation page's Confirm action.</td> |
<hr class="separator" /> |
267 |
<tr> |
<div class="notes">Redefinition of:</div> |
268 |
<td CLASS="font10bold"><a href="../../phpHtmlLib/FormProcessing/StandardFormContent.html#methodform">StandardFormContent::form()</a></td> |
<dl> |
269 |
<td CLASS="font10">this builds the main wrapper for the form fields and ads the Save and Cancel buttons</td> |
<dt><a href="../../phpHtmlLib/FormProcessing/StandardFormContent.html#methodform_content">StandardFormContent::form_content()</a></dt> |
270 |
<tr> |
<dd>Child class MUST override this to provide the form fields</dd> |
271 |
<td CLASS="font10bold"><a href="../../phpHtmlLib/FormProcessing/StandardFormContent.html#methodform_action">StandardFormContent::form_action()</a></td> |
</dl> |
272 |
<td CLASS="font10">This method handles the form action.</td> |
|
273 |
<tr> |
</div> |
274 |
<td CLASS="font10bold"><a href="../../phpHtmlLib/FormProcessing/StandardFormContent.html#methodform_confirm">StandardFormContent::form_confirm()</a></td> |
<a name="methodform_init_data" id="form_init_data"><!-- --></a> |
275 |
<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> |
<div class="evenrow"> |
276 |
<tr> |
|
277 |
<td CLASS="font10bold"><a href="../../phpHtmlLib/FormProcessing/StandardFormContent.html#methodform_content">StandardFormContent::form_content()</a></td> |
<div class="method-header"> |
278 |
<td CLASS="font10">Child class MUST override this to provide the form fields</td> |
<span class="method-title">form_init_data</span> (line <span class="line-number">115</span>) |
279 |
<tr> |
</div> |
280 |
<td CLASS="font10bold"><a href="../../phpHtmlLib/FormProcessing/StandardFormContent.html#methodform_content_buttons">StandardFormContent::form_content_buttons()</a></td> |
|
281 |
<td CLASS="font10">This function is used to build the standard buttons for a form.</td> |
<!-- ========== Info from phpDoc block ========= --> |
282 |
<tr> |
<p class="short-description">This method is called only the first time the form page is hit.</p> |
283 |
<td CLASS="font10bold"><a href="../../phpHtmlLib/FormProcessing/StandardFormContent.html#methodset_form_title">StandardFormContent::set_form_title()</a></td> |
|
284 |
<td CLASS="font10">this method sets the form title which is used to wrap the entire form</td> |
<div class="method-signature"> |
285 |
<tr> |
<span class="method-result">void</span> |
286 |
<td CLASS="font10bold"><a href="../../phpHtmlLib/FormProcessing/StandardFormContent.html#method_div_wrapper">StandardFormContent::_div_wrapper()</a></td> |
<span class="method-name"> |
287 |
<td CLASS="font10"></td> |
form_init_data |
288 |
<tr> |
</span> |
289 |
<td CLASS="font10bold"><a href="../../phpHtmlLib/FormProcessing/StandardFormContent.html#method_form_content_table">StandardFormContent::_form_content_table()</a></td> |
() |
290 |
<td CLASS="font10"></td> |
</div> |
291 |
</table> |
|
292 |
<br> |
|
293 |
</TD> |
<hr class="separator" /> |
294 |
</TR> |
<div class="notes">Redefinition of:</div> |
295 |
<!-- =========== Summary =========== --> |
<dl> |
296 |
<TR BGCOLOR='white' CLASS='TableRowColor'> |
<dt><a href="../../phpHtmlLib/FormProcessing/FormContent.html#methodform_init_data">FormContent::form_init_data()</a></dt> |
297 |
<TD> |
<dd>This method is called by the</dd> |
298 |
<span CLASS="font10bold">Inherited From Class <a href="../../phpHtmlLib/FormProcessing/FormContent.html">FormContent</a></span> |
</dl> |
299 |
<TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='95%' CLASS="border" ALIGN="center"> |
|
300 |
<tr CLASS="tableheadingcolor"> |
</div> |
301 |
<th>Function</th> |
<a name="methodform_init_elements" id="form_init_elements"><!-- --></a> |
302 |
<th>Description</th> |
<div class="oddrow"> |
303 |
</tr> |
|
304 |
<tr> |
<div class="method-header"> |
305 |
<td CLASS="font10bold"><a href="../../phpHtmlLib/FormProcessing/FormContent.html#methodFormContent">FormContent::FormContent()</a></td> |
<span class="method-title">form_init_elements</span> (line <span class="line-number">76</span>) |
306 |
<td CLASS="font10"></td> |
</div> |
307 |
<tr> |
|
308 |
<td CLASS="font10bold"><a href="../../phpHtmlLib/FormProcessing/FormContent.html#methodadd_action">FormContent::add_action()</a></td> |
<!-- ========== Info from phpDoc block ========= --> |
309 |
<td CLASS="font10">This function adds a form submit button with the appropriate action.</td> |
<p class="short-description">This method gets called EVERY time the object is</p> |
310 |
<tr> |
<p class="description"><p>created</p></p> |
311 |
<td CLASS="font10bold"><a href="../../phpHtmlLib/FormProcessing/FormContent.html#methodadd_cancel">FormContent::add_cancel()</a></td> |
|
312 |
<td CLASS="font10">build a cancel button with a url to go to</td> |
<div class="method-signature"> |
313 |
<tr> |
<span class="method-result">void</span> |
314 |
<td CLASS="font10bold"><a href="../../phpHtmlLib/FormProcessing/FormContent.html#methodadd_element">FormContent::add_element()</a></td> |
<span class="method-name"> |
315 |
<td CLASS="font10">This method is used to add a form element</td> |
form_init_elements |
316 |
<tr> |
</span> |
317 |
<td CLASS="font10bold"><a href="../../phpHtmlLib/FormProcessing/FormContent.html#methodadd_error">FormContent::add_error()</a></td> |
() |
318 |
<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> |
</div> |
319 |
<tr> |
|
320 |
<td CLASS="font10bold"><a href="../../phpHtmlLib/FormProcessing/FormContent.html#methodadd_hidden_action">FormContent::add_hidden_action()</a></td> |
|
321 |
<td CLASS="font10">This function adds a submit button that can have any label. It just makes the _form_action a hidden field.</td> |
<hr class="separator" /> |
322 |
<tr> |
<div class="notes">Redefinition of:</div> |
323 |
<td CLASS="font10bold"><a href="../../phpHtmlLib/FormProcessing/FormContent.html#methodadd_hidden_element">FormContent::add_hidden_element()</a></td> |
<dl> |
324 |
<td CLASS="font10">This method is used to add a hidden form field</td> |
<dt><a href="../../phpHtmlLib/FormProcessing/FormContent.html#methodform_init_elements">FormContent::form_init_elements()</a></dt> |
325 |
<tr> |
<dd>This method is what is called to build the list of FormElements that will be used by this form.</dd> |
326 |
<td CLASS="font10bold"><a href="../../phpHtmlLib/FormProcessing/FormContent.html#methodadd_image_action">FormContent::add_image_action()</a></td> |
</dl> |
327 |
<td CLASS="font10">This function adds an action as an image to submit the form.</td> |
|
328 |
<tr> |
</div> |
329 |
<td CLASS="font10bold"><a href="../../phpHtmlLib/FormProcessing/FormContent.html#methodbuild_confirm_table">FormContent::build_confirm_table()</a></td> |
<a name="method_optional_info" id="_optional_info"><!-- --></a> |
330 |
<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> |
<div class="evenrow"> |
331 |
<tr> |
|
332 |
<td CLASS="font10bold"><a href="../../phpHtmlLib/FormProcessing/FormContent.html#methodelement_form">FormContent::element_form()</a></td> |
<div class="method-header"> |
333 |
<td CLASS="font10">This method returns the actual form object that renders the form field.</td> |
<span class="method-title">_optional_info</span> (line <span class="line-number">171</span>) |
334 |
<tr> |
</div> |
335 |
<td CLASS="font10bold"><a href="../../phpHtmlLib/FormProcessing/FormContent.html#methodelement_label">FormContent::element_label()</a></td> |
|
336 |
<td CLASS="font10">This method returns the label object for a visible form element.</td> |
<!-- ========== Info from phpDoc block ========= --> |
337 |
<tr> |
<p class="short-description">This private method builds the table that holds</p> |
338 |
<td CLASS="font10bold"><a href="../../phpHtmlLib/FormProcessing/FormContent.html#methodform">FormContent::form()</a></td> |
<p class="description"><p>the 'optional' form fields'</p></p> |
339 |
<td CLASS="font10">This method builds the html form.</td> |
|
340 |
<tr> |
<div class="method-signature"> |
341 |
<td CLASS="font10bold"><a href="../../phpHtmlLib/FormProcessing/FormContent.html#methodform_action">FormContent::form_action()</a></td> |
<span class="method-result">void</span> |
342 |
<td CLASS="font10">This method handles the</td> |
<span class="method-name"> |
343 |
<tr> |
&_optional_info |
344 |
<td CLASS="font10bold"><a href="../../phpHtmlLib/FormProcessing/FormContent.html#methodform_backend_validation">FormContent::form_backend_validation()</a></td> |
</span> |
345 |
<td CLASS="font10">This method is called after the FormElements</td> |
() |
346 |
<tr> |
</div> |
347 |
<td CLASS="font10bold"><a href="../../phpHtmlLib/FormProcessing/FormContent.html#methodform_confirm">FormContent::form_confirm()</a></td> |
|
348 |
<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> |
|
349 |
<tr> |
|
350 |
<td CLASS="font10bold"><a href="../../phpHtmlLib/FormProcessing/FormContent.html#methodform_errors">FormContent::form_errors()</a></td> |
</div> |
351 |
<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> |
<a name="method_user_info" id="_user_info"><!-- --></a> |
352 |
<tr> |
<div class="oddrow"> |
353 |
<td CLASS="font10bold"><a href="../../phpHtmlLib/FormProcessing/FormContent.html#methodform_init_data">FormContent::form_init_data()</a></td> |
|
354 |
<td CLASS="font10">This method is called by the</td> |
<div class="method-header"> |
355 |
<tr> |
<span class="method-title">_user_info</span> (line <span class="line-number">149</span>) |
356 |
<td CLASS="font10bold"><a href="../../phpHtmlLib/FormProcessing/FormContent.html#methodform_init_elements">FormContent::form_init_elements()</a></td> |
</div> |
357 |
<td CLASS="font10">This method is what is called to build the list of FormElements that will be used by this form.</td> |
|
358 |
<tr> |
<!-- ========== Info from phpDoc block ========= --> |
359 |
<td CLASS="font10bold"><a href="../../phpHtmlLib/FormProcessing/FormContent.html#methodform_success">FormContent::form_success()</a></td> |
<p class="short-description">This private method builds the table that holds</p> |
360 |
<td CLASS="font10">This method is called when the form_action() was successfull, and the form wants to render some kind of message</td> |
<p class="description"><p>the 'user' form fields'</p></p> |
361 |
<tr> |
|
362 |
<td CLASS="font10bold"><a href="../../phpHtmlLib/FormProcessing/FormContent.html#methodget_action">FormContent::get_action()</a></td> |
<div class="method-signature"> |
363 |
<td CLASS="font10">Get the current status of the action.</td> |
<span class="method-result">void</span> |
364 |
<tr> |
<span class="method-name"> |
365 |
<td CLASS="font10bold"><a href="../../phpHtmlLib/FormProcessing/FormContent.html#methodget_default_css">FormContent::get_default_css()</a></td> |
&_user_info |
366 |
<td CLASS="font10">This function returns the default css class used for NON error text.</td> |
</span> |
367 |
<tr> |
() |
368 |
<td CLASS="font10bold"><a href="../../phpHtmlLib/FormProcessing/FormContent.html#methodget_element">FormContent::get_element()</a></td> |
</div> |
369 |
<td CLASS="font10">This method returns the FormElement based on the label.</td> |
|
370 |
<tr> |
|
371 |
<td CLASS="font10bold"><a href="../../phpHtmlLib/FormProcessing/FormContent.html#methodget_element_value">FormContent::get_element_value()</a></td> |
|
372 |
<td CLASS="font10">This method is used to get the value for a non hidden element</td> |
</div> |
373 |
<tr> |
<h4>Inherited Methods</h4> |
374 |
<td CLASS="font10bold"><a href="../../phpHtmlLib/FormProcessing/FormContent.html#methodget_hidden_element_value">FormContent::get_hidden_element_value()</a></td> |
<a name='inherited_methods'><!-- --></a> |
375 |
<td CLASS="font10">This method is used to get the value for a hidden element</td> |
<!-- =========== Summary =========== --> |
376 |
<tr> |
<p>Inherited From <span class="classname"><a href="../../phpHtmlLib/FormProcessing/StandardFormContent.html">StandardFormContent</a></span></p> |
377 |
<td CLASS="font10bold"><a href="../../phpHtmlLib/FormProcessing/FormContent.html#methodget_required_fields_text">FormContent::get_required_fields_text()</a></td> |
<blockquote> |
378 |
<td CLASS="font10">This returns the required field text</td> |
<span class="method-name"><a href="../../phpHtmlLib/FormProcessing/StandardFormContent.html#methodStandardFormContent">StandardFormContent::StandardFormContent()</a></span><br> |
379 |
<tr> |
<span class="method-name"><a href="../../phpHtmlLib/FormProcessing/StandardFormContent.html#methodadd_form_block">StandardFormContent::add_form_block()</a></span><br> |
380 |
<td CLASS="font10bold"><a href="../../phpHtmlLib/FormProcessing/FormContent.html#methodhas_confirm">FormContent::has_confirm()</a></td> |
<span class="method-name"><a href="../../phpHtmlLib/FormProcessing/StandardFormContent.html#methodbuild_form_block">StandardFormContent::build_form_block()</a></span><br> |
381 |
<td CLASS="font10">This gets the value of the confirmation flag.</td> |
<span class="method-name"><a href="../../phpHtmlLib/FormProcessing/StandardFormContent.html#methodconfirm_action">StandardFormContent::confirm_action()</a></span><br> |
382 |
<tr> |
<span class="method-name"><a href="../../phpHtmlLib/FormProcessing/StandardFormContent.html#methodform">StandardFormContent::form()</a></span><br> |
383 |
<td CLASS="font10bold"><a href="../../phpHtmlLib/FormProcessing/FormContent.html#methodpre_confirm">FormContent::pre_confirm()</a></td> |
<span class="method-name"><a href="../../phpHtmlLib/FormProcessing/StandardFormContent.html#methodform_action">StandardFormContent::form_action()</a></span><br> |
384 |
<td CLASS="font10">This method allows this class to do any data munging prior to the form_confirm method being called @ render time.</td> |
<span class="method-name"><a href="../../phpHtmlLib/FormProcessing/StandardFormContent.html#methodform_confirm">StandardFormContent::form_confirm()</a></span><br> |
385 |
<tr> |
<span class="method-name"><a href="../../phpHtmlLib/FormProcessing/StandardFormContent.html#methodform_content">StandardFormContent::form_content()</a></span><br> |
386 |
<td CLASS="font10bold"><a href="../../phpHtmlLib/FormProcessing/FormContent.html#methodset_action">FormContent::set_action()</a></td> |
<span class="method-name"><a href="../../phpHtmlLib/FormProcessing/StandardFormContent.html#methodform_content_buttons">StandardFormContent::form_content_buttons()</a></span><br> |
387 |
<td CLASS="font10">Save the action for the form</td> |
<span class="method-name"><a href="../../phpHtmlLib/FormProcessing/StandardFormContent.html#methodset_form_title">StandardFormContent::set_form_title()</a></span><br> |
388 |
<tr> |
<span class="method-name"><a href="../../phpHtmlLib/FormProcessing/StandardFormContent.html#method_div_wrapper">StandardFormContent::_div_wrapper()</a></span><br> |
389 |
<td CLASS="font10bold"><a href="../../phpHtmlLib/FormProcessing/FormContent.html#methodset_action_message">FormContent::set_action_message()</a></td> |
<span class="method-name"><a href="../../phpHtmlLib/FormProcessing/StandardFormContent.html#method_form_content_table">StandardFormContent::_form_content_table()</a></span><br> |
390 |
<td CLASS="font10">This sets the action message.</td> |
</blockquote> |
391 |
<tr> |
<!-- =========== Summary =========== --> |
392 |
<td CLASS="font10bold"><a href="../../phpHtmlLib/FormProcessing/FormContent.html#methodset_cancel_action">FormContent::set_cancel_action()</a></td> |
<p>Inherited From <span class="classname"><a href="../../phpHtmlLib/FormProcessing/FormContent.html">FormContent</a></span></p> |
393 |
<td CLASS="font10">This method sets the javasript action</td> |
<blockquote> |
394 |
<tr> |
<span class="method-name"><a href="../../phpHtmlLib/FormProcessing/FormContent.html#methodFormContent">FormContent::FormContent()</a></span><br> |
395 |
<td CLASS="font10bold"><a href="../../phpHtmlLib/FormProcessing/FormContent.html#methodset_confirm">FormContent::set_confirm()</a></td> |
<span class="method-name"><a href="../../phpHtmlLib/FormProcessing/FormContent.html#methodadd_action">FormContent::add_action()</a></span><br> |
396 |
<td CLASS="font10">This sets the $this->_has_confirmation</td> |
<span class="method-name"><a href="../../phpHtmlLib/FormProcessing/FormContent.html#methodadd_cancel">FormContent::add_cancel()</a></span><br> |
397 |
<tr> |
<span class="method-name"><a href="../../phpHtmlLib/FormProcessing/FormContent.html#methodadd_element">FormContent::add_element()</a></span><br> |
398 |
<td CLASS="font10bold"><a href="../../phpHtmlLib/FormProcessing/FormContent.html#methodset_default_css">FormContent::set_default_css()</a></td> |
<span class="method-name"><a href="../../phpHtmlLib/FormProcessing/FormContent.html#methodadd_error">FormContent::add_error()</a></span><br> |
399 |
<td CLASS="font10">This function is used to set the</td> |
<span class="method-name"><a href="../../phpHtmlLib/FormProcessing/FormContent.html#methodadd_hidden_action">FormContent::add_hidden_action()</a></span><br> |
400 |
<tr> |
<span class="method-name"><a href="../../phpHtmlLib/FormProcessing/FormContent.html#methodadd_hidden_element">FormContent::add_hidden_element()</a></span><br> |
401 |
<td CLASS="font10bold"><a href="../../phpHtmlLib/FormProcessing/FormContent.html#methodset_element_value">FormContent::set_element_value()</a></td> |
<span class="method-name"><a href="../../phpHtmlLib/FormProcessing/FormContent.html#methodadd_image_action">FormContent::add_image_action()</a></span><br> |
402 |
<td CLASS="font10">This method is used to set the value for a non hidden element</td> |
<span class="method-name"><a href="../../phpHtmlLib/FormProcessing/FormContent.html#methodbuild_confirm_table">FormContent::build_confirm_table()</a></span><br> |
403 |
<tr> |
<span class="method-name"><a href="../../phpHtmlLib/FormProcessing/FormContent.html#methodelement_form">FormContent::element_form()</a></span><br> |
404 |
<td CLASS="font10bold"><a href="../../phpHtmlLib/FormProcessing/FormContent.html#methodset_error_css">FormContent::set_error_css()</a></td> |
<span class="method-name"><a href="../../phpHtmlLib/FormProcessing/FormContent.html#methodelement_label">FormContent::element_label()</a></span><br> |
405 |
<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> |
<span class="method-name"><a href="../../phpHtmlLib/FormProcessing/FormContent.html#methodform">FormContent::form()</a></span><br> |
406 |
<tr> |
<span class="method-name"><a href="../../phpHtmlLib/FormProcessing/FormContent.html#methodform_action">FormContent::form_action()</a></span><br> |
407 |
<td CLASS="font10bold"><a href="../../phpHtmlLib/FormProcessing/FormContent.html#methodset_form_name">FormContent::set_form_name()</a></td> |
<span class="method-name"><a href="../../phpHtmlLib/FormProcessing/FormContent.html#methodform_backend_validation">FormContent::form_backend_validation()</a></span><br> |
408 |
<td CLASS="font10">**************************</td> |
<span class="method-name"><a href="../../phpHtmlLib/FormProcessing/FormContent.html#methodform_confirm">FormContent::form_confirm()</a></span><br> |
409 |
<tr> |
<span class="method-name"><a href="../../phpHtmlLib/FormProcessing/FormContent.html#methodform_errors">FormContent::form_errors()</a></span><br> |
410 |
<td CLASS="font10bold"><a href="../../phpHtmlLib/FormProcessing/FormContent.html#methodset_form_width">FormContent::set_form_width()</a></td> |
<span class="method-name"><a href="../../phpHtmlLib/FormProcessing/FormContent.html#methodform_init_data">FormContent::form_init_data()</a></span><br> |
411 |
<td CLASS="font10">this method sets the form name</td> |
<span class="method-name"><a href="../../phpHtmlLib/FormProcessing/FormContent.html#methodform_init_elements">FormContent::form_init_elements()</a></span><br> |
412 |
<tr> |
<span class="method-name"><a href="../../phpHtmlLib/FormProcessing/FormContent.html#methodform_success">FormContent::form_success()</a></span><br> |
413 |
<td CLASS="font10bold"><a href="../../phpHtmlLib/FormProcessing/FormContent.html#methodset_hidden_element_value">FormContent::set_hidden_element_value()</a></td> |
<span class="method-name"><a href="../../phpHtmlLib/FormProcessing/FormContent.html#methodget_action">FormContent::get_action()</a></span><br> |
414 |
<td CLASS="font10">This method is used to set the value for a hidden element</td> |
<span class="method-name"><a href="../../phpHtmlLib/FormProcessing/FormContent.html#methodget_default_css">FormContent::get_default_css()</a></span><br> |
415 |
<tr> |
<span class="method-name"><a href="../../phpHtmlLib/FormProcessing/FormContent.html#methodget_element">FormContent::get_element()</a></span><br> |
416 |
<td CLASS="font10bold"><a href="../../phpHtmlLib/FormProcessing/FormContent.html#methodset_stripslashes">FormContent::set_stripslashes()</a></td> |
<span class="method-name"><a href="../../phpHtmlLib/FormProcessing/FormContent.html#methodget_element_value">FormContent::get_element_value()</a></span><br> |
417 |
<td CLASS="font10">This sets the stripslashes flag for this object.</td> |
<span class="method-name"><a href="../../phpHtmlLib/FormProcessing/FormContent.html#methodget_error_array">FormContent::get_error_array()</a></span><br> |
418 |
</table> |
<span class="method-name"><a href="../../phpHtmlLib/FormProcessing/FormContent.html#methodget_form_errors_width">FormContent::get_form_errors_width()</a></span><br> |
419 |
<br> |
<span class="method-name"><a href="../../phpHtmlLib/FormProcessing/FormContent.html#methodget_hidden_element_value">FormContent::get_hidden_element_value()</a></span><br> |
420 |
</TD> |
<span class="method-name"><a href="../../phpHtmlLib/FormProcessing/FormContent.html#methodget_required_fields_text">FormContent::get_required_fields_text()</a></span><br> |
421 |
</TR> |
<span class="method-name"><a href="../../phpHtmlLib/FormProcessing/FormContent.html#methodhas_confirm">FormContent::has_confirm()</a></span><br> |
422 |
</TABLE> |
<span class="method-name"><a href="../../phpHtmlLib/FormProcessing/FormContent.html#methodhidden_element_label">FormContent::hidden_element_label()</a></span><br> |
423 |
<hr> |
<span class="method-name"><a href="../../phpHtmlLib/FormProcessing/FormContent.html#methodjavascript">FormContent::javascript()</a></span><br> |
424 |
<!-- ============ VARIABLE DETAIL =========== --> |
<span class="method-name"><a href="../../phpHtmlLib/FormProcessing/FormContent.html#methodpre_confirm">FormContent::pre_confirm()</a></span><br> |
425 |
|
<span class="method-name"><a href="../../phpHtmlLib/FormProcessing/FormContent.html#methodset_action">FormContent::set_action()</a></span><br> |
426 |
<A NAME='variable_detail'></A> |
<span class="method-name"><a href="../../phpHtmlLib/FormProcessing/FormContent.html#methodset_action_message">FormContent::set_action_message()</a></span><br> |
427 |
<TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='100%' CLASS="border"> |
<span class="method-name"><a href="../../phpHtmlLib/FormProcessing/FormContent.html#methodset_cancel_action">FormContent::set_cancel_action()</a></span><br> |
428 |
<TR BGCOLOR='#CCCCFF' CLASS='TableHeadingColor'> |
<span class="method-name"><a href="../../phpHtmlLib/FormProcessing/FormContent.html#methodset_confirm">FormContent::set_confirm()</a></span><br> |
429 |
<TD> |
<span class="method-name"><a href="../../phpHtmlLib/FormProcessing/FormContent.html#methodset_default_css">FormContent::set_default_css()</a></span><br> |
430 |
<span CLASS="font12bold">Variable Detail</span> |
<span class="method-name"><a href="../../phpHtmlLib/FormProcessing/FormContent.html#methodset_element_value">FormContent::set_element_value()</a></span><br> |
431 |
<A HREF="#top" CLASS="links">^TOP</A> |
<span class="method-name"><a href="../../phpHtmlLib/FormProcessing/FormContent.html#methodset_error_css">FormContent::set_error_css()</a></span><br> |
432 |
</TD> |
<span class="method-name"><a href="../../phpHtmlLib/FormProcessing/FormContent.html#methodset_form_errors_title">FormContent::set_form_errors_title()</a></span><br> |
433 |
</TR> |
<span class="method-name"><a href="../../phpHtmlLib/FormProcessing/FormContent.html#methodset_form_errors_width">FormContent::set_form_errors_width()</a></span><br> |
434 |
</TABLE> |
<span class="method-name"><a href="../../phpHtmlLib/FormProcessing/FormContent.html#methodset_form_name">FormContent::set_form_name()</a></span><br> |
435 |
|
<span class="method-name"><a href="../../phpHtmlLib/FormProcessing/FormContent.html#methodset_form_width">FormContent::set_form_width()</a></span><br> |
436 |
<hr> |
<span class="method-name"><a href="../../phpHtmlLib/FormProcessing/FormContent.html#methodset_hidden_element_value">FormContent::set_hidden_element_value()</a></span><br> |
437 |
<!-- ============ METHOD DETAIL =========== --> |
<span class="method-name"><a href="../../phpHtmlLib/FormProcessing/FormContent.html#methodset_required_marker">FormContent::set_required_marker()</a></span><br> |
438 |
|
<span class="method-name"><a href="../../phpHtmlLib/FormProcessing/FormContent.html#methodset_required_text">FormContent::set_required_text()</a></span><br> |
439 |
<A NAME='method_detail'></A> |
<span class="method-name"><a href="../../phpHtmlLib/FormProcessing/FormContent.html#methodset_stripslashes">FormContent::set_stripslashes()</a></span><br> |
440 |
<TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='100%' CLASS="border"> |
<span class="method-name"><a href="../../phpHtmlLib/FormProcessing/FormContent.html#method_test_element">FormContent::_test_element()</a></span><br> |
441 |
<TR BGCOLOR='#CCCCFF' CLASS='TableHeadingColor'> |
</blockquote> |
442 |
<TD> |
|
443 |
<span class="font12bold">Method Detail</span> |
</div> |
|
<A HREF="#top" CLASS="links">^TOP</A> |
|
|
</TD> |
|
|
</TR> |
|
|
</TABLE> |
|
|
<BR> |
|
|
<DIV CLASS="function"> |
|
|
<A NAME='methodconfirm_action'><!-- --></A> |
|
|
<SPAN CLASS="font12bold">confirm_action</SPAN> (line <span class="linenumber">197</span>) |
|
|
<BR> |
|
|
<SPAN CLASS="font10bold">Usage : </SPAN> |
|
|
<span class="font10bold" style="color: #FF0000">void</SPAN> |
|
|
<span class="font10bold" style="color: #0000FF">confirm_action( |
|
|
)</SPAN> |
|
|
<BR> |
|
|
|
|
|
<span class="font10bold" style="padding-left: 10px;">Overrides :</span> <a href="../../phpHtmlLib/FormProcessing/StandardFormContent.html#methodconfirm_action">StandardFormContent::confirm_action()</a> This method is responsible for handling the confirmation page's Confirm action. |
|
|
<BR> |
|
|
<SPAN CLASS="font10bold">Description : </SPAN> |
|
|
This method will get called after all validation has passed, and the confirmation has been accepted. |
|
|
<br /> |
|
|
<p>This is where u save the info to the DB.</p> |
|
|
<DL> |
|
|
|
|
|
<DT class="font10bold">Function Info:</DT> |
|
|
</DL> |
|
|
</DIV> |
|
|
<BR> |
|
|
<DIV CLASS="function"> |
|
|
<A NAME='methodform_backend_validation'><!-- --></A> |
|
|
<SPAN CLASS="font12bold">form_backend_validation</SPAN> (line <span class="linenumber">183</span>) |
|
|
<BR> |
|
|
<SPAN CLASS="font10bold">Usage : </SPAN> |
|
|
<span class="font10bold" style="color: #FF0000">void</SPAN> |
|
|
<span class="font10bold" style="color: #0000FF">form_backend_validation( |
|
|
)</SPAN> |
|
|
<BR> |
|
|
|
|
|
<BR> |
|
|
<SPAN CLASS="font10bold">Description : </SPAN> |
|
|
This method gets called after the FormElement data has passed the validation, and has been confirmed. This enables you to validate the data against some backend mechanism, say a DB. |
|
|
<br /> |
|
|
|
|
|
<DL> |
|
|
|
|
|
<DT class="font10bold">Function Info:</DT> |
|
|
</DL> |
|
|
</DIV> |
|
|
<BR> |
|
|
<DIV CLASS="function"> |
|
|
<A NAME='methodform_content'><!-- --></A> |
|
|
<SPAN CLASS="font12bold">form_content</SPAN> (line <span class="linenumber">132</span>) |
|
|
<BR> |
|
|
<SPAN CLASS="font10bold">Usage : </SPAN> |
|
|
<span class="font10bold" style="color: #FF0000">void</SPAN> |
|
|
<span class="font10bold" style="color: #0000FF">form_content( |
|
|
)</SPAN> |
|
|
<BR> |
|
|
|
|
|
<span class="font10bold" style="padding-left: 10px;">Overrides :</span> <a href="../../phpHtmlLib/FormProcessing/StandardFormContent.html#methodform_content">StandardFormContent::form_content()</a> Child class MUST override this to provide the form fields |
|
|
<BR> |
|
|
<SPAN CLASS="font10bold">Description : </SPAN> |
|
|
This method is called by the StandardFormContent object to allow you to build the 'blocks' of fields you want to display. Each form block will live inside a fieldset tag with the a title. |
|
|
<br /> |
|
|
<p>In this example we have 2 form 'blocks'.</p> |
|
|
<DL> |
|
|
|
|
|
<DT class="font10bold">Function Info:</DT> |
|
|
</DL> |
|
|
</DIV> |
|
|
<BR> |
|
|
<DIV CLASS="function"> |
|
|
<A NAME='methodform_init_data'><!-- --></A> |
|
|
<SPAN CLASS="font12bold">form_init_data</SPAN> (line <span class="linenumber">108</span>) |
|
|
<BR> |
|
|
<SPAN CLASS="font10bold">Usage : </SPAN> |
|
|
<span class="font10bold" style="color: #FF0000">void</SPAN> |
|
|
<span class="font10bold" style="color: #0000FF">form_init_data( |
|
|
)</SPAN> |
|
|
<BR> |
|
|
|
|
|
<BR> |
|
|
<SPAN CLASS="font10bold">Description : </SPAN> |
|
|
This method is called only the first time the form page is hit. |
|
|
<br /> |
|
|
|
|
|
<DL> |
|
|
|
|
|
<DT class="font10bold">Function Info:</DT> |
|
|
</DL> |
|
|
</DIV> |
|
|
<BR> |
|
|
<DIV CLASS="function"> |
|
|
<A NAME='methodform_init_elements'><!-- --></A> |
|
|
<SPAN CLASS="font12bold">form_init_elements</SPAN> (line <span class="linenumber">76</span>) |
|
|
<BR> |
|
|
<SPAN CLASS="font10bold">Usage : </SPAN> |
|
|
<span class="font10bold" style="color: #FF0000">void</SPAN> |
|
|
<span class="font10bold" style="color: #0000FF">form_init_elements( |
|
|
)</SPAN> |
|
|
<BR> |
|
|
|
|
|
<BR> |
|
|
<SPAN CLASS="font10bold">Description : </SPAN> |
|
|
This method gets called EVERY time the object is |
|
|
<br /> |
|
|
<p>created</p> |
|
|
<DL> |
|
|
|
|
|
<DT class="font10bold">Function Info:</DT> |
|
|
</DL> |
|
|
</DIV> |
|
|
<BR> |
|
|
<DIV CLASS="function"> |
|
|
<A NAME='method_optional_info'><!-- --></A> |
|
|
<SPAN CLASS="font12bold">_optional_info</SPAN> (line <span class="linenumber">164</span>) |
|
|
<BR> |
|
|
<SPAN CLASS="font10bold">Usage : </SPAN> |
|
|
<span class="font10bold" style="color: #FF0000">void</SPAN> |
|
|
<span class="font10bold" style="color: #0000FF">&_optional_info( |
|
|
)</SPAN> |
|
|
<BR> |
|
|
|
|
|
<BR> |
|
|
<SPAN CLASS="font10bold">Description : </SPAN> |
|
|
This private method builds the table that holds |
|
|
<br /> |
|
|
<p>the 'optional' form fields'</p> |
|
|
<DL> |
|
|
|
|
|
<DT class="font10bold">Function Info:</DT> |
|
|
</DL> |
|
|
</DIV> |
|
|
<BR> |
|
|
<DIV CLASS="function"> |
|
|
<A NAME='method_user_info'><!-- --></A> |
|
|
<SPAN CLASS="font12bold">_user_info</SPAN> (line <span class="linenumber">142</span>) |
|
|
<BR> |
|
|
<SPAN CLASS="font10bold">Usage : </SPAN> |
|
|
<span class="font10bold" style="color: #FF0000">void</SPAN> |
|
|
<span class="font10bold" style="color: #0000FF">&_user_info( |
|
|
)</SPAN> |
|
|
<BR> |
|
|
|
|
|
<BR> |
|
|
<SPAN CLASS="font10bold">Description : </SPAN> |
|
|
This private method builds the table that holds |
|
|
<br /> |
|
|
<p>the 'user' form fields'</p> |
|
|
<DL> |
|
|
|
|
|
<DT class="font10bold">Function Info:</DT> |
|
|
</DL> |
|
|
</DIV> |
|
|
<BR> |
|
|
<div id="credit"> |
|
|
<hr> |
|
|
Documention generated on Thu, 20 Feb 2003 16:22:51 -0800 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.2.0rc1</a> |
|
444 |
</div> |
</div> |
445 |
</body> |
|
446 |
|
<p class="notes" id="credit"> |
447 |
|
Documention generated on Thu, 31 Jul 2003 18:32:41 -0700 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.2.0</a> |
448 |
|
</p> |
449 |
|
</div></body> |
450 |
</html> |
</html> |