1 |
jonen |
1.2 |
<?xml version="1.0" encoding="iso-8859-1"?> |
2 |
|
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
3 |
|
|
<html xmlns="http://www.w3.org/1999/xhtml"> |
4 |
|
|
<head> |
5 |
|
|
<!-- template designed by Marco Von Ballmoos --> |
6 |
|
|
<title>Docs For Class FEConfirmPassword</title> |
7 |
|
|
<link rel="stylesheet" href="../../media/stylesheet.css" /> |
8 |
|
|
<meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1'/> |
9 |
|
|
</head> |
10 |
|
|
<body> |
11 |
|
|
<div class="page-body"> |
12 |
|
|
<h2 class="class-name">Class FEConfirmPassword</h2> |
13 |
|
|
|
14 |
|
|
<a name="sec-description"></a> |
15 |
|
|
<div class="info-box"> |
16 |
|
|
<div class="info-box-title">Description</div> |
17 |
|
|
<div class="nav-bar"> |
18 |
|
|
<span class="disabled">Description</span> | |
19 |
|
|
<a href="#sec-var-summary">Vars</a> (<a href="#sec-vars">details</a>) |
20 |
|
|
| <a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>) |
21 |
|
|
|
22 |
|
|
</div> |
23 |
|
|
<div class="info-box-body"> |
24 |
|
|
<!-- ========== Info from phpDoc block ========= --> |
25 |
|
|
<p class="short-description">This is the ConfirmPassword FormElement which builds a input field of type="password". It requires the caller to add a FEPassword object to this class to have something to compare during validation time.</p> |
26 |
|
|
<p class="description"><p>It first validates that the value is_password(), and then makes sure it matches exactly what the value is in the FEPassword.</p><p>USE: after u create the FEConfirmPassword, you MUST call password() method which adds a reference to the FEPassword object, so it can validate against.</p></p> |
27 |
|
|
<ul class="tags"> |
28 |
|
|
<li><span class="field">copyright:</span> <p>LGPL - See LICENCE</p></li> |
29 |
|
|
<li><span class="field">author:</span> <p>Suren Markossian <<a href="mailto:suren@bcsweb.com">mailto:suren@bcsweb.com</a>></p></li> |
30 |
|
|
<li><span class="field">author:</span> <p>Walter A. Boring IV <<a href="mailto:waboring@buildabetterweb.com">mailto:waboring@buildabetterweb.com</a>></p></li> |
31 |
|
|
</ul> |
32 |
|
|
<p class="notes"> |
33 |
|
|
Located in <a class="field" href="_form_form_elements_FEPassword_inc.html">Program_Root/form/form_elements/FEPassword.inc</a> (line <span class="field">90</span>) |
34 |
|
|
</p> |
35 |
|
|
|
36 |
|
|
|
37 |
|
|
<pre><a href="../../phpHtmlLib/FormProcessing/FormElement.html">FormElement</a> |
38 |
jonen |
1.1 |
| |
39 |
|
|
--<a href="../../phpHtmlLib/FormProcessing/FEText.html">FEText</a> |
40 |
|
|
| |
41 |
|
|
--<a href="../../phpHtmlLib/FormProcessing/FEPassword.html">FEPassword</a> |
42 |
|
|
| |
43 |
|
|
--FEConfirmPassword</pre> |
44 |
jonen |
1.2 |
|
45 |
|
|
</div> |
46 |
|
|
</div> |
47 |
jonen |
1.1 |
|
48 |
|
|
|
49 |
jonen |
1.2 |
<a name="sec-var-summary"></a> |
50 |
|
|
<div class="info-box"> |
51 |
|
|
<div class="info-box-title">Variable Summary</span></div> |
52 |
|
|
<div class="nav-bar"> |
53 |
|
|
<a href="#sec-description">Description</a> | |
54 |
|
|
<span class="disabled">Vars</span> (<a href="#sec-vars">details</a>) |
55 |
|
|
| |
56 |
|
|
<a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>) |
57 |
|
|
|
58 |
|
|
</div> |
59 |
|
|
<div class="info-box-body"> |
60 |
|
|
<div class="var-summary"> |
61 |
|
|
<div class="var-title"> |
62 |
|
|
<span class="var-type">mixed</span> |
63 |
|
|
<a href="#$_fepassword" title="details" class="var-name">$_fepassword</a> |
64 |
|
|
</div> |
65 |
|
|
</div> |
66 |
|
|
</div> |
67 |
|
|
</div> |
68 |
jonen |
1.1 |
|
69 |
jonen |
1.2 |
<a name="sec-method-summary"></a> |
70 |
|
|
<div class="info-box"> |
71 |
|
|
<div class="info-box-title">Method Summary</span></div> |
72 |
|
|
<div class="nav-bar"> |
73 |
|
|
<a href="#sec-description">Description</a> | |
74 |
|
|
<a href="#sec-var-summary">Vars</a> (<a href="#sec-vars">details</a>) |
75 |
|
|
|
76 |
|
|
| |
77 |
|
|
<span class="disabled">Methods</span> (<a href="#sec-methods">details</a>) |
78 |
|
|
</div> |
79 |
|
|
<div class="info-box-body"> |
80 |
|
|
<div class="method-summary"> |
81 |
|
|
|
82 |
|
|
<div class="method-definition"> |
83 |
|
|
<span class="method-result">void</span> |
84 |
|
|
<a href="#password" title="details" class="method-name">password</a> |
85 |
|
|
(<span class="var-type"><a href="../../phpHtmlLib/FormProcessing/FEPassword.html">FEPassword</a></span> <span class="var-name">&$fepassword</span>) |
86 |
|
|
</div> |
87 |
|
|
|
88 |
|
|
<div class="method-definition"> |
89 |
|
|
<span class="method-result">void</span> |
90 |
|
|
<a href="#validate" title="details" class="method-name">validate</a> |
91 |
|
|
(<span class="var-type"><a href="../../phpHtmlLib/FormProcessing/FormValidation.html">FormValidation</a></span> <span class="var-name">&$_FormValidation</span>) |
92 |
|
|
</div> |
93 |
|
|
</div> |
94 |
|
|
</div> |
95 |
|
|
</div> |
96 |
|
|
|
97 |
|
|
<a name="sec-vars"></a> |
98 |
|
|
<div class="info-box"> |
99 |
|
|
<div class="info-box-title">Variables</div> |
100 |
|
|
<div class="nav-bar"> |
101 |
|
|
<a href="#sec-description">Description</a> | |
102 |
|
|
<a href="#sec-var-summary">Vars</a> (<span class="disabled">details</span>) |
103 |
|
|
|
104 |
|
|
|
105 |
|
|
| |
106 |
|
|
<a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>) |
107 |
|
|
|
108 |
|
|
</div> |
109 |
|
|
<div class="info-box-body"> |
110 |
|
|
<a name="var$_fepassword" id="$_fepassword"><!-- --></A> |
111 |
|
|
<div class="evenrow"> |
112 |
|
|
|
113 |
|
|
<div class="var-header"> |
114 |
|
|
<span class="var-title"> |
115 |
|
|
<span class="var-type">mixed</span> |
116 |
|
|
<span class="var-name">$_fepassword</span> |
117 |
|
|
= <span class="var-default"> NULL</span> (line <span class="line-number">96</span>) |
118 |
|
|
</span> |
119 |
|
|
</div> |
120 |
jonen |
1.1 |
|
121 |
jonen |
1.2 |
<!-- ========== Info from phpDoc block ========= --> |
122 |
|
|
<p class="short-description">This holds the FEPassword we are</p> |
123 |
|
|
<p class="description"><p>trying to confirm</p></p> |
124 |
|
|
|
125 |
|
|
|
126 |
|
|
|
127 |
|
|
|
128 |
jonen |
1.1 |
|
129 |
jonen |
1.2 |
</div> |
130 |
|
|
<h4>Inherited Variables</h4> |
131 |
|
|
<A NAME='inherited_vars'><!-- --></A> |
132 |
|
|
<p>Inherited from <span class="classname"><a href="../../phpHtmlLib/FormProcessing/FormElement.html">FormElement</a></span></p> |
133 |
|
|
<blockquote> |
134 |
|
|
<span class="var-title"> |
135 |
|
|
<span class="var-name"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#var$_attributes">FormElement::$_attributes</a></span><br> |
136 |
|
|
</span> |
137 |
|
|
<span class="var-title"> |
138 |
|
|
<span class="var-name"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#var$_element_name">FormElement::$_element_name</a></span><br> |
139 |
|
|
</span> |
140 |
|
|
<span class="var-title"> |
141 |
|
|
<span class="var-name"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#var$_errors">FormElement::$_errors</a></span><br> |
142 |
|
|
</span> |
143 |
|
|
<span class="var-title"> |
144 |
|
|
<span class="var-name"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#var$_error_message">FormElement::$_error_message</a></span><br> |
145 |
|
|
</span> |
146 |
|
|
<span class="var-title"> |
147 |
|
|
<span class="var-name"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#var$_form_name">FormElement::$_form_name</a></span><br> |
148 |
|
|
</span> |
149 |
|
|
<span class="var-title"> |
150 |
|
|
<span class="var-name"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#var$_has_error">FormElement::$_has_error</a></span><br> |
151 |
|
|
</span> |
152 |
|
|
<span class="var-title"> |
153 |
|
|
<span class="var-name"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#var$_is_disabled">FormElement::$_is_disabled</a></span><br> |
154 |
|
|
</span> |
155 |
|
|
<span class="var-title"> |
156 |
|
|
<span class="var-name"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#var$_is_required">FormElement::$_is_required</a></span><br> |
157 |
|
|
</span> |
158 |
|
|
<span class="var-title"> |
159 |
|
|
<span class="var-name"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#var$_label_text">FormElement::$_label_text</a></span><br> |
160 |
|
|
</span> |
161 |
|
|
<span class="var-title"> |
162 |
|
|
<span class="var-name"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#var$_stripslashes">FormElement::$_stripslashes</a></span><br> |
163 |
|
|
</span> |
164 |
|
|
<span class="var-title"> |
165 |
|
|
<span class="var-name"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#var$_style_attributes">FormElement::$_style_attributes</a></span><br> |
166 |
|
|
</span> |
167 |
|
|
<span class="var-title"> |
168 |
|
|
<span class="var-name"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#var$_value">FormElement::$_value</a></span><br> |
169 |
|
|
</span> |
170 |
|
|
</blockquote> |
171 |
|
|
|
172 |
|
|
</div> |
173 |
|
|
</div> |
174 |
|
|
|
175 |
|
|
<a name="sec-methods"></a> |
176 |
|
|
<div class="info-box"> |
177 |
|
|
<div class="info-box-title">Methods</div> |
178 |
|
|
<div class="nav-bar"> |
179 |
|
|
<a href="#sec-description">Description</a> | |
180 |
|
|
<a href="#sec-var-summary">Vars</a> (<a href="#sec-vars">details</a>) |
181 |
|
|
<a href="#sec-method-summary">Methods</a> (<span class="disabled">details</span>) |
182 |
|
|
|
183 |
|
|
</div> |
184 |
|
|
<div class="info-box-body"> |
185 |
|
|
<A NAME='method_detail'></A> |
186 |
|
|
<a name="methodpassword" id="password"><!-- --></a> |
187 |
|
|
<div class="oddrow"> |
188 |
|
|
|
189 |
|
|
<div class="method-header"> |
190 |
|
|
<span class="method-title">password</span> (line <span class="line-number">105</span>) |
191 |
|
|
</div> |
192 |
|
|
|
193 |
|
|
<!-- ========== Info from phpDoc block ========= --> |
194 |
|
|
<p class="short-description">use this function to add the FEPassword object that we want to confirm.</p> |
195 |
|
|
|
196 |
|
|
<div class="method-signature"> |
197 |
|
|
<span class="method-result">void</span> |
198 |
|
|
<span class="method-name"> |
199 |
|
|
password |
200 |
|
|
</span> |
201 |
|
|
(<span class="var-type"><a href="../../phpHtmlLib/FormProcessing/FEPassword.html">FEPassword</a></span> <span class="var-name">&$fepassword</span>) |
202 |
|
|
</div> |
203 |
|
|
|
204 |
|
|
<ul class="parameters"> |
205 |
|
|
<li> |
206 |
|
|
<span class="var-type"><a href="../../phpHtmlLib/FormProcessing/FEPassword.html">FEPassword</a></span> |
207 |
|
|
<span class="var-name">&$fepassword</span><span class="var-description">: <p>object</p></span> </li> |
208 |
|
|
</ul> |
209 |
|
|
|
210 |
|
|
|
211 |
|
|
</div> |
212 |
|
|
<a name="methodvalidate" id="validate"><!-- --></a> |
213 |
|
|
<div class="evenrow"> |
214 |
|
|
|
215 |
|
|
<div class="method-header"> |
216 |
|
|
<span class="method-title">validate</span> (line <span class="line-number">121</span>) |
217 |
|
|
</div> |
218 |
|
|
|
219 |
|
|
<!-- ========== Info from phpDoc block ========= --> |
220 |
|
|
<p class="short-description">This function performs the actual validation It is called only if the validation is required by this element</p> |
221 |
|
|
<p class="description"><p>This function is responsible for performing complete validation and setting the appropriate error message in case of a failed validation</p></p> |
222 |
|
|
|
223 |
|
|
<div class="method-signature"> |
224 |
|
|
<span class="method-result">void</span> |
225 |
|
|
<span class="method-name"> |
226 |
|
|
validate |
227 |
|
|
</span> |
228 |
|
|
(<span class="var-type"><a href="../../phpHtmlLib/FormProcessing/FormValidation.html">FormValidation</a></span> <span class="var-name">&$_FormValidation</span>) |
229 |
|
|
</div> |
230 |
|
|
|
231 |
|
|
<ul class="parameters"> |
232 |
|
|
<li> |
233 |
|
|
<span class="var-type"><a href="../../phpHtmlLib/FormProcessing/FormValidation.html">FormValidation</a></span> |
234 |
|
|
<span class="var-name">&$_FormValidation</span><span class="var-description">: <p>object</p></span> </li> |
235 |
|
|
</ul> |
236 |
|
|
|
237 |
|
|
<hr class="separator" /> |
238 |
|
|
<div class="notes">Redefinition of:</div> |
239 |
|
|
<dl> |
240 |
|
|
<dt><a href="../../phpHtmlLib/FormProcessing/FEPassword.html#methodvalidate">FEPassword::validate()</a></dt> |
241 |
|
|
<dd>This function performs the actual validation It is called only if the validation is required by this element</dd> |
242 |
|
|
</dl> |
243 |
|
|
|
244 |
|
|
</div> |
245 |
|
|
<h4>Inherited Methods</h4> |
246 |
|
|
<a name='inherited_methods'><!-- --></a> |
247 |
|
|
<!-- =========== Summary =========== --> |
248 |
|
|
<p>Inherited From <span class="classname"><a href="../../phpHtmlLib/FormProcessing/FEPassword.html">FEPassword</a></span></p> |
249 |
|
|
<blockquote> |
250 |
|
|
<span class="method-name"><a href="../../phpHtmlLib/FormProcessing/FEPassword.html#methodget_element">FEPassword::get_element()</a></span><br> |
251 |
|
|
<span class="method-name"><a href="../../phpHtmlLib/FormProcessing/FEPassword.html#methodvalidate">FEPassword::validate()</a></span><br> |
252 |
|
|
</blockquote> |
253 |
|
|
<!-- =========== Summary =========== --> |
254 |
|
|
<p>Inherited From <span class="classname"><a href="../../phpHtmlLib/FormProcessing/FEText.html">FEText</a></span></p> |
255 |
|
|
<blockquote> |
256 |
|
|
<span class="method-name"><a href="../../phpHtmlLib/FormProcessing/FEText.html#methodFEText">FEText::FEText()</a></span><br> |
257 |
|
|
<span class="method-name"><a href="../../phpHtmlLib/FormProcessing/FEText.html#methodget_element">FEText::get_element()</a></span><br> |
258 |
|
|
</blockquote> |
259 |
|
|
<!-- =========== Summary =========== --> |
260 |
|
|
<p>Inherited From <span class="classname"><a href="../../phpHtmlLib/FormProcessing/FormElement.html">FormElement</a></span></p> |
261 |
|
|
<blockquote> |
262 |
|
|
<span class="method-name"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#methodFormElement">FormElement::FormElement()</a></span><br> |
263 |
|
|
<span class="method-name"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#methodcreate_element_name">FormElement::create_element_name()</a></span><br> |
264 |
|
|
<span class="method-name"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#methodget_attribute">FormElement::get_attribute()</a></span><br> |
265 |
|
|
<span class="method-name"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#methodget_element">FormElement::get_element()</a></span><br> |
266 |
|
|
<span class="method-name"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#methodget_element_name">FormElement::get_element_name()</a></span><br> |
267 |
|
|
<span class="method-name"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#methodget_errors">FormElement::get_errors()</a></span><br> |
268 |
|
|
<span class="method-name"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#methodget_error_message">FormElement::get_error_message()</a></span><br> |
269 |
|
|
<span class="method-name"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#methodget_init_value">FormElement::get_init_value()</a></span><br> |
270 |
|
|
<span class="method-name"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#methodget_label">FormElement::get_label()</a></span><br> |
271 |
|
|
<span class="method-name"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#methodget_label_text">FormElement::get_label_text()</a></span><br> |
272 |
|
|
<span class="method-name"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#methodget_required_symbol">FormElement::get_required_symbol()</a></span><br> |
273 |
|
|
<span class="method-name"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#methodget_value">FormElement::get_value()</a></span><br> |
274 |
|
|
<span class="method-name"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#methodget_value_text">FormElement::get_value_text()</a></span><br> |
275 |
|
|
<span class="method-name"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#methodhas_error">FormElement::has_error()</a></span><br> |
276 |
|
|
<span class="method-name"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#methodis_disabled">FormElement::is_disabled()</a></span><br> |
277 |
|
|
<span class="method-name"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#methodis_required">FormElement::is_required()</a></span><br> |
278 |
|
|
<span class="method-name"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#methodjavascript">FormElement::javascript()</a></span><br> |
279 |
|
|
<span class="method-name"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#methodonBlur">FormElement::onBlur()</a></span><br> |
280 |
|
|
<span class="method-name"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#methodonChange">FormElement::onChange()</a></span><br> |
281 |
|
|
<span class="method-name"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#methodonClick">FormElement::onClick()</a></span><br> |
282 |
|
|
<span class="method-name"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#methodonFocus">FormElement::onFocus()</a></span><br> |
283 |
|
|
<span class="method-name"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#methodonSubmit">FormElement::onSubmit()</a></span><br> |
284 |
|
|
<span class="method-name"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#methodset_attribute">FormElement::set_attribute()</a></span><br> |
285 |
|
|
<span class="method-name"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#methodset_disabled">FormElement::set_disabled()</a></span><br> |
286 |
|
|
<span class="method-name"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#methodset_error_message">FormElement::set_error_message()</a></span><br> |
287 |
|
|
<span class="method-name"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#methodset_form_name">FormElement::set_form_name()</a></span><br> |
288 |
|
|
<span class="method-name"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#methodset_label_text">FormElement::set_label_text()</a></span><br> |
289 |
|
|
<span class="method-name"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#methodset_required">FormElement::set_required()</a></span><br> |
290 |
|
|
<span class="method-name"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#methodset_stripslashes">FormElement::set_stripslashes()</a></span><br> |
291 |
|
|
<span class="method-name"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#methodset_style_attribute">FormElement::set_style_attribute()</a></span><br> |
292 |
|
|
<span class="method-name"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#methodset_title">FormElement::set_title()</a></span><br> |
293 |
|
|
<span class="method-name"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#methodset_value">FormElement::set_value()</a></span><br> |
294 |
|
|
<span class="method-name"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#methodvalidate">FormElement::validate()</a></span><br> |
295 |
|
|
<span class="method-name"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#method_build_element_attributes">FormElement::_build_element_attributes()</a></span><br> |
296 |
|
|
<span class="method-name"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#method_build_javascript">FormElement::_build_javascript()</a></span><br> |
297 |
|
|
<span class="method-name"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#method_do_validation">FormElement::_do_validation()</a></span><br> |
298 |
|
|
</blockquote> |
299 |
|
|
|
300 |
|
|
</div> |
301 |
jonen |
1.1 |
</div> |
302 |
jonen |
1.2 |
|
303 |
|
|
<p class="notes" id="credit"> |
304 |
|
|
Documention generated on Thu, 31 Jul 2003 18:32:34 -0700 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.2.0</a> |
305 |
|
|
</p> |
306 |
|
|
</div></body> |
307 |
jonen |
1.1 |
</html> |