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:44 -0800' --> |
<!-- template designed by Marco Von Ballmoos --> |
6 |
<TITLE>Docs For Class FEConfirmPassword</TITLE> |
<title>Docs For Class FEConfirmPassword</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 FEConfirmPassword</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 FEConfirmPassword">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-var-summary">Vars</a> (<a href="#sec-vars">details</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">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 |
<BR> |
<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 |
<!-- Start of Class Data --> |
<ul class="tags"> |
28 |
<H2> |
<li><span class="field">copyright:</span> <p>LGPL - See LICENCE</p></li> |
29 |
Class FEConfirmPassword |
<li><span class="field">author:</span> <p>Suren Markossian <<a href="mailto:suren@bcsweb.com">mailto:suren@bcsweb.com</a>></p></li> |
30 |
</H2> (line <span class="linenumber">90</span>) |
<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 |
<pre> |
</ul> |
32 |
<a href="../../phpHtmlLib/FormProcessing/FormElement.html">FormElement</a> |
<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 |
| |
| |
39 |
--<a href="../../phpHtmlLib/FormProcessing/FEText.html">FEText</a> |
--<a href="../../phpHtmlLib/FormProcessing/FEText.html">FEText</a> |
40 |
| |
| |
41 |
--<a href="../../phpHtmlLib/FormProcessing/FEPassword.html">FEPassword</a> |
--<a href="../../phpHtmlLib/FormProcessing/FEPassword.html">FEPassword</a> |
42 |
| |
| |
43 |
--FEConfirmPassword</pre> |
--FEConfirmPassword</pre> |
44 |
<p> |
|
45 |
<b><i>Located in File: Program_Root/form/form_elements/FEPassword.inc</i></b><br> |
</div> |
46 |
</p> |
</div> |
|
<hr> |
|
|
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. |
|
|
<br /> |
|
|
<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> |
|
|
<UL> |
|
|
<LI><b>copyright</b> - <CODE>LGPL - See LICENCE</CODE></LI> |
|
|
<LI><b>author</b> - <CODE>Suren Markossian <<a href="mailto:suren@bcsweb.com">mailto:suren@bcsweb.com</a>></CODE></LI> |
|
|
<LI><b>author</b> - <CODE>Walter A. Boring IV <<a href="mailto:waboring@buildabetterweb.com">mailto:waboring@buildabetterweb.com</a>></CODE></LI> |
|
|
</UL> |
|
|
<hr> |
|
|
<!-- =========== VAR SUMMARY =========== --> |
|
|
<A NAME='var_summary'><!-- --></A> |
|
|
<TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='100%' CLASS="border"> |
|
|
<TR BGCOLOR='#CCCCFF' CLASS='TableHeadingColor'> |
|
|
<TD> |
|
|
<span CLASS="font12bold">Class Variable Summary</span> |
|
|
<A HREF="#top" CLASS="links">^TOP</A> |
|
|
</TD> |
|
|
</TR> |
|
|
|
|
|
<!-- =========== Summary =========== --> |
|
|
<TR BGCOLOR='white' CLASS='TableRowColor'> |
|
|
<TD> |
|
|
<CODE><B><A HREF="../../phpHtmlLib/FormProcessing/FEConfirmPassword.html#var$_fepassword">$_fepassword</A></B></CODE> |
|
|
<BR> |
|
|
<blockquote> This holds the FEPassword we are </blockquote> |
|
|
<blockquote> Default Value: <CODE>-> NULL<-</CODE> </blockquote> |
|
|
</TD> |
|
|
</TR> |
|
|
</TABLE> |
|
|
<hr> |
|
|
<!-- =========== VAR INHERITED SUMMARY =========== --> |
|
|
<A NAME='var_inherited_summary'><!-- --></A> |
|
|
<TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='100%' CLASS="border"> |
|
|
<TR BGCOLOR='#CCCCFF' CLASS='TableHeadingColor'> |
|
|
<TD> |
|
|
<span CLASS="font12bold">Inherited Class Variable Summary</span> |
|
|
<A HREF="#top" CLASS="links">^TOP</A> |
|
|
</TD> |
|
|
</TR> |
|
|
|
|
|
<!-- =========== Summary =========== --> |
|
|
<TR BGCOLOR='white'> |
|
|
<TD> |
|
|
<span CLASS="font10bold">Inherited From Class <a href="../../phpHtmlLib/FormProcessing/FormElement.html">FormElement</a></span> |
|
|
<table CELLPADDING='3' CELLSPACING='0' WIDTH='95%' CLASS="border" ALIGN="center"> |
|
|
<tr CLASS="tableheadingcolor"> |
|
|
<th>Variable</th> |
|
|
<th>Default Value</th> |
|
|
<th>Description</th> |
|
|
</tr> |
|
|
<tr> |
|
|
<td CLASS="font10bold"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#var$_attributes">FormElement::$_attributes</a></td> |
|
|
<td CLASS="font10" STYLE="white-space: nowrap">-><-</td> |
|
|
<td CLASS="font10">Holds additional attributes for</td> |
|
|
</tr> |
|
|
<tr> |
|
|
<td CLASS="font10bold"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#var$_element_name">FormElement::$_element_name</a></td> |
|
|
<td CLASS="font10" STYLE="white-space: nowrap">-> NULL<-</td> |
|
|
<td CLASS="font10">Holds the name of the element</td> |
|
|
</tr> |
|
|
<tr> |
|
|
<td CLASS="font10bold"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#var$_error_message">FormElement::$_error_message</a></td> |
|
|
<td CLASS="font10" STYLE="white-space: nowrap">-> NULL<-</td> |
|
|
<td CLASS="font10">Holds the error message text</td> |
|
|
</tr> |
|
|
<tr> |
|
|
<td CLASS="font10bold"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#var$_has_error">FormElement::$_has_error</a></td> |
|
|
<td CLASS="font10" STYLE="white-space: nowrap">-> FALSE<-</td> |
|
|
<td CLASS="font10">Holds the state of the last validation</td> |
|
|
</tr> |
|
|
<tr> |
|
|
<td CLASS="font10bold"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#var$_is_disabled">FormElement::$_is_disabled</a></td> |
|
|
<td CLASS="font10" STYLE="white-space: nowrap">-> FALSE<-</td> |
|
|
<td CLASS="font10">Indicates a disabled element</td> |
|
|
</tr> |
|
|
<tr> |
|
|
<td CLASS="font10bold"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#var$_is_required">FormElement::$_is_required</a></td> |
|
|
<td CLASS="font10" STYLE="white-space: nowrap">-> TRUE<-</td> |
|
|
<td CLASS="font10">Indicates whether this elements</td> |
|
|
</tr> |
|
|
<tr> |
|
|
<td CLASS="font10bold"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#var$_label_text">FormElement::$_label_text</a></td> |
|
|
<td CLASS="font10" STYLE="white-space: nowrap">-> NULL<-</td> |
|
|
<td CLASS="font10">Holds the elements label text</td> |
|
|
</tr> |
|
|
<tr> |
|
|
<td CLASS="font10bold"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#var$_style_attributes">FormElement::$_style_attributes</a></td> |
|
|
<td CLASS="font10" STYLE="white-space: nowrap">-><-</td> |
|
|
<td CLASS="font10">Holds additional style attributes for</td> |
|
|
</tr> |
|
|
<tr> |
|
|
<td CLASS="font10bold"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#var$_value">FormElement::$_value</a></td> |
|
|
<td CLASS="font10" STYLE="white-space: nowrap">-> NULL<-</td> |
|
|
<td CLASS="font10">Holds the elements initial value</td> |
|
|
</tr> |
|
|
</table> |
|
|
<BR> |
|
|
</TD> |
|
|
</TR> |
|
|
</TABLE> |
|
|
|
|
|
<hr> |
|
|
<!-- =========== METHOD SUMMARY =========== --> |
|
|
<A NAME='method_summary'><!-- --></A> |
|
|
<TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='100%' Class="border"> |
|
|
<TR BGCOLOR='#CCCCFF' CLASS='TableHeadingColor'> |
|
|
<TD> |
|
|
<span class="font12bold">Method Summary</span> |
|
|
<A HREF="#top" CLASS="links">^TOP</A> |
|
|
</TD> |
|
|
</TR> |
|
|
|
|
|
<!-- =========== Summary =========== --> |
|
|
<TR BGCOLOR='white' CLASS='TableRowColor'> |
|
|
<TD> |
|
|
<CODE><B><A HREF='../../phpHtmlLib/FormProcessing/FEConfirmPassword.html#methodpassword'>void password ( &$fepassword )</A></B></CODE> |
|
|
<BR> |
|
|
<blockquote> use this function to add the FEPassword object that we want to confirm. </blockquote> |
|
|
</TD> |
|
|
</TR> |
|
|
<!-- =========== Summary =========== --> |
|
|
<TR BGCOLOR='white' CLASS='TableRowColor'> |
|
|
<TD> |
|
|
<CODE><B><A HREF='../../phpHtmlLib/FormProcessing/FEConfirmPassword.html#methodvalidate'>void validate ( )</A></B></CODE> |
|
|
<BR> |
|
|
<blockquote> This function performs the actual validation It is called only if the validation is required by this element </blockquote> |
|
|
</TD> |
|
|
</TR> |
|
|
</TABLE> |
|
|
<!-- =========== INHERITED METHOD SUMMARY =========== --> |
|
|
<A NAME='functions_inherited'><!-- --></A> |
|
|
<TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='100%' CLASS="border"> |
|
|
<TR BGCOLOR='#CCCCFF' CLASS='TableHeadingColor'> |
|
|
<TD> |
|
|
<span CLASS="font12bold">Inherited Method Summary</span> |
|
|
<A HREF="#top" CLASS="links">^TOP</A> |
|
|
</TD> |
|
|
</TR> |
|
|
|
|
|
<!-- =========== Summary =========== --> |
|
|
<TR BGCOLOR='white' CLASS='TableRowColor'> |
|
|
<TD> |
|
|
<span CLASS="font10bold">Inherited From Class <a href="../../phpHtmlLib/FormProcessing/FEPassword.html">FEPassword</a></span> |
|
|
<TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='95%' CLASS="border" ALIGN="center"> |
|
|
<tr CLASS="tableheadingcolor"> |
|
|
<th>Function</th> |
|
|
<th>Description</th> |
|
|
</tr> |
|
|
<tr> |
|
|
<td CLASS="font10bold"><a href="../../phpHtmlLib/FormProcessing/FEPassword.html#methodget_element">FEPassword::get_element()</a></td> |
|
|
<td CLASS="font10">This function builds and returns the form element object</td> |
|
|
<tr> |
|
|
<td CLASS="font10bold"><a href="../../phpHtmlLib/FormProcessing/FEPassword.html#methodvalidate">FEPassword::validate()</a></td> |
|
|
<td CLASS="font10">This function performs the actual validation It is called only if the validation is required by this element</td> |
|
|
</table> |
|
|
<br> |
|
|
</TD> |
|
|
</TR> |
|
|
<!-- =========== Summary =========== --> |
|
|
<TR BGCOLOR='white' CLASS='TableRowColor'> |
|
|
<TD> |
|
|
<span CLASS="font10bold">Inherited From Class <a href="../../phpHtmlLib/FormProcessing/FEText.html">FEText</a></span> |
|
|
<TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='95%' CLASS="border" ALIGN="center"> |
|
|
<tr CLASS="tableheadingcolor"> |
|
|
<th>Function</th> |
|
|
<th>Description</th> |
|
|
</tr> |
|
|
<tr> |
|
|
<td CLASS="font10bold"><a href="../../phpHtmlLib/FormProcessing/FEText.html#methodFEText">FEText::FEText()</a></td> |
|
|
<td CLASS="font10">The constructor</td> |
|
|
<tr> |
|
|
<td CLASS="font10bold"><a href="../../phpHtmlLib/FormProcessing/FEText.html#methodget_element">FEText::get_element()</a></td> |
|
|
<td CLASS="font10">This function builds and returns the form element object</td> |
|
|
</table> |
|
|
<br> |
|
|
</TD> |
|
|
</TR> |
|
|
<!-- =========== Summary =========== --> |
|
|
<TR BGCOLOR='white' CLASS='TableRowColor'> |
|
|
<TD> |
|
|
<span CLASS="font10bold">Inherited From Class <a href="../../phpHtmlLib/FormProcessing/FormElement.html">FormElement</a></span> |
|
|
<TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='95%' CLASS="border" ALIGN="center"> |
|
|
<tr CLASS="tableheadingcolor"> |
|
|
<th>Function</th> |
|
|
<th>Description</th> |
|
|
</tr> |
|
|
<tr> |
|
|
<td CLASS="font10bold"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#methodFormElement">FormElement::FormElement()</a></td> |
|
|
<td CLASS="font10">The constructor</td> |
|
|
<tr> |
|
|
<td CLASS="font10bold"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#methodcreate_element_name">FormElement::create_element_name()</a></td> |
|
|
<td CLASS="font10">This function creates element name</td> |
|
|
<tr> |
|
|
<td CLASS="font10bold"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#methodget_attribute">FormElement::get_attribute()</a></td> |
|
|
<td CLASS="font10">return a single attribute</td> |
|
|
<tr> |
|
|
<td CLASS="font10bold"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#methodget_element">FormElement::get_element()</a></td> |
|
|
<td CLASS="font10">This function builds and returns the form element object</td> |
|
|
<tr> |
|
|
<td CLASS="font10bold"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#methodget_element_name">FormElement::get_element_name()</a></td> |
|
|
<td CLASS="font10">Returns the element name to be used in the form</td> |
|
|
<tr> |
|
|
<td CLASS="font10bold"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#methodget_error_message">FormElement::get_error_message()</a></td> |
|
|
<td CLASS="font10">Returns the current error message if any</td> |
|
|
<tr> |
|
|
<td CLASS="font10bold"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#methodget_init_value">FormElement::get_init_value()</a></td> |
|
|
<td CLASS="font10">This returns the initial value of the element</td> |
|
|
<tr> |
|
|
<td CLASS="font10bold"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#methodget_label">FormElement::get_label()</a></td> |
|
|
<td CLASS="font10">This function builds and returns a label object based on the label text and error conditions</td> |
|
|
<tr> |
|
|
<td CLASS="font10bold"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#methodget_label_text">FormElement::get_label_text()</a></td> |
|
|
<td CLASS="font10">This function will return the elements label text</td> |
|
|
<tr> |
|
|
<td CLASS="font10bold"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#methodget_required_symbol">FormElement::get_required_symbol()</a></td> |
|
|
<td CLASS="font10">This function return the symbol used to denote a required field</td> |
|
|
<tr> |
|
|
<td CLASS="font10bold"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#methodget_value">FormElement::get_value()</a></td> |
|
|
<td CLASS="font10">This function will return the elements value</td> |
|
|
<tr> |
|
|
<td CLASS="font10bold"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#methodget_value_text">FormElement::get_value_text()</a></td> |
|
|
<td CLASS="font10">This provides a method</td> |
|
|
<tr> |
|
|
<td CLASS="font10bold"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#methodhas_error">FormElement::has_error()</a></td> |
|
|
<td CLASS="font10">Returns the current error state</td> |
|
|
<tr> |
|
|
<td CLASS="font10bold"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#methodis_disabled">FormElement::is_disabled()</a></td> |
|
|
<td CLASS="font10">Returns the elements disabled state</td> |
|
|
<tr> |
|
|
<td CLASS="font10bold"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#methodis_required">FormElement::is_required()</a></td> |
|
|
<td CLASS="font10">Returns whether this elements final value cannot be empty</td> |
|
|
<tr> |
|
|
<td CLASS="font10bold"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#methodonBlur">FormElement::onBlur()</a></td> |
|
|
<td CLASS="font10">This function return the javaScript code for an onBlur event</td> |
|
|
<tr> |
|
|
<td CLASS="font10bold"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#methodonClick">FormElement::onClick()</a></td> |
|
|
<td CLASS="font10">This function return the javaScript code for an onClick event</td> |
|
|
<tr> |
|
|
<td CLASS="font10bold"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#methodonFocus">FormElement::onFocus()</a></td> |
|
|
<td CLASS="font10">This function return the javaScript code for an onFocus event</td> |
|
|
<tr> |
|
|
<td CLASS="font10bold"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#methodonSubmit">FormElement::onSubmit()</a></td> |
|
|
<td CLASS="font10">This function return the javaScript code for an onSubmit event</td> |
|
|
<tr> |
|
|
<td CLASS="font10bold"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#methodset_attribute">FormElement::set_attribute()</a></td> |
|
|
<td CLASS="font10">add a single attribute (name="value")</td> |
|
|
<tr> |
|
|
<td CLASS="font10bold"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#methodset_disabled">FormElement::set_disabled()</a></td> |
|
|
<td CLASS="font10">Sets the disabled element flag</td> |
|
|
<tr> |
|
|
<td CLASS="font10bold"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#methodset_error_message">FormElement::set_error_message()</a></td> |
|
|
<td CLASS="font10">Defines error message text and sets the error flag to true</td> |
|
|
<tr> |
|
|
<td CLASS="font10bold"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#methodset_label_text">FormElement::set_label_text()</a></td> |
|
|
<td CLASS="font10">This function will set the label for the element</td> |
|
|
<tr> |
|
|
<td CLASS="font10bold"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#methodset_required">FormElement::set_required()</a></td> |
|
|
<td CLASS="font10">This function set the elements required state</td> |
|
|
<tr> |
|
|
<td CLASS="font10bold"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#methodset_style_attribute">FormElement::set_style_attribute()</a></td> |
|
|
<td CLASS="font10">Sets elements css attribute</td> |
|
|
<tr> |
|
|
<td CLASS="font10bold"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#methodset_title">FormElement::set_title()</a></td> |
|
|
<td CLASS="font10">Sets elements title text</td> |
|
|
<tr> |
|
|
<td CLASS="font10bold"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#methodset_value">FormElement::set_value()</a></td> |
|
|
<td CLASS="font10">This function will set the initial value for the element</td> |
|
|
<tr> |
|
|
<td CLASS="font10bold"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#methodvalidate">FormElement::validate()</a></td> |
|
|
<td CLASS="font10">This function performs the actual validation It is called only if the validation is required by this element</td> |
|
|
<tr> |
|
|
<td CLASS="font10bold"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#method_build_element_attributes">FormElement::_build_element_attributes()</a></td> |
|
|
<td CLASS="font10">This function builds the element form attributes</td> |
|
|
<tr> |
|
|
<td CLASS="font10bold"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#method_build_javascript">FormElement::_build_javascript()</a></td> |
|
|
<td CLASS="font10">This function builds the complete javaScript events code for the element</td> |
|
|
<tr> |
|
|
<td CLASS="font10bold"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#method_do_validation">FormElement::_do_validation()</a></td> |
|
|
<td CLASS="font10">This function checks if the validation</td> |
|
|
</table> |
|
|
<br> |
|
|
</TD> |
|
|
</TR> |
|
|
</TABLE> |
|
|
<hr> |
|
|
<!-- ============ VARIABLE DETAIL =========== --> |
|
|
|
|
|
<A NAME='variable_detail'></A> |
|
|
<TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='100%' CLASS="border"> |
|
|
<TR BGCOLOR='#CCCCFF' CLASS='TableHeadingColor'> |
|
|
<TD> |
|
|
<span CLASS="font12bold">Variable Detail</span> |
|
|
<A HREF="#top" CLASS="links">^TOP</A> |
|
|
</TD> |
|
|
</TR> |
|
|
</TABLE> |
|
|
|
|
|
<A NAME='var$_fepassword'><!-- --></A><H3>$_fepassword</H3> (line <span class="linenumber">96</span>)<br /> |
|
|
<b>Data type:</b> mixed<br>This holds the FEPassword we are |
|
|
<br /> |
|
|
<p>trying to confirm</p> |
|
|
<UL> |
|
|
</UL> |
|
|
<HR> |
|
|
<hr> |
|
|
<!-- ============ METHOD DETAIL =========== --> |
|
47 |
|
|
|
<A NAME='method_detail'></A> |
|
|
<TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='100%' CLASS="border"> |
|
|
<TR BGCOLOR='#CCCCFF' CLASS='TableHeadingColor'> |
|
|
<TD> |
|
|
<span class="font12bold">Method Detail</span> |
|
|
<A HREF="#top" CLASS="links">^TOP</A> |
|
|
</TD> |
|
|
</TR> |
|
|
</TABLE> |
|
|
<BR> |
|
|
<DIV CLASS="function"> |
|
|
<A NAME='methodpassword'><!-- --></A> |
|
|
<SPAN CLASS="font12bold">password</SPAN> (line <span class="linenumber">105</span>) |
|
|
<BR> |
|
|
<SPAN CLASS="font10bold">Usage : </SPAN> |
|
|
<span class="font10bold" style="color: #FF0000">void</SPAN> |
|
|
<span class="font10bold" style="color: #0000FF">password( |
|
|
<a href="../../phpHtmlLib/FormProcessing/FEPassword.html">FEPassword</a> |
|
|
&$fepassword)</SPAN> |
|
|
<BR> |
|
48 |
|
|
49 |
<BR> |
<a name="sec-var-summary"></a> |
50 |
<SPAN CLASS="font10bold">Description : </SPAN> |
<div class="info-box"> |
51 |
use this function to add the FEPassword object that we want to confirm. |
<div class="info-box-title">Variable Summary</span></div> |
52 |
<br /> |
<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 |
|
|
69 |
<DL> |
<a name="sec-method-summary"></a> |
70 |
<DT class="font10bold">Function Parameters:</DT> |
<div class="info-box"> |
71 |
<DD CLASS="font10" STYLE="padding-bottom:5px;"><span STYLE="font-style: italic;">- <span style="color: #FF0000;font-weight:bold;"><a href="../../phpHtmlLib/FormProcessing/FEPassword.html">FEPassword</a></SPAN> <span style="color: #0000FF;font-weight:bold">&$fepassword</SPAN></SPAN> object</DD> |
<div class="info-box-title">Method Summary</span></div> |
72 |
|
<div class="nav-bar"> |
73 |
<DT class="font10bold">Function Info:</DT> |
<a href="#sec-description">Description</a> | |
74 |
</DL> |
<a href="#sec-var-summary">Vars</a> (<a href="#sec-vars">details</a>) |
75 |
</DIV> |
|
76 |
<BR> |
| |
77 |
<DIV CLASS="function"> |
<span class="disabled">Methods</span> (<a href="#sec-methods">details</a>) |
78 |
<A NAME='methodvalidate'><!-- --></A> |
</div> |
79 |
<SPAN CLASS="font12bold">validate</SPAN> (line <span class="linenumber">120</span>) |
<div class="info-box-body"> |
80 |
<BR> |
<div class="method-summary"> |
81 |
<SPAN CLASS="font10bold">Usage : </SPAN> |
|
82 |
<span class="font10bold" style="color: #FF0000">void</SPAN> |
<div class="method-definition"> |
83 |
<span class="font10bold" style="color: #0000FF">validate( |
<span class="method-result">void</span> |
84 |
)</SPAN> |
<a href="#password" title="details" class="method-name">password</a> |
85 |
<BR> |
(<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 |
|
|
121 |
<span class="font10bold" style="padding-left: 10px;">Overrides :</span> <a href="../../phpHtmlLib/FormProcessing/FEPassword.html#methodvalidate">FEPassword::validate()</a> This function performs the actual validation It is called only if the validation is required by this element |
<!-- ========== Info from phpDoc block ========= --> |
122 |
<BR> |
<p class="short-description">This holds the FEPassword we are</p> |
123 |
<SPAN CLASS="font10bold">Description : </SPAN> |
<p class="description"><p>trying to confirm</p></p> |
124 |
This function performs the actual validation It is called only if the validation is required by this element |
|
125 |
<br /> |
|
126 |
<p>This function is responsible for performing complete validation and setting the appropriate error message in case of a failed validation</p> |
|
127 |
<DL> |
|
128 |
|
|
129 |
<DT class="font10bold">Function Info:</DT> |
</div> |
130 |
</DL> |
<h4>Inherited Variables</h4> |
131 |
</DIV> |
<A NAME='inherited_vars'><!-- --></A> |
132 |
<BR> |
<p>Inherited from <span class="classname"><a href="../../phpHtmlLib/FormProcessing/FormElement.html">FormElement</a></span></p> |
133 |
<div id="credit"> |
<blockquote> |
134 |
<hr> |
<span class="var-title"> |
135 |
Documention generated on Thu, 20 Feb 2003 16:22:44 -0800 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.2.0rc1</a> |
<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> |
</div> |
174 |
</body> |
|
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 |
|
</div> |
302 |
|
|
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 |
</html> |
</html> |