1 |
jonen |
1.1 |
<!DOCTYPE HTML PUBLIC '-//W3C//DTD HTML 4.0 Transitional//EN' 'http://www.w3.org/TR/REC-html40/loose.dtd'> |
2 |
|
|
<!--NewPage--> |
3 |
|
|
<HTML> |
4 |
|
|
<HEAD> |
5 |
|
|
<!-- Generated by PhpDoc date: 'Thu, 20 Feb 2003 16:22:47 -0800' --> |
6 |
|
|
<TITLE>Docs For Class FEText</TITLE> |
7 |
|
|
<LINK REL ='stylesheet' TYPE='text/css' HREF='../../media/stylesheet.css' TITLE='Style'> |
8 |
|
|
</HEAD> |
9 |
|
|
<BODY style="background-color: #eeeeee; font-family: arial; font-size: .9em;"> |
10 |
|
|
<!-- Links --> |
11 |
|
|
<a NAME="top"></A> |
12 |
|
|
<table WIDTH="100%" class="links"> |
13 |
|
|
<TR> |
14 |
|
|
<TD class="font10"> |
15 |
|
|
Links: |
16 |
|
|
<A HREF="#children_summary" class="links" title="Classes extended from FEText">Child Classes</A> |
17 |
|
|
<A HREF="#var_summary" class="links" title="Class Variable Summary">Variables</A> |
18 |
|
|
<A HREF="#var_inherited_summary" class="links" title="Inherited Class Variable Summary">Inherited Variables</A> |
19 |
|
|
<A HREF="#functions_inherited" class="links" title="Inherited Method Summary">Inherited Methods</A> |
20 |
|
|
<A HREF="#method_summary" class="links" title="Method Summary">Methods</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> |
23 |
|
|
</TD> |
24 |
|
|
</TR> |
25 |
|
|
</TABLE> |
26 |
|
|
<BR> |
27 |
|
|
<!-- Start of Class Data --> |
28 |
|
|
<H2> |
29 |
|
|
Class FEText |
30 |
|
|
</H2> (line <span class="linenumber">29</span>) |
31 |
|
|
<pre> |
32 |
|
|
<a href="../../phpHtmlLib/FormProcessing/FormElement.html">FormElement</a> |
33 |
|
|
| |
34 |
|
|
--FEText</pre> |
35 |
|
|
<SPAN class="type">Classes extended from FEText:</SPAN> |
36 |
|
|
<dl> |
37 |
|
|
<dt><a href="../../phpHtmlLib/FormProcessing/FEName.html">FEName</a></dt> |
38 |
|
|
<dd>This is the Name FormElement which builds a text input field, and validates against the is_name() method.</dd> |
39 |
|
|
</dl> |
40 |
|
|
<dl> |
41 |
|
|
<dt><a href="../../phpHtmlLib/FormProcessing/FEEmail.html">FEEmail</a></dt> |
42 |
|
|
<dd>This is the Email FormElement which builds a text input field.</dd> |
43 |
|
|
</dl> |
44 |
|
|
<dl> |
45 |
|
|
<dt><a href="../../phpHtmlLib/FormProcessing/FEEmailMany.html">FEEmailMany</a></dt> |
46 |
|
|
<dd>This is the EmailMany FormElement which builds a text input field. This allows for multiple email addresses in 1 text input field seperated by commas.</dd> |
47 |
|
|
</dl> |
48 |
|
|
<dl> |
49 |
|
|
<dt><a href="../../phpHtmlLib/FormProcessing/FEDomainName.html">FEDomainName</a></dt> |
50 |
|
|
<dd>This is the DomainName FormElement which builds a text input field.</dd> |
51 |
|
|
</dl> |
52 |
|
|
<dl> |
53 |
|
|
<dt><a href="../../phpHtmlLib/FormProcessing/FEIPAddress.html">FEIPAddress</a></dt> |
54 |
|
|
<dd>This is the Ip Address FormElement which builds a text input field.</dd> |
55 |
|
|
</dl> |
56 |
|
|
<dl> |
57 |
|
|
<dt><a href="../../phpHtmlLib/FormProcessing/FENumberFloat.html">FENumberFloat</a></dt> |
58 |
|
|
<dd>This is the float FormElement which builds a text input field.</dd> |
59 |
|
|
</dl> |
60 |
|
|
<dl> |
61 |
|
|
<dt><a href="../../phpHtmlLib/FormProcessing/FENumberPrice.html">FENumberPrice</a></dt> |
62 |
|
|
<dd>This is the Price FormElement which builds a text input field.</dd> |
63 |
|
|
</dl> |
64 |
|
|
<dl> |
65 |
|
|
<dt><a href="../../phpHtmlLib/FormProcessing/FEUrl.html">FEUrl</a></dt> |
66 |
|
|
<dd>This is the URL FormElement which builds a text input field.</dd> |
67 |
|
|
</dl> |
68 |
|
|
<dl> |
69 |
|
|
<dt><a href="../../phpHtmlLib/FormProcessing/FEUrlStrict.html">FEUrlStrict</a></dt> |
70 |
|
|
<dd>This is the URLStrict FormElement which builds a text input field.</dd> |
71 |
|
|
</dl> |
72 |
|
|
<dl> |
73 |
|
|
<dt><a href="../../phpHtmlLib/FormProcessing/FEPassword.html">FEPassword</a></dt> |
74 |
|
|
<dd>This is the Password FormElement which builds a input field of type="password". It validates the data as is_password().</dd> |
75 |
|
|
</dl> |
76 |
|
|
</p> |
77 |
|
|
<p> |
78 |
|
|
<b><i>Located in File: Program_Root/form/form_elements/FEText.inc</i></b><br> |
79 |
|
|
</p> |
80 |
|
|
<hr> |
81 |
|
|
This is the Text FormElement which builds a text input field. It has no validation method. |
82 |
|
|
<br /> |
83 |
|
|
|
84 |
|
|
<UL> |
85 |
|
|
<LI><b>copyright</b> - <CODE>LGPL - See LICENCE</CODE></LI> |
86 |
|
|
<LI><b>author</b> - <CODE>Suren Markossian <<a href="mailto:suren@bcsweb.com">mailto:suren@bcsweb.com</a>></CODE></LI> |
87 |
|
|
<LI><b>author</b> - <CODE>Walter A. Boring IV <<a href="mailto:waboring@buildabetterweb.com">mailto:waboring@buildabetterweb.com</a>></CODE></LI> |
88 |
|
|
</UL> |
89 |
|
|
<hr> |
90 |
|
|
<!-- =========== VAR SUMMARY =========== --> |
91 |
|
|
<A NAME='var_summary'><!-- --></A> |
92 |
|
|
<TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='100%' CLASS="border"> |
93 |
|
|
<TR BGCOLOR='#CCCCFF' CLASS='TableHeadingColor'> |
94 |
|
|
<TD> |
95 |
|
|
<span CLASS="font12bold">Class Variable Summary</span> |
96 |
|
|
<A HREF="#top" CLASS="links">^TOP</A> |
97 |
|
|
</TD> |
98 |
|
|
</TR> |
99 |
|
|
|
100 |
|
|
</TABLE> |
101 |
|
|
<hr> |
102 |
|
|
<!-- =========== VAR INHERITED SUMMARY =========== --> |
103 |
|
|
<A NAME='var_inherited_summary'><!-- --></A> |
104 |
|
|
<TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='100%' CLASS="border"> |
105 |
|
|
<TR BGCOLOR='#CCCCFF' CLASS='TableHeadingColor'> |
106 |
|
|
<TD> |
107 |
|
|
<span CLASS="font12bold">Inherited Class Variable Summary</span> |
108 |
|
|
<A HREF="#top" CLASS="links">^TOP</A> |
109 |
|
|
</TD> |
110 |
|
|
</TR> |
111 |
|
|
|
112 |
|
|
<!-- =========== Summary =========== --> |
113 |
|
|
<TR BGCOLOR='white'> |
114 |
|
|
<TD> |
115 |
|
|
<span CLASS="font10bold">Inherited From Class <a href="../../phpHtmlLib/FormProcessing/FormElement.html">FormElement</a></span> |
116 |
|
|
<table CELLPADDING='3' CELLSPACING='0' WIDTH='95%' CLASS="border" ALIGN="center"> |
117 |
|
|
<tr CLASS="tableheadingcolor"> |
118 |
|
|
<th>Variable</th> |
119 |
|
|
<th>Default Value</th> |
120 |
|
|
<th>Description</th> |
121 |
|
|
</tr> |
122 |
|
|
<tr> |
123 |
|
|
<td CLASS="font10bold"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#var$_attributes">FormElement::$_attributes</a></td> |
124 |
|
|
<td CLASS="font10" STYLE="white-space: nowrap">-><-</td> |
125 |
|
|
<td CLASS="font10">Holds additional attributes for</td> |
126 |
|
|
</tr> |
127 |
|
|
<tr> |
128 |
|
|
<td CLASS="font10bold"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#var$_element_name">FormElement::$_element_name</a></td> |
129 |
|
|
<td CLASS="font10" STYLE="white-space: nowrap">-> NULL<-</td> |
130 |
|
|
<td CLASS="font10">Holds the name of the element</td> |
131 |
|
|
</tr> |
132 |
|
|
<tr> |
133 |
|
|
<td CLASS="font10bold"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#var$_error_message">FormElement::$_error_message</a></td> |
134 |
|
|
<td CLASS="font10" STYLE="white-space: nowrap">-> NULL<-</td> |
135 |
|
|
<td CLASS="font10">Holds the error message text</td> |
136 |
|
|
</tr> |
137 |
|
|
<tr> |
138 |
|
|
<td CLASS="font10bold"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#var$_has_error">FormElement::$_has_error</a></td> |
139 |
|
|
<td CLASS="font10" STYLE="white-space: nowrap">-> FALSE<-</td> |
140 |
|
|
<td CLASS="font10">Holds the state of the last validation</td> |
141 |
|
|
</tr> |
142 |
|
|
<tr> |
143 |
|
|
<td CLASS="font10bold"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#var$_is_disabled">FormElement::$_is_disabled</a></td> |
144 |
|
|
<td CLASS="font10" STYLE="white-space: nowrap">-> FALSE<-</td> |
145 |
|
|
<td CLASS="font10">Indicates a disabled element</td> |
146 |
|
|
</tr> |
147 |
|
|
<tr> |
148 |
|
|
<td CLASS="font10bold"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#var$_is_required">FormElement::$_is_required</a></td> |
149 |
|
|
<td CLASS="font10" STYLE="white-space: nowrap">-> TRUE<-</td> |
150 |
|
|
<td CLASS="font10">Indicates whether this elements</td> |
151 |
|
|
</tr> |
152 |
|
|
<tr> |
153 |
|
|
<td CLASS="font10bold"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#var$_label_text">FormElement::$_label_text</a></td> |
154 |
|
|
<td CLASS="font10" STYLE="white-space: nowrap">-> NULL<-</td> |
155 |
|
|
<td CLASS="font10">Holds the elements label text</td> |
156 |
|
|
</tr> |
157 |
|
|
<tr> |
158 |
|
|
<td CLASS="font10bold"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#var$_style_attributes">FormElement::$_style_attributes</a></td> |
159 |
|
|
<td CLASS="font10" STYLE="white-space: nowrap">-><-</td> |
160 |
|
|
<td CLASS="font10">Holds additional style attributes for</td> |
161 |
|
|
</tr> |
162 |
|
|
<tr> |
163 |
|
|
<td CLASS="font10bold"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#var$_value">FormElement::$_value</a></td> |
164 |
|
|
<td CLASS="font10" STYLE="white-space: nowrap">-> NULL<-</td> |
165 |
|
|
<td CLASS="font10">Holds the elements initial value</td> |
166 |
|
|
</tr> |
167 |
|
|
</table> |
168 |
|
|
<BR> |
169 |
|
|
</TD> |
170 |
|
|
</TR> |
171 |
|
|
</TABLE> |
172 |
|
|
|
173 |
|
|
<hr> |
174 |
|
|
<!-- =========== METHOD SUMMARY =========== --> |
175 |
|
|
<A NAME='method_summary'><!-- --></A> |
176 |
|
|
<TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='100%' Class="border"> |
177 |
|
|
<TR BGCOLOR='#CCCCFF' CLASS='TableHeadingColor'> |
178 |
|
|
<TD> |
179 |
|
|
<span class="font12bold">Method Summary</span> |
180 |
|
|
<A HREF="#top" CLASS="links">^TOP</A> |
181 |
|
|
</TD> |
182 |
|
|
</TR> |
183 |
|
|
|
184 |
|
|
<!-- =========== Summary =========== --> |
185 |
|
|
<TR BGCOLOR='white' CLASS='TableRowColor'> |
186 |
|
|
<TD> |
187 |
|
|
<CODE><B><A HREF='../../phpHtmlLib/FormProcessing/FEText.html#methodFEText'>void constructor FEText ( $label, [$required = TRUE], [$width = NULL], [$maxlength = NULL] )</A></B></CODE> |
188 |
|
|
<BR> |
189 |
|
|
<blockquote> The constructor </blockquote> |
190 |
|
|
</TD> |
191 |
|
|
</TR> |
192 |
|
|
<!-- =========== Summary =========== --> |
193 |
|
|
<TR BGCOLOR='white' CLASS='TableRowColor'> |
194 |
|
|
<TD> |
195 |
|
|
<CODE><B><A HREF='../../phpHtmlLib/FormProcessing/FEText.html#methodget_element'>object get_element ( )</A></B></CODE> |
196 |
|
|
<BR> |
197 |
|
|
<blockquote> This function builds and returns the form element object </blockquote> |
198 |
|
|
</TD> |
199 |
|
|
</TR> |
200 |
|
|
</TABLE> |
201 |
|
|
<!-- =========== INHERITED METHOD SUMMARY =========== --> |
202 |
|
|
<A NAME='functions_inherited'><!-- --></A> |
203 |
|
|
<TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='100%' CLASS="border"> |
204 |
|
|
<TR BGCOLOR='#CCCCFF' CLASS='TableHeadingColor'> |
205 |
|
|
<TD> |
206 |
|
|
<span CLASS="font12bold">Inherited Method Summary</span> |
207 |
|
|
<A HREF="#top" CLASS="links">^TOP</A> |
208 |
|
|
</TD> |
209 |
|
|
</TR> |
210 |
|
|
|
211 |
|
|
<!-- =========== Summary =========== --> |
212 |
|
|
<TR BGCOLOR='white' CLASS='TableRowColor'> |
213 |
|
|
<TD> |
214 |
|
|
<span CLASS="font10bold">Inherited From Class <a href="../../phpHtmlLib/FormProcessing/FormElement.html">FormElement</a></span> |
215 |
|
|
<TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='95%' CLASS="border" ALIGN="center"> |
216 |
|
|
<tr CLASS="tableheadingcolor"> |
217 |
|
|
<th>Function</th> |
218 |
|
|
<th>Description</th> |
219 |
|
|
</tr> |
220 |
|
|
<tr> |
221 |
|
|
<td CLASS="font10bold"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#methodFormElement">FormElement::FormElement()</a></td> |
222 |
|
|
<td CLASS="font10">The constructor</td> |
223 |
|
|
<tr> |
224 |
|
|
<td CLASS="font10bold"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#methodcreate_element_name">FormElement::create_element_name()</a></td> |
225 |
|
|
<td CLASS="font10">This function creates element name</td> |
226 |
|
|
<tr> |
227 |
|
|
<td CLASS="font10bold"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#methodget_attribute">FormElement::get_attribute()</a></td> |
228 |
|
|
<td CLASS="font10">return a single attribute</td> |
229 |
|
|
<tr> |
230 |
|
|
<td CLASS="font10bold"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#methodget_element">FormElement::get_element()</a></td> |
231 |
|
|
<td CLASS="font10">This function builds and returns the form element object</td> |
232 |
|
|
<tr> |
233 |
|
|
<td CLASS="font10bold"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#methodget_element_name">FormElement::get_element_name()</a></td> |
234 |
|
|
<td CLASS="font10">Returns the element name to be used in the form</td> |
235 |
|
|
<tr> |
236 |
|
|
<td CLASS="font10bold"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#methodget_error_message">FormElement::get_error_message()</a></td> |
237 |
|
|
<td CLASS="font10">Returns the current error message if any</td> |
238 |
|
|
<tr> |
239 |
|
|
<td CLASS="font10bold"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#methodget_init_value">FormElement::get_init_value()</a></td> |
240 |
|
|
<td CLASS="font10">This returns the initial value of the element</td> |
241 |
|
|
<tr> |
242 |
|
|
<td CLASS="font10bold"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#methodget_label">FormElement::get_label()</a></td> |
243 |
|
|
<td CLASS="font10">This function builds and returns a label object based on the label text and error conditions</td> |
244 |
|
|
<tr> |
245 |
|
|
<td CLASS="font10bold"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#methodget_label_text">FormElement::get_label_text()</a></td> |
246 |
|
|
<td CLASS="font10">This function will return the elements label text</td> |
247 |
|
|
<tr> |
248 |
|
|
<td CLASS="font10bold"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#methodget_required_symbol">FormElement::get_required_symbol()</a></td> |
249 |
|
|
<td CLASS="font10">This function return the symbol used to denote a required field</td> |
250 |
|
|
<tr> |
251 |
|
|
<td CLASS="font10bold"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#methodget_value">FormElement::get_value()</a></td> |
252 |
|
|
<td CLASS="font10">This function will return the elements value</td> |
253 |
|
|
<tr> |
254 |
|
|
<td CLASS="font10bold"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#methodget_value_text">FormElement::get_value_text()</a></td> |
255 |
|
|
<td CLASS="font10">This provides a method</td> |
256 |
|
|
<tr> |
257 |
|
|
<td CLASS="font10bold"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#methodhas_error">FormElement::has_error()</a></td> |
258 |
|
|
<td CLASS="font10">Returns the current error state</td> |
259 |
|
|
<tr> |
260 |
|
|
<td CLASS="font10bold"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#methodis_disabled">FormElement::is_disabled()</a></td> |
261 |
|
|
<td CLASS="font10">Returns the elements disabled state</td> |
262 |
|
|
<tr> |
263 |
|
|
<td CLASS="font10bold"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#methodis_required">FormElement::is_required()</a></td> |
264 |
|
|
<td CLASS="font10">Returns whether this elements final value cannot be empty</td> |
265 |
|
|
<tr> |
266 |
|
|
<td CLASS="font10bold"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#methodonBlur">FormElement::onBlur()</a></td> |
267 |
|
|
<td CLASS="font10">This function return the javaScript code for an onBlur event</td> |
268 |
|
|
<tr> |
269 |
|
|
<td CLASS="font10bold"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#methodonClick">FormElement::onClick()</a></td> |
270 |
|
|
<td CLASS="font10">This function return the javaScript code for an onClick event</td> |
271 |
|
|
<tr> |
272 |
|
|
<td CLASS="font10bold"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#methodonFocus">FormElement::onFocus()</a></td> |
273 |
|
|
<td CLASS="font10">This function return the javaScript code for an onFocus event</td> |
274 |
|
|
<tr> |
275 |
|
|
<td CLASS="font10bold"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#methodonSubmit">FormElement::onSubmit()</a></td> |
276 |
|
|
<td CLASS="font10">This function return the javaScript code for an onSubmit event</td> |
277 |
|
|
<tr> |
278 |
|
|
<td CLASS="font10bold"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#methodset_attribute">FormElement::set_attribute()</a></td> |
279 |
|
|
<td CLASS="font10">add a single attribute (name="value")</td> |
280 |
|
|
<tr> |
281 |
|
|
<td CLASS="font10bold"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#methodset_disabled">FormElement::set_disabled()</a></td> |
282 |
|
|
<td CLASS="font10">Sets the disabled element flag</td> |
283 |
|
|
<tr> |
284 |
|
|
<td CLASS="font10bold"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#methodset_error_message">FormElement::set_error_message()</a></td> |
285 |
|
|
<td CLASS="font10">Defines error message text and sets the error flag to true</td> |
286 |
|
|
<tr> |
287 |
|
|
<td CLASS="font10bold"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#methodset_label_text">FormElement::set_label_text()</a></td> |
288 |
|
|
<td CLASS="font10">This function will set the label for the element</td> |
289 |
|
|
<tr> |
290 |
|
|
<td CLASS="font10bold"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#methodset_required">FormElement::set_required()</a></td> |
291 |
|
|
<td CLASS="font10">This function set the elements required state</td> |
292 |
|
|
<tr> |
293 |
|
|
<td CLASS="font10bold"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#methodset_style_attribute">FormElement::set_style_attribute()</a></td> |
294 |
|
|
<td CLASS="font10">Sets elements css attribute</td> |
295 |
|
|
<tr> |
296 |
|
|
<td CLASS="font10bold"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#methodset_title">FormElement::set_title()</a></td> |
297 |
|
|
<td CLASS="font10">Sets elements title text</td> |
298 |
|
|
<tr> |
299 |
|
|
<td CLASS="font10bold"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#methodset_value">FormElement::set_value()</a></td> |
300 |
|
|
<td CLASS="font10">This function will set the initial value for the element</td> |
301 |
|
|
<tr> |
302 |
|
|
<td CLASS="font10bold"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#methodvalidate">FormElement::validate()</a></td> |
303 |
|
|
<td CLASS="font10">This function performs the actual validation It is called only if the validation is required by this element</td> |
304 |
|
|
<tr> |
305 |
|
|
<td CLASS="font10bold"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#method_build_element_attributes">FormElement::_build_element_attributes()</a></td> |
306 |
|
|
<td CLASS="font10">This function builds the element form attributes</td> |
307 |
|
|
<tr> |
308 |
|
|
<td CLASS="font10bold"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#method_build_javascript">FormElement::_build_javascript()</a></td> |
309 |
|
|
<td CLASS="font10">This function builds the complete javaScript events code for the element</td> |
310 |
|
|
<tr> |
311 |
|
|
<td CLASS="font10bold"><a href="../../phpHtmlLib/FormProcessing/FormElement.html#method_do_validation">FormElement::_do_validation()</a></td> |
312 |
|
|
<td CLASS="font10">This function checks if the validation</td> |
313 |
|
|
</table> |
314 |
|
|
<br> |
315 |
|
|
</TD> |
316 |
|
|
</TR> |
317 |
|
|
</TABLE> |
318 |
|
|
<hr> |
319 |
|
|
<!-- ============ VARIABLE DETAIL =========== --> |
320 |
|
|
|
321 |
|
|
<A NAME='variable_detail'></A> |
322 |
|
|
<TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='100%' CLASS="border"> |
323 |
|
|
<TR BGCOLOR='#CCCCFF' CLASS='TableHeadingColor'> |
324 |
|
|
<TD> |
325 |
|
|
<span CLASS="font12bold">Variable Detail</span> |
326 |
|
|
<A HREF="#top" CLASS="links">^TOP</A> |
327 |
|
|
</TD> |
328 |
|
|
</TR> |
329 |
|
|
</TABLE> |
330 |
|
|
|
331 |
|
|
<hr> |
332 |
|
|
<!-- ============ METHOD DETAIL =========== --> |
333 |
|
|
|
334 |
|
|
<A NAME='method_detail'></A> |
335 |
|
|
<TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='100%' CLASS="border"> |
336 |
|
|
<TR BGCOLOR='#CCCCFF' CLASS='TableHeadingColor'> |
337 |
|
|
<TD> |
338 |
|
|
<span class="font12bold">Method Detail</span> |
339 |
|
|
<A HREF="#top" CLASS="links">^TOP</A> |
340 |
|
|
</TD> |
341 |
|
|
</TR> |
342 |
|
|
</TABLE> |
343 |
|
|
<BR> |
344 |
|
|
<DIV CLASS="function"> |
345 |
|
|
<A NAME='methodFEText'><!-- --></A> |
346 |
|
|
<SPAN CLASS="font12bold">Constructor FEText</SPAN> (line <span class="linenumber">39</span>) |
347 |
|
|
<BR> |
348 |
|
|
<SPAN CLASS="font10bold">Usage : </SPAN> |
349 |
|
|
<span class="font10bold" style="color: #FF0000">void</SPAN> |
350 |
|
|
<span class="font10bold" style="color: #0000FF">FEText( |
351 |
|
|
label |
352 |
|
|
$label, [bool |
353 |
|
|
$required = TRUE], [int |
354 |
|
|
$width = NULL], [int |
355 |
|
|
$maxlength = NULL])</SPAN> |
356 |
|
|
<BR> |
357 |
|
|
|
358 |
|
|
<BR> |
359 |
|
|
<SPAN CLASS="font10bold">Description : </SPAN> |
360 |
|
|
The constructor |
361 |
|
|
<br /> |
362 |
|
|
|
363 |
|
|
<DL> |
364 |
|
|
<DT class="font10bold">Function Parameters:</DT> |
365 |
|
|
<DD CLASS="font10" STYLE="padding-bottom:5px;"><span STYLE="font-style: italic;">- <span style="color: #FF0000;font-weight:bold;">label</SPAN> <span style="color: #0000FF;font-weight:bold">$label</SPAN></SPAN> string - text label for the element</DD> |
366 |
|
|
<DD CLASS="font10" STYLE="padding-bottom:5px;"><span STYLE="font-style: italic;">- <span style="color: #FF0000;font-weight:bold;">bool</SPAN> <span style="color: #0000FF;font-weight:bold">$required</SPAN></SPAN> required - is this a required element</DD> |
367 |
|
|
<DD CLASS="font10" STYLE="padding-bottom:5px;"><span STYLE="font-style: italic;">- <span style="color: #FF0000;font-weight:bold;">int</SPAN> <span style="color: #0000FF;font-weight:bold">$width</SPAN></SPAN> required - element width in characters, pixels (px), percentage (%) or elements (em)</DD> |
368 |
|
|
<DD CLASS="font10" STYLE="padding-bottom:5px;"><span STYLE="font-style: italic;">- <span style="color: #FF0000;font-weight:bold;">int</SPAN> <span style="color: #0000FF;font-weight:bold">$maxlength</SPAN></SPAN> required - maximum number of chars allowed to type in</DD> |
369 |
|
|
|
370 |
|
|
<DT class="font10bold">Function Info:</DT> |
371 |
|
|
</DL> |
372 |
|
|
</DIV> |
373 |
|
|
<BR> |
374 |
|
|
<DIV CLASS="function"> |
375 |
|
|
<A NAME='methodget_element'><!-- --></A> |
376 |
|
|
<SPAN CLASS="font12bold">get_element</SPAN> (line <span class="linenumber">60</span>) |
377 |
|
|
<BR> |
378 |
|
|
<SPAN CLASS="font10bold">Usage : </SPAN> |
379 |
|
|
<span class="font10bold" style="color: #FF0000">object</SPAN> |
380 |
|
|
<span class="font10bold" style="color: #0000FF">get_element( |
381 |
|
|
)</SPAN> |
382 |
|
|
<BR> |
383 |
|
|
<p>Overridden in child classes as:<br /> |
384 |
|
|
<dl> |
385 |
|
|
<dt><a href="../../phpHtmlLib/FormProcessing/FEPassword.html#methodget_element">FEPassword::get_element()</a></dt> |
386 |
|
|
<dd>This function builds and returns the form element object</dd> |
387 |
|
|
</dl> |
388 |
|
|
</p> |
389 |
|
|
|
390 |
|
|
<span class="font10bold" style="padding-left: 10px;">Overrides :</span> <a href="../../phpHtmlLib/FormProcessing/FormElement.html#methodget_element">FormElement::get_element()</a> This function builds and returns the form element object |
391 |
|
|
<BR> |
392 |
|
|
<SPAN CLASS="font10bold">Description : </SPAN> |
393 |
|
|
This function builds and returns the form element object |
394 |
|
|
<br /> |
395 |
|
|
|
396 |
|
|
<DL> |
397 |
|
|
|
398 |
|
|
<DT class="font10bold">Function Info:</DT> |
399 |
|
|
</DL> |
400 |
|
|
</DIV> |
401 |
|
|
<BR> |
402 |
|
|
<div id="credit"> |
403 |
|
|
<hr> |
404 |
|
|
Documention generated on Thu, 20 Feb 2003 16:22:47 -0800 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.2.0rc1</a> |
405 |
|
|
</div> |
406 |
|
|
</body> |
407 |
|
|
</html> |