1 |
<?xml version="1.0" encoding="iso-8859-1"?> |
2 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
3 |
<html xmlns="http://www.w3.org/1999/xhtml"> |
4 |
<head> |
5 |
<!-- template designed by Marco Von Ballmoos --> |
6 |
<title>Docs for page FormValidation.inc</title> |
7 |
<link rel="stylesheet" href="../../media/stylesheet.css" /> |
8 |
<meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1'/> |
9 |
</head> |
10 |
<body> |
11 |
<div class="page-body"> |
12 |
|
13 |
<h2 class="file-name">/form/FormValidation.inc</h2> |
14 |
|
15 |
<a name="sec-description"></a> |
16 |
<div class="info-box"> |
17 |
<div class="info-box-title">Description</div> |
18 |
<div class="nav-bar"> |
19 |
<span class="disabled">Description</span> | |
20 |
<a href="#sec-classes">Classes</a> |
21 |
| <a href="#sec-constants">Constants</a> |
22 |
</div> |
23 |
<div class="info-box-body"> |
24 |
<!-- ========== Info from phpDoc block ========= --> |
25 |
<p class="short-description">$Id: _form_FormValidation_inc.html,v 1.19 2004/04/01 17:35:47 hemna Exp $</p> |
26 |
<p class="description"><p>This class handles the validation of form fields This is used in conjunction with the FormProcessing class, and the FormContent Class. In the FormContent class, you create an array of fields that you want checked in the validate() method.</p></p> |
27 |
<ul class="tags"> |
28 |
<li><span class="field">copyright:</span> LGPL - See LICENCE</li> |
29 |
<li><span class="field">author:</span> Walter A. Boring IV <<a href="mailto:waboring@buildabetterweb.com">waboring@buildabetterweb.com</a>></li> |
30 |
</ul> |
31 |
|
32 |
</div> |
33 |
</div> |
34 |
|
35 |
<a name="sec-classes"></a> |
36 |
<div class="info-box"> |
37 |
<div class="info-box-title">Classes</div> |
38 |
<div class="nav-bar"> |
39 |
<a href="#sec-description">Description</a> | |
40 |
<span class="disabled">Classes</span> |
41 |
| <a href="#sec-constants">Constants</a> |
42 |
</div> |
43 |
<div class="info-box-body"> |
44 |
<table cellpadding="2" cellspacing="0" class="class-table"> |
45 |
<tr> |
46 |
<th class="class-table-header">Class</th> |
47 |
<th class="class-table-header">Description</th> |
48 |
</tr> |
49 |
<tr> |
50 |
<td style="padding-right: 2em; vertical-align: top"> |
51 |
<a href="../../phpHtmlLib/FormProcessing/FormValidation.html">FormValidation</a> |
52 |
</td> |
53 |
<td> |
54 |
This is the base validation class that contains some basic FormElement validation methods. |
55 |
</td> |
56 |
</tr> |
57 |
</table> |
58 |
</div> |
59 |
</div> |
60 |
|
61 |
|
62 |
<a name="sec-constants"></a> |
63 |
<div class="info-box"> |
64 |
<div class="info-box-title">Constants</div> |
65 |
<div class="nav-bar"> |
66 |
<a href="#sec-description">Description</a> | |
67 |
<a href="#sec-classes">Classes</a> |
68 |
| <span class="disabled">Constants</span> |
69 |
</div> |
70 |
<div class="info-box-body"> |
71 |
<a name="defineSXVALIDATE_MAX_HOSTNAME_ELEMENT_LENGTH"><!-- --></a> |
72 |
<div class="oddrow"> |
73 |
|
74 |
<div> |
75 |
<span class="const-title"> |
76 |
<span class="const-name">SXVALIDATE_MAX_HOSTNAME_ELEMENT_LENGTH</span> = 63 |
77 |
(line <span class="line-number">22</span>) |
78 |
</span> |
79 |
</div> |
80 |
|
81 |
<!-- ========== Info from phpDoc block ========= --> |
82 |
|
83 |
|
84 |
</div> |
85 |
<a name="defineVALID"><!-- --></a> |
86 |
<div class="evenrow"> |
87 |
|
88 |
<div> |
89 |
<span class="const-title"> |
90 |
<span class="const-name">VALID</span> = TRUE |
91 |
(line <span class="line-number">23</span>) |
92 |
</span> |
93 |
</div> |
94 |
|
95 |
<!-- ========== Info from phpDoc block ========= --> |
96 |
|
97 |
|
98 |
</div> |
99 |
<a name="defineVALIDATE_EMAIL_LENGTH"><!-- --></a> |
100 |
<div class="oddrow"> |
101 |
|
102 |
<div> |
103 |
<span class="const-title"> |
104 |
<span class="const-name">VALIDATE_EMAIL_LENGTH</span> = 256 |
105 |
(line <span class="line-number">20</span>) |
106 |
</span> |
107 |
</div> |
108 |
|
109 |
<!-- ========== Info from phpDoc block ========= --> |
110 |
|
111 |
|
112 |
</div> |
113 |
<a name="defineVALIDATE_MAXSIZE"><!-- --></a> |
114 |
<div class="evenrow"> |
115 |
|
116 |
<div> |
117 |
<span class="const-title"> |
118 |
<span class="const-name">VALIDATE_MAXSIZE</span> = 40 |
119 |
(line <span class="line-number">19</span>) |
120 |
</span> |
121 |
</div> |
122 |
|
123 |
<!-- ========== Info from phpDoc block ========= --> |
124 |
|
125 |
|
126 |
</div> |
127 |
<a name="defineVALIDATE_MAX_HOSTNAME_LENGTH"><!-- --></a> |
128 |
<div class="oddrow"> |
129 |
|
130 |
<div> |
131 |
<span class="const-title"> |
132 |
<span class="const-name">VALIDATE_MAX_HOSTNAME_LENGTH</span> = 255 |
133 |
(line <span class="line-number">21</span>) |
134 |
</span> |
135 |
</div> |
136 |
|
137 |
<!-- ========== Info from phpDoc block ========= --> |
138 |
|
139 |
|
140 |
</div> |
141 |
</div> |
142 |
</div> |
143 |
|
144 |
|
145 |
|
146 |
<p class="notes" id="credit"> |
147 |
Documentation generated on Thu, 1 Apr 2004 09:38:53 -0800 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.3.0RC2</a> |
148 |
</p> |
149 |
</div></body> |
150 |
</html> |