/[cvs]/nfo/php/libs/com.newsblob.phphtmllib/doc/phpHtmlLib/FormProcessing/FEName.html
ViewVC logotype

Diff of /nfo/php/libs/com.newsblob.phphtmllib/doc/phpHtmlLib/FormProcessing/FEName.html

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.1 by jonen, Sat Feb 22 21:05:26 2003 UTC revision 1.2 by jonen, Sat Sep 20 00:36:42 2003 UTC
# Line 1  Line 1 
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:46 -0800' -->                          <!-- template designed by Marco Von Ballmoos -->
6          <TITLE>Docs For Class FEName</TITLE>                          <title>Docs For Class FEName</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 FEName</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 FEName">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">This is the Name FormElement which builds a  text input field, and validates against the  is_name() method.</p>
26  <BR>          <ul class="tags">
27  <!-- Start of Class Data -->                                  <li><span class="field">copyright:</span> <p>LGPL - See LICENCE</p></li>
28  <H2>                                  <li><span class="field">author:</span> <p>Suren Markossian &lt;<a href="mailto:suren@bcsweb.com">mailto:suren@bcsweb.com</a>&gt;</p></li>
29          Class FEName                                  <li><span class="field">author:</span> <p>Walter A. Boring IV &lt;<a href="mailto:waboring@buildabetterweb.com">mailto:waboring@buildabetterweb.com</a>&gt;</p></li>
30  </H2> (line <span class="linenumber">87</span>)                          </ul>
31  <pre>                  <p class="notes">
32  <a href="../../phpHtmlLib/FormProcessing/FormElement.html">FormElement</a>                          Located in <a class="field" href="_form_form_elements_FEText_inc.html">Program_Root/form/form_elements/FEText.inc</a> (line <span class="field">84</span>)
33                    </p>
34                    
35                            
36                    <pre><a href="../../phpHtmlLib/FormProcessing/FormElement.html">FormElement</a>
37     |     |
38     --<a href="../../phpHtmlLib/FormProcessing/FEText.html">FEText</a>     --<a href="../../phpHtmlLib/FormProcessing/FEText.html">FEText</a>
39        |        |
40        --FEName</pre>        --FEName</pre>
41  <p>          
42          <b><i>Located in File: Program_Root/form/form_elements/FEText.inc</i></b><br>                          </div>
43  </p>  </div>
44  <hr>  
45  This is the Name FormElement which builds a  text input field, and validates against the  is_name() method.  
46  <br />  
47            <a name="sec-method-summary"></a>
48  <UL>          <div class="info-box">
49                  <LI><b>copyright</b> - <CODE>LGPL - See LICENCE</CODE></LI>                  <div class="info-box-title">Method Summary</span></div>
50                  <LI><b>author</b> - <CODE>Suren Markossian &lt;<a href="mailto:suren@bcsweb.com">mailto:suren@bcsweb.com</a>&gt;</CODE></LI>                  <div class="nav-bar">
51                  <LI><b>author</b> - <CODE>Walter A. Boring IV &lt;<a href="mailto:waboring@buildabetterweb.com">mailto:waboring@buildabetterweb.com</a>&gt;</CODE></LI>                          <a href="#sec-description">Description</a> |
52          </UL>                                                                                                                          <a href="#sec-vars">Vars</a>
53  <hr>                                  
54  <!-- =========== VAR SUMMARY =========== -->                                  |
55  <A NAME='var_summary'><!-- --></A>                                                  <span class="disabled">Methods</span> (<a href="#sec-methods">details</a>)
56  <TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='100%' CLASS="border">                  </div>
57          <TR BGCOLOR='#CCCCFF' CLASS='TableHeadingColor'>                  <div class="info-box-body">                    
58                  <TD>                          <div class="method-summary">
59                          <span CLASS="font12bold">Class Variable Summary</span>                                                                  
60              <A HREF="#top" CLASS="links">^TOP</A>                                  <div class="method-definition">
61                  </TD>                                                                                          <span class="method-result">void</span>
62          </TR>                                                                                  <a href="#validate" title="details" class="method-name">validate</a>
63                                                                                            (<span class="var-type"><a href="../../phpHtmlLib/FormProcessing/FormValidation.html">FormValidation</a></span>&nbsp;<span class="var-name">&$_FormValidation</span>)
64          </TABLE>                                                                          </div>
65  <hr>                                                          </div>
66  <!-- =========== VAR INHERITED SUMMARY =========== -->                  </div>
67  <A NAME='var_inherited_summary'><!-- --></A>          </div>          
68  <TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='100%' CLASS="border">  
69          <TR BGCOLOR='#CCCCFF' CLASS='TableHeadingColor'>          <a name="sec-vars"></a>
70                  <TD>          <div class="info-box">
71                          <span CLASS="font12bold">Inherited Class Variable Summary</span>                  <div class="info-box-title">Variables</div>
72              <A HREF="#top" CLASS="links">^TOP</A>                  <div class="nav-bar">
73                  </TD>                          <a href="#sec-description">Description</a> |
74          </TR>                                                                                  <a href="#sec-var-summary">Vars</a> (<span class="disabled">details</span>)
75                                                    
76                  <!-- =========== Summary =========== -->                          
77          <TR BGCOLOR='white'>                                                          |
78                  <TD>                                                                          <a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>)
79                          <span CLASS="font10bold">Inherited From Class <a href="../../phpHtmlLib/FormProcessing/FormElement.html">FormElement</a></span>                                                          
80              <table CELLPADDING='3' CELLSPACING='0' WIDTH='95%' CLASS="border" ALIGN="center">                                          </div>
81                          <tr CLASS="tableheadingcolor">                  <div class="info-box-body">
82                                  <th>Variable</th>                                                                                  <h4>Inherited Variables</h4>
83                                  <th>Default Value</th>                                  <A NAME='inherited_vars'><!-- --></A>
84                                  <th>Description</th>                                                                          <p>Inherited from <span class="classname"><a href="../../phpHtmlLib/FormProcessing/FormElement.html">FormElement</a></span></p>
85                          </tr>                                          <blockquote>
86                                                          <tr>                                                                                                          <span class="var-title">
87                                  <td CLASS="font10bold"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#var$_attributes">FormElement::$_attributes</a></td>                                                                  <span class="var-name"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#var$_attributes">FormElement::$_attributes</a></span><br>
88                                  <td CLASS="font10" STYLE="white-space: nowrap">-><-</td>                                                          </span>
89                                  <td CLASS="font10">Holds additional attributes for</td>                                                                                                          <span class="var-title">
90                          </tr>                                                                  <span class="var-name"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#var$_element_name">FormElement::$_element_name</a></span><br>
91                                                          <tr>                                                          </span>
92                                  <td CLASS="font10bold"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#var$_element_name">FormElement::$_element_name</a></td>                                                                                                          <span class="var-title">
93                                  <td CLASS="font10" STYLE="white-space: nowrap">-> NULL<-</td>                                                                  <span class="var-name"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#var$_errors">FormElement::$_errors</a></span><br>
94                                  <td CLASS="font10">Holds the name of the element</td>                                                          </span>
95                          </tr>                                                                                                          <span class="var-title">
96                                                          <tr>                                                                  <span class="var-name"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#var$_error_message">FormElement::$_error_message</a></span><br>
97                                  <td CLASS="font10bold"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#var$_error_message">FormElement::$_error_message</a></td>                                                          </span>
98                                  <td CLASS="font10" STYLE="white-space: nowrap">-> NULL<-</td>                                                                                                          <span class="var-title">
99                                  <td CLASS="font10">Holds the error message text</td>                                                                  <span class="var-name"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#var$_form_name">FormElement::$_form_name</a></span><br>
100                          </tr>                                                          </span>
101                                                          <tr>                                                                                                          <span class="var-title">
102                                  <td CLASS="font10bold"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#var$_has_error">FormElement::$_has_error</a></td>                                                                  <span class="var-name"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#var$_has_error">FormElement::$_has_error</a></span><br>
103                                  <td CLASS="font10" STYLE="white-space: nowrap">-> FALSE<-</td>                                                          </span>
104                                  <td CLASS="font10">Holds the state of the last validation</td>                                                                                                          <span class="var-title">
105                          </tr>                                                                  <span class="var-name"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#var$_is_disabled">FormElement::$_is_disabled</a></span><br>
106                                                          <tr>                                                          </span>
107                                  <td CLASS="font10bold"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#var$_is_disabled">FormElement::$_is_disabled</a></td>                                                                                                          <span class="var-title">
108                                  <td CLASS="font10" STYLE="white-space: nowrap">-> FALSE<-</td>                                                                  <span class="var-name"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#var$_is_required">FormElement::$_is_required</a></span><br>
109                                  <td CLASS="font10">Indicates a disabled element</td>                                                          </span>
110                          </tr>                                                                                                          <span class="var-title">
111                                                          <tr>                                                                  <span class="var-name"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#var$_label_text">FormElement::$_label_text</a></span><br>
112                                  <td CLASS="font10bold"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#var$_is_required">FormElement::$_is_required</a></td>                                                          </span>
113                                  <td CLASS="font10" STYLE="white-space: nowrap">-> TRUE<-</td>                                                                                                          <span class="var-title">
114                                  <td CLASS="font10">Indicates whether this elements</td>                                                                  <span class="var-name"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#var$_stripslashes">FormElement::$_stripslashes</a></span><br>
115                          </tr>                                                          </span>
116                                                          <tr>                                                                                                          <span class="var-title">
117                                  <td CLASS="font10bold"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#var$_label_text">FormElement::$_label_text</a></td>                                                                  <span class="var-name"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#var$_style_attributes">FormElement::$_style_attributes</a></span><br>
118                                  <td CLASS="font10" STYLE="white-space: nowrap">-> NULL<-</td>                                                          </span>
119                                  <td CLASS="font10">Holds the elements label text</td>                                                                                                          <span class="var-title">
120                          </tr>                                                                  <span class="var-name"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#var$_value">FormElement::$_value</a></span><br>
121                                                          <tr>                                                          </span>
122                                  <td CLASS="font10bold"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#var$_style_attributes">FormElement::$_style_attributes</a></td>                                                                                          </blockquote>
123                                  <td CLASS="font10" STYLE="white-space: nowrap">-><-</td>                                                                                  
124                                  <td CLASS="font10">Holds additional style attributes for</td>                  </div>
125                          </tr>          </div>
126                                                          <tr>          
127                                  <td CLASS="font10bold"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#var$_value">FormElement::$_value</a></td>          <a name="sec-methods"></a>
128                                  <td CLASS="font10" STYLE="white-space: nowrap">-> NULL<-</td>          <div class="info-box">
129                                  <td CLASS="font10">Holds the elements initial value</td>                  <div class="info-box-title">Methods</div>
130                          </tr>                  <div class="nav-bar">
131                                                          </table>                          <a href="#sec-description">Description</a> |
132              <BR>                                                                                                                          <a href="#sec-vars">Vars</a>
133          </TD>                                                                                                                  <a href="#sec-method-summary">Methods</a> (<span class="disabled">details</span>)
134          </TR>                                                  
135          </TABLE>                  </div>
136                    <div class="info-box-body">
137  <hr>                          <A NAME='method_detail'></A>
138  <!-- =========== METHOD SUMMARY =========== -->  <a name="methodvalidate" id="validate"><!-- --></a>
139  <A NAME='method_summary'><!-- --></A>  <div class="oddrow">
140  <TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='100%' Class="border">          
141          <TR BGCOLOR='#CCCCFF' CLASS='TableHeadingColor'>          <div class="method-header">
142                  <TD>                  <span class="method-title">validate</span> (line <span class="line-number">93</span>)
143                          <span class="font12bold">Method Summary</span>          </div>
144              <A HREF="#top" CLASS="links">^TOP</A>          
145                  </TD>          <!-- ========== Info from phpDoc block ========= -->
146          </TR>  <p class="short-description">This method validates the data  for this Form Element.</p>
147    <p class="description"><p>It validates as is_name().</p></p>
148                  <!-- =========== Summary =========== -->          
149          <TR BGCOLOR='white' CLASS='TableRowColor'>          <div class="method-signature">
150                  <TD>                  <span class="method-result">void</span>
151                          <CODE><B><A HREF='../../phpHtmlLib/FormProcessing/FEName.html#methodvalidate'>void validate (  )</A></B></CODE>                  <span class="method-name">
152                          <BR>                          validate
153                          <blockquote> This method validates the data  for this Form Element. </blockquote>                  </span>
154                  </TD>                                          (<span class="var-type"><a href="../../phpHtmlLib/FormProcessing/FormValidation.html">FormValidation</a></span>&nbsp;<span class="var-name">&$_FormValidation</span>)
155          </TR>                          </div>
156          </TABLE>          
157  <!-- =========== INHERITED METHOD SUMMARY =========== -->                          <ul class="parameters">
158  <A NAME='functions_inherited'><!-- --></A>                                          <li>
159  <TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='100%' CLASS="border">                                  <span class="var-type"><a href="../../phpHtmlLib/FormProcessing/FormValidation.html">FormValidation</a></span>
160          <TR BGCOLOR='#CCCCFF' CLASS='TableHeadingColor'>                                  <span class="var-name">&$_FormValidation</span><span class="var-description">: <p>object.</p></span>                    </li>
161                  <TD>                                  </ul>
162                          <span CLASS="font12bold">Inherited Method Summary</span>                  
163              <A HREF="#top" CLASS="links">^TOP</A>                          <hr class="separator" />
164                  </TD>                  <div class="notes">Redefinition of:</div>
165          </TR>                  <dl>
166                            <dt><a href="../../phpHtmlLib/FormProcessing/FormElement.html#methodvalidate">FormElement::validate()</a></dt>
167                  <!-- =========== Summary =========== -->                                                  <dd>This function performs the actual validation  It is called only if the validation is required by  this element</dd>
168          <TR BGCOLOR='white' CLASS='TableRowColor'>                                          </dl>
169                  <TD>                  
170                          <span CLASS="font10bold">Inherited From Class <a href="../../phpHtmlLib/FormProcessing/FEText.html">FEText</a></span>          </div>
171              <TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='95%' CLASS="border" ALIGN="center">                                                          <h4>Inherited Methods</h4>
172                                  <tr CLASS="tableheadingcolor">                                  <a name='inherited_methods'><!-- --></a>        
173                                          <th>Function</th>                                                                          <!-- =========== Summary =========== -->
174                                          <th>Description</th>                                          <p>Inherited From <span class="classname"><a href="../../phpHtmlLib/FormProcessing/FEText.html">FEText</a></span></p>
175                                  </tr>                                          <blockquote>
176                                                                  <tr>                                                                                                          <span class="method-name"><a href="../../phpHtmlLib/FormProcessing/FEText.html#methodFEText">FEText::FEText()</a></span><br>
177                                          <td CLASS="font10bold"><a href="../../phpHtmlLib/FormProcessing/FEText.html#methodFEText">FEText::FEText()</a></td>                                                                                                          <span class="method-name"><a href="../../phpHtmlLib/FormProcessing/FEText.html#methodget_element">FEText::get_element()</a></span><br>
178                                          <td CLASS="font10">The constructor</td>                                                                                          </blockquote>
179                                                                  <tr>                                                                          <!-- =========== Summary =========== -->
180                                          <td CLASS="font10bold"><a href="../../phpHtmlLib/FormProcessing/FEText.html#methodget_element">FEText::get_element()</a></td>                                          <p>Inherited From <span class="classname"><a href="../../phpHtmlLib/FormProcessing/FormElement.html">FormElement</a></span></p>
181                                          <td CLASS="font10">This function builds and returns the  form element object</td>                                          <blockquote>
182                                                          </table>                                                                                                          <span class="method-name"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#methodFormElement">FormElement::FormElement()</a></span><br>
183              <br>                                                                                                                                  <span class="method-name"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#methodcreate_element_name">FormElement::create_element_name()</a></span><br>
184                  </TD>                                                                                                          <span class="method-name"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#methodget_attribute">FormElement::get_attribute()</a></span><br>
185          </TR>                                                                                                          <span class="method-name"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#methodget_element">FormElement::get_element()</a></span><br>
186                  <!-- =========== Summary =========== -->                                                                                                          <span class="method-name"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#methodget_element_name">FormElement::get_element_name()</a></span><br>
187          <TR BGCOLOR='white' CLASS='TableRowColor'>                                                                                                          <span class="method-name"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#methodget_errors">FormElement::get_errors()</a></span><br>
188                  <TD>                                                                                                          <span class="method-name"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#methodget_error_message">FormElement::get_error_message()</a></span><br>
189                          <span CLASS="font10bold">Inherited From Class <a href="../../phpHtmlLib/FormProcessing/FormElement.html">FormElement</a></span>                                                                                                          <span class="method-name"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#methodget_init_value">FormElement::get_init_value()</a></span><br>
190              <TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='95%' CLASS="border" ALIGN="center">                                                                                                          <span class="method-name"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#methodget_label">FormElement::get_label()</a></span><br>
191                                  <tr CLASS="tableheadingcolor">                                                                                                          <span class="method-name"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#methodget_label_text">FormElement::get_label_text()</a></span><br>
192                                          <th>Function</th>                                                                                                          <span class="method-name"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#methodget_required_symbol">FormElement::get_required_symbol()</a></span><br>
193                                          <th>Description</th>                                                                                                          <span class="method-name"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#methodget_value">FormElement::get_value()</a></span><br>
194                                  </tr>                                                                                                          <span class="method-name"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#methodget_value_text">FormElement::get_value_text()</a></span><br>
195                                                                  <tr>                                                                                                          <span class="method-name"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#methodhas_error">FormElement::has_error()</a></span><br>
196                                          <td CLASS="font10bold"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#methodFormElement">FormElement::FormElement()</a></td>                                                                                                          <span class="method-name"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#methodis_disabled">FormElement::is_disabled()</a></span><br>
197                                          <td CLASS="font10">The constructor</td>                                                                                                          <span class="method-name"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#methodis_required">FormElement::is_required()</a></span><br>
198                                                                  <tr>                                                                                                          <span class="method-name"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#methodjavascript">FormElement::javascript()</a></span><br>
199                                          <td CLASS="font10bold"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#methodcreate_element_name">FormElement::create_element_name()</a></td>                                                                                                          <span class="method-name"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#methodonBlur">FormElement::onBlur()</a></span><br>
200                                          <td CLASS="font10">This function creates element name</td>                                                                                                          <span class="method-name"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#methodonChange">FormElement::onChange()</a></span><br>
201                                                                  <tr>                                                                                                          <span class="method-name"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#methodonClick">FormElement::onClick()</a></span><br>
202                                          <td CLASS="font10bold"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#methodget_attribute">FormElement::get_attribute()</a></td>                                                                                                          <span class="method-name"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#methodonFocus">FormElement::onFocus()</a></span><br>
203                                          <td CLASS="font10">return a single attribute</td>                                                                                                          <span class="method-name"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#methodonSubmit">FormElement::onSubmit()</a></span><br>
204                                                                  <tr>                                                                                                          <span class="method-name"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#methodset_attribute">FormElement::set_attribute()</a></span><br>
205                                          <td CLASS="font10bold"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#methodget_element">FormElement::get_element()</a></td>                                                                                                          <span class="method-name"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#methodset_disabled">FormElement::set_disabled()</a></span><br>
206                                          <td CLASS="font10">This function builds and returns the  form element object</td>                                                                                                          <span class="method-name"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#methodset_error_message">FormElement::set_error_message()</a></span><br>
207                                                                  <tr>                                                                                                          <span class="method-name"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#methodset_form_name">FormElement::set_form_name()</a></span><br>
208                                          <td CLASS="font10bold"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#methodget_element_name">FormElement::get_element_name()</a></td>                                                                                                          <span class="method-name"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#methodset_label_text">FormElement::set_label_text()</a></span><br>
209                                          <td CLASS="font10">Returns the element name  to be used in the form</td>                                                                                                          <span class="method-name"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#methodset_required">FormElement::set_required()</a></span><br>
210                                                                  <tr>                                                                                                          <span class="method-name"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#methodset_stripslashes">FormElement::set_stripslashes()</a></span><br>
211                                          <td CLASS="font10bold"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#methodget_error_message">FormElement::get_error_message()</a></td>                                                                                                          <span class="method-name"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#methodset_style_attribute">FormElement::set_style_attribute()</a></span><br>
212                                          <td CLASS="font10">Returns the current error message  if any</td>                                                                                                          <span class="method-name"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#methodset_title">FormElement::set_title()</a></span><br>
213                                                                  <tr>                                                                                                          <span class="method-name"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#methodset_value">FormElement::set_value()</a></span><br>
214                                          <td CLASS="font10bold"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#methodget_init_value">FormElement::get_init_value()</a></td>                                                                                                          <span class="method-name"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#methodvalidate">FormElement::validate()</a></span><br>
215                                          <td CLASS="font10">This returns the initial value of  the element</td>                                                                                                          <span class="method-name"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#method_build_element_attributes">FormElement::_build_element_attributes()</a></span><br>
216                                                                  <tr>                                                                                                          <span class="method-name"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#method_build_javascript">FormElement::_build_javascript()</a></span><br>
217                                          <td CLASS="font10bold"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#methodget_label">FormElement::get_label()</a></td>                                                                                                          <span class="method-name"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#method_do_validation">FormElement::_do_validation()</a></span><br>
218                                          <td CLASS="font10">This function builds and returns a  label object based on the label text  and error conditions</td>                                                                                          </blockquote>
219                                                                  <tr>                                                                                  
220                                          <td CLASS="font10bold"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#methodget_label_text">FormElement::get_label_text()</a></td>                  </div>
                                         <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>  
   
 <hr>  
 <!-- ============ METHOD DETAIL =========== -->  
   
 <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='methodvalidate'><!-- --></A>  
 <SPAN CLASS="font12bold">validate</SPAN> (line <span class="linenumber">95</span>)  
 <BR>  
 <SPAN CLASS="font10bold">Usage : </SPAN>  
 <span class="font10bold" style="color: #FF0000">void</SPAN>&nbsp;  
 <span class="font10bold" style="color: #0000FF">validate(  
 )</SPAN>  
 <BR>  
   
 <BR>  
 <SPAN CLASS="font10bold">Description : </SPAN>  
 This method validates the data  for this Form Element.  
 <br />  
 <p>It validates as is_name().</p>  
 <DL>  
   
         <DT class="font10bold">Function Info:</DT>  
         </DL>  
 </DIV>  
 <BR>  
         <div id="credit">  
                 <hr>  
                 Documention generated on Thu, 20 Feb 2003 16:22:46 -0800 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.2.0rc1</a>  
221          </div>          </div>
222  </body>          
223            <p class="notes" id="credit">
224                    Documention generated on Thu, 31 Jul 2003 18:32:37 -0700 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.2.0</a>
225            </p>
226            </div></body>
227  </html>  </html>

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

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