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 FEPassword</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 FEPassword</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-descendents">Descendents</a> |
20 |
|
|
| <a href="#sec-vars">Vars</a> |
21 |
|
|
| <a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>) |
22 |
|
|
|
23 |
|
|
</div> |
24 |
|
|
<div class="info-box-body"> |
25 |
|
|
<!-- ========== Info from phpDoc block ========= --> |
26 |
|
|
<p class="short-description">This is the Password FormElement which builds a input field of type="password". It validates the data as is_password().</p> |
27 |
|
|
<p class="description"><p>NOTE: this is used in conjunction with the FEConfirmPassword object to ensure the user's input is what they wanted.</p></p> |
28 |
|
|
<ul class="tags"> |
29 |
|
|
<li><span class="field">copyright:</span> <p>LGPL - See LICENCE</p></li> |
30 |
|
|
<li><span class="field">author:</span> <p>Suren Markossian <<a href="mailto:suren@bcsweb.com">mailto:suren@bcsweb.com</a>></p></li> |
31 |
|
|
<li><span class="field">author:</span> <p>Walter A. Boring IV <<a href="mailto:waboring@buildabetterweb.com">mailto:waboring@buildabetterweb.com</a>></p></li> |
32 |
|
|
</ul> |
33 |
|
|
<p class="notes"> |
34 |
|
|
Located in <a class="field" href="_form_form_elements_FEPassword_inc.html">Program_Root/form/form_elements/FEPassword.inc</a> (line <span class="field">33</span>) |
35 |
|
|
</p> |
36 |
|
|
|
37 |
|
|
|
38 |
|
|
<pre><a href="../../phpHtmlLib/FormProcessing/FormElement.html">FormElement</a> |
39 |
jonen |
1.1 |
| |
40 |
|
|
--<a href="../../phpHtmlLib/FormProcessing/FEText.html">FEText</a> |
41 |
|
|
| |
42 |
|
|
--FEPassword</pre> |
43 |
jonen |
1.2 |
|
44 |
|
|
</div> |
45 |
|
|
</div> |
46 |
|
|
|
47 |
|
|
<a name="sec-descendents"></a> |
48 |
|
|
<div class="info-box"> |
49 |
|
|
<div class="info-box-title">Direct descendents</div> |
50 |
|
|
<div class="nav-bar"> |
51 |
|
|
<a href="#sec-description">Description</a> | |
52 |
|
|
<span class="disabled">Descendents</span> |
53 |
|
|
| <a href="#sec-vars">Vars</a> |
54 |
|
|
| <a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>) |
55 |
|
|
|
56 |
|
|
</div> |
57 |
|
|
<div class="info-box-body"> |
58 |
|
|
<table cellpadding="2" cellspacing="0" class="class-table"> |
59 |
|
|
<tr> |
60 |
|
|
<th class="class-table-header">Class</th> |
61 |
|
|
<th class="class-table-header">Description</th> |
62 |
jonen |
1.1 |
</tr> |
63 |
|
|
<tr> |
64 |
jonen |
1.2 |
<td style="padding-right: 2em"><a href="../../phpHtmlLib/FormProcessing/FEConfirmPassword.html">FEConfirmPassword</a></td> |
65 |
|
|
<td> |
66 |
|
|
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. |
67 |
|
|
</td> |
68 |
jonen |
1.1 |
</tr> |
69 |
|
|
</table> |
70 |
jonen |
1.2 |
</div> |
71 |
|
|
</div> |
72 |
jonen |
1.1 |
|
73 |
|
|
|
74 |
jonen |
1.2 |
<a name="sec-method-summary"></a> |
75 |
|
|
<div class="info-box"> |
76 |
|
|
<div class="info-box-title">Method Summary</span></div> |
77 |
|
|
<div class="nav-bar"> |
78 |
|
|
<a href="#sec-description">Description</a> | |
79 |
|
|
<a href="#sec-descendents">Descendents</a> | |
80 |
|
|
<a href="#sec-vars">Vars</a> |
81 |
|
|
|
82 |
|
|
| |
83 |
|
|
<span class="disabled">Methods</span> (<a href="#sec-methods">details</a>) |
84 |
|
|
</div> |
85 |
|
|
<div class="info-box-body"> |
86 |
|
|
<div class="method-summary"> |
87 |
|
|
|
88 |
|
|
<div class="method-definition"> |
89 |
|
|
<span class="method-result">object</span> |
90 |
|
|
<a href="#get_element" title="details" class="method-name">get_element</a> |
91 |
|
|
() |
92 |
|
|
</div> |
93 |
|
|
|
94 |
|
|
<div class="method-definition"> |
95 |
|
|
<span class="method-result">void</span> |
96 |
|
|
<a href="#validate" title="details" class="method-name">validate</a> |
97 |
|
|
(<span class="var-type"><a href="../../phpHtmlLib/FormProcessing/FormValidation.html">FormValidation</a></span> <span class="var-name">&$_FormValidation</span>) |
98 |
|
|
</div> |
99 |
|
|
</div> |
100 |
|
|
</div> |
101 |
|
|
</div> |
102 |
|
|
|
103 |
|
|
<a name="sec-vars"></a> |
104 |
|
|
<div class="info-box"> |
105 |
|
|
<div class="info-box-title">Variables</div> |
106 |
|
|
<div class="nav-bar"> |
107 |
|
|
<a href="#sec-description">Description</a> | |
108 |
|
|
<a href="#sec-descendents">Descendents</a> | |
109 |
|
|
<a href="#sec-var-summary">Vars</a> (<span class="disabled">details</span>) |
110 |
|
|
|
111 |
|
|
|
112 |
|
|
| |
113 |
|
|
<a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>) |
114 |
|
|
|
115 |
|
|
</div> |
116 |
|
|
<div class="info-box-body"> |
117 |
|
|
<h4>Inherited Variables</h4> |
118 |
|
|
<A NAME='inherited_vars'><!-- --></A> |
119 |
|
|
<p>Inherited from <span class="classname"><a href="../../phpHtmlLib/FormProcessing/FormElement.html">FormElement</a></span></p> |
120 |
|
|
<blockquote> |
121 |
|
|
<span class="var-title"> |
122 |
|
|
<span class="var-name"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#var$_attributes">FormElement::$_attributes</a></span><br> |
123 |
|
|
</span> |
124 |
|
|
<span class="var-title"> |
125 |
|
|
<span class="var-name"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#var$_element_name">FormElement::$_element_name</a></span><br> |
126 |
|
|
</span> |
127 |
|
|
<span class="var-title"> |
128 |
|
|
<span class="var-name"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#var$_errors">FormElement::$_errors</a></span><br> |
129 |
|
|
</span> |
130 |
|
|
<span class="var-title"> |
131 |
|
|
<span class="var-name"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#var$_error_message">FormElement::$_error_message</a></span><br> |
132 |
|
|
</span> |
133 |
|
|
<span class="var-title"> |
134 |
|
|
<span class="var-name"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#var$_form_name">FormElement::$_form_name</a></span><br> |
135 |
|
|
</span> |
136 |
|
|
<span class="var-title"> |
137 |
|
|
<span class="var-name"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#var$_has_error">FormElement::$_has_error</a></span><br> |
138 |
|
|
</span> |
139 |
|
|
<span class="var-title"> |
140 |
|
|
<span class="var-name"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#var$_is_disabled">FormElement::$_is_disabled</a></span><br> |
141 |
|
|
</span> |
142 |
|
|
<span class="var-title"> |
143 |
|
|
<span class="var-name"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#var$_is_required">FormElement::$_is_required</a></span><br> |
144 |
|
|
</span> |
145 |
|
|
<span class="var-title"> |
146 |
|
|
<span class="var-name"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#var$_label_text">FormElement::$_label_text</a></span><br> |
147 |
|
|
</span> |
148 |
|
|
<span class="var-title"> |
149 |
|
|
<span class="var-name"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#var$_stripslashes">FormElement::$_stripslashes</a></span><br> |
150 |
|
|
</span> |
151 |
|
|
<span class="var-title"> |
152 |
|
|
<span class="var-name"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#var$_style_attributes">FormElement::$_style_attributes</a></span><br> |
153 |
|
|
</span> |
154 |
|
|
<span class="var-title"> |
155 |
|
|
<span class="var-name"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#var$_value">FormElement::$_value</a></span><br> |
156 |
|
|
</span> |
157 |
|
|
</blockquote> |
158 |
|
|
|
159 |
|
|
</div> |
160 |
|
|
</div> |
161 |
|
|
|
162 |
|
|
<a name="sec-methods"></a> |
163 |
|
|
<div class="info-box"> |
164 |
|
|
<div class="info-box-title">Methods</div> |
165 |
|
|
<div class="nav-bar"> |
166 |
|
|
<a href="#sec-description">Description</a> | |
167 |
|
|
<a href="#sec-descendents">Descendents</a> | |
168 |
|
|
<a href="#sec-vars">Vars</a> |
169 |
|
|
<a href="#sec-method-summary">Methods</a> (<span class="disabled">details</span>) |
170 |
|
|
|
171 |
|
|
</div> |
172 |
|
|
<div class="info-box-body"> |
173 |
|
|
<A NAME='method_detail'></A> |
174 |
|
|
<a name="methodget_element" id="get_element"><!-- --></a> |
175 |
|
|
<div class="oddrow"> |
176 |
|
|
|
177 |
|
|
<div class="method-header"> |
178 |
|
|
<span class="method-title">get_element</span> (line <span class="line-number">41</span>) |
179 |
|
|
</div> |
180 |
|
|
|
181 |
|
|
<!-- ========== Info from phpDoc block ========= --> |
182 |
|
|
<p class="short-description">This function builds and returns the form element object</p> |
183 |
|
|
|
184 |
|
|
<div class="method-signature"> |
185 |
|
|
<span class="method-result">object</span> |
186 |
|
|
<span class="method-name"> |
187 |
|
|
get_element |
188 |
|
|
</span> |
189 |
|
|
() |
190 |
|
|
</div> |
191 |
|
|
|
192 |
|
|
|
193 |
|
|
<hr class="separator" /> |
194 |
|
|
<div class="notes">Redefinition of:</div> |
195 |
|
|
<dl> |
196 |
|
|
<dt><a href="../../phpHtmlLib/FormProcessing/FEText.html#methodget_element">FEText::get_element()</a></dt> |
197 |
|
|
<dd>This function builds and returns the form element object</dd> |
198 |
|
|
</dl> |
199 |
|
|
|
200 |
|
|
</div> |
201 |
|
|
<a name="methodvalidate" id="validate"><!-- --></a> |
202 |
|
|
<div class="evenrow"> |
203 |
|
|
|
204 |
|
|
<div class="method-header"> |
205 |
|
|
<span class="method-title">validate</span> (line <span class="line-number">60</span>) |
206 |
|
|
</div> |
207 |
|
|
|
208 |
|
|
<!-- ========== Info from phpDoc block ========= --> |
209 |
|
|
<p class="short-description">This function performs the actual validation It is called only if the validation is required by this element</p> |
210 |
|
|
<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> |
211 |
|
|
|
212 |
|
|
<div class="method-signature"> |
213 |
|
|
<span class="method-result">void</span> |
214 |
|
|
<span class="method-name"> |
215 |
|
|
validate |
216 |
|
|
</span> |
217 |
|
|
(<span class="var-type"><a href="../../phpHtmlLib/FormProcessing/FormValidation.html">FormValidation</a></span> <span class="var-name">&$_FormValidation</span>) |
218 |
|
|
</div> |
219 |
|
|
|
220 |
|
|
<ul class="parameters"> |
221 |
|
|
<li> |
222 |
|
|
<span class="var-type"><a href="../../phpHtmlLib/FormProcessing/FormValidation.html">FormValidation</a></span> |
223 |
|
|
<span class="var-name">&$_FormValidation</span><span class="var-description">: <p>object</p></span> </li> |
224 |
|
|
</ul> |
225 |
|
|
|
226 |
|
|
<hr class="separator" /> |
227 |
|
|
<div class="notes">Redefinition of:</div> |
228 |
jonen |
1.1 |
<dl> |
229 |
jonen |
1.2 |
<dt><a href="../../phpHtmlLib/FormProcessing/FormElement.html#methodvalidate">FormElement::validate()</a></dt> |
230 |
|
|
<dd>This function performs the actual validation It is called only if the validation is required by this element</dd> |
231 |
|
|
</dl> |
232 |
|
|
|
233 |
|
|
<hr class="separator" /> |
234 |
|
|
<div class="notes">Redefined in descendants as:</div> |
235 |
|
|
<ul class="redefinitions"> |
236 |
|
|
<li> |
237 |
|
|
<a href="../../phpHtmlLib/FormProcessing/FEConfirmPassword.html#methodvalidate">FEConfirmPassword::validate()</a> |
238 |
|
|
: This function performs the actual validation It is called only if the validation is required by this element |
239 |
|
|
</li> |
240 |
|
|
</ul> |
241 |
|
|
</div> |
242 |
|
|
<h4>Inherited Methods</h4> |
243 |
|
|
<a name='inherited_methods'><!-- --></a> |
244 |
|
|
<!-- =========== Summary =========== --> |
245 |
|
|
<p>Inherited From <span class="classname"><a href="../../phpHtmlLib/FormProcessing/FEText.html">FEText</a></span></p> |
246 |
|
|
<blockquote> |
247 |
|
|
<span class="method-name"><a href="../../phpHtmlLib/FormProcessing/FEText.html#methodFEText">FEText::FEText()</a></span><br> |
248 |
|
|
<span class="method-name"><a href="../../phpHtmlLib/FormProcessing/FEText.html#methodget_element">FEText::get_element()</a></span><br> |
249 |
|
|
</blockquote> |
250 |
|
|
<!-- =========== Summary =========== --> |
251 |
|
|
<p>Inherited From <span class="classname"><a href="../../phpHtmlLib/FormProcessing/FormElement.html">FormElement</a></span></p> |
252 |
|
|
<blockquote> |
253 |
|
|
<span class="method-name"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#methodFormElement">FormElement::FormElement()</a></span><br> |
254 |
|
|
<span class="method-name"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#methodcreate_element_name">FormElement::create_element_name()</a></span><br> |
255 |
|
|
<span class="method-name"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#methodget_attribute">FormElement::get_attribute()</a></span><br> |
256 |
|
|
<span class="method-name"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#methodget_element">FormElement::get_element()</a></span><br> |
257 |
|
|
<span class="method-name"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#methodget_element_name">FormElement::get_element_name()</a></span><br> |
258 |
|
|
<span class="method-name"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#methodget_errors">FormElement::get_errors()</a></span><br> |
259 |
|
|
<span class="method-name"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#methodget_error_message">FormElement::get_error_message()</a></span><br> |
260 |
|
|
<span class="method-name"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#methodget_init_value">FormElement::get_init_value()</a></span><br> |
261 |
|
|
<span class="method-name"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#methodget_label">FormElement::get_label()</a></span><br> |
262 |
|
|
<span class="method-name"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#methodget_label_text">FormElement::get_label_text()</a></span><br> |
263 |
|
|
<span class="method-name"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#methodget_required_symbol">FormElement::get_required_symbol()</a></span><br> |
264 |
|
|
<span class="method-name"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#methodget_value">FormElement::get_value()</a></span><br> |
265 |
|
|
<span class="method-name"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#methodget_value_text">FormElement::get_value_text()</a></span><br> |
266 |
|
|
<span class="method-name"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#methodhas_error">FormElement::has_error()</a></span><br> |
267 |
|
|
<span class="method-name"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#methodis_disabled">FormElement::is_disabled()</a></span><br> |
268 |
|
|
<span class="method-name"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#methodis_required">FormElement::is_required()</a></span><br> |
269 |
|
|
<span class="method-name"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#methodjavascript">FormElement::javascript()</a></span><br> |
270 |
|
|
<span class="method-name"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#methodonBlur">FormElement::onBlur()</a></span><br> |
271 |
|
|
<span class="method-name"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#methodonChange">FormElement::onChange()</a></span><br> |
272 |
|
|
<span class="method-name"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#methodonClick">FormElement::onClick()</a></span><br> |
273 |
|
|
<span class="method-name"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#methodonFocus">FormElement::onFocus()</a></span><br> |
274 |
|
|
<span class="method-name"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#methodonSubmit">FormElement::onSubmit()</a></span><br> |
275 |
|
|
<span class="method-name"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#methodset_attribute">FormElement::set_attribute()</a></span><br> |
276 |
|
|
<span class="method-name"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#methodset_disabled">FormElement::set_disabled()</a></span><br> |
277 |
|
|
<span class="method-name"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#methodset_error_message">FormElement::set_error_message()</a></span><br> |
278 |
|
|
<span class="method-name"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#methodset_form_name">FormElement::set_form_name()</a></span><br> |
279 |
|
|
<span class="method-name"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#methodset_label_text">FormElement::set_label_text()</a></span><br> |
280 |
|
|
<span class="method-name"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#methodset_required">FormElement::set_required()</a></span><br> |
281 |
|
|
<span class="method-name"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#methodset_stripslashes">FormElement::set_stripslashes()</a></span><br> |
282 |
|
|
<span class="method-name"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#methodset_style_attribute">FormElement::set_style_attribute()</a></span><br> |
283 |
|
|
<span class="method-name"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#methodset_title">FormElement::set_title()</a></span><br> |
284 |
|
|
<span class="method-name"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#methodset_value">FormElement::set_value()</a></span><br> |
285 |
|
|
<span class="method-name"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#methodvalidate">FormElement::validate()</a></span><br> |
286 |
|
|
<span class="method-name"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#method_build_element_attributes">FormElement::_build_element_attributes()</a></span><br> |
287 |
|
|
<span class="method-name"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#method_build_javascript">FormElement::_build_javascript()</a></span><br> |
288 |
|
|
<span class="method-name"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#method_do_validation">FormElement::_do_validation()</a></span><br> |
289 |
|
|
</blockquote> |
290 |
|
|
|
291 |
|
|
</div> |
292 |
|
|
</div> |
293 |
|
|
|
294 |
|
|
<p class="notes" id="credit"> |
295 |
|
|
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> |
296 |
jonen |
1.1 |
</p> |
297 |
jonen |
1.2 |
</div></body> |
298 |
jonen |
1.1 |
</html> |