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

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

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

revision 1.1 by jonen, Sat Feb 22 21:05:38 2003 UTC revision 1.3 by jonen, Thu May 6 16:26:22 2004 UTC
# Line 1  Line 1 
 <!DOCTYPE HTML PUBLIC '-//W3C//DTD HTML 4.0 Transitional//EN' 'http://www.w3.org/TR/REC-html40/loose.dtd'>  
 <!--NewPage-->  
 <HTML>  
 <HEAD>  
         <!-- Generated by PhpDoc date: 'Thu, 20 Feb 2003 16:22:55 -0800' -->  
         <TITLE>Docs for page FormValidation.inc</TITLE>  
 <LINK REL ='stylesheet' TYPE='text/css' HREF='../../media/stylesheet.css' TITLE='Style'>  
 </HEAD>  
 <BODY style="background-color: #eeeeee; font-family: arial; font-size: .9em;">  
 <!-- Links -->  
 <a NAME="top"></A>  
 <table WIDTH="100%" class="links">  
  <TR>  
    <TD class="font10">  
       Links:  
       <A HREF="#classes_summary" class="links" title="Classes created in this file">Classes</A>  
       <A HREF="#includes_summary" class="links" title="Include Statements Summary">Includes</A>  
       <A HREF="#global_summary" class="links" title="Global Variable Summary">Globals</A>  
       <A HREF="#constant_summary" class="links" title="Constant Summary">Constants</A>  
       <A HREF="#function_summary" class="links" title="Function Summary">Functions</A>  
       <A HREF="#includes_detail" class="links" title="Include Statements Detail">Includes Detail</A>  
       <A HREF="#global_detail" class="links" title="Global Variable Detail">Globals Detail</A>  
       <A HREF="#constant_detail" class="links" title="Constant Detail">Constants Detail</A>  
       <A HREF="#function_detail" class="links" title="Function Detail">Functions Detail</A>  
    </TD>  
  </TR>  
 </TABLE>  
 <BR>  
 <h2>File: Program_Root/form/FormValidation.inc</h2>  
   
 <br />  
   
 <UL>  
         </UL>  
 <!-- =========== Used Classes =========== -->  
 <A NAME='classes_summary'><!-- --></A>  
 <TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='100%' Class="bordernobottom">  
         <TR BGCOLOR='#CCCCFF' CLASS='TableHeadingColor'>  
                 <TD>  
                         <span class="font12bold">Classes defined in this file</span>  
             <A HREF="#top" CLASS="links">^TOP</A>  
                 </TD>  
         </TR>  
 </TABLE>  
 <TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='100%' CLASS="border">  
         <THEAD>  
                 <TR><TD STYLE="width:20%"><h4>CLASS NAME</h4></TD><TD STYLE="width: 80%"><h4>DESCRIPTION</h4></TD></TR>  
         </THEAD>  
         <TBODY>  
                                 <TR BGCOLOR='white' CLASS='TableRowColor'>  
                         <TD><a href="../../phpHtmlLib/FormProcessing/FormValidation.html">FormValidation</a></TD>  
                         <TD>This is the base validation class that  contains some basic FormElement validation  methods.</TD>  
                 </TR>  
                         </TBODY>  
 </TABLE>  
 <br>  
 <!-- =========== Includes SUMMARY =========== -->  
 <A NAME='includes_summary'><!-- --></A>  
 <TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='100%' CLASS="bordernobottom">  
         <TR BGCOLOR='#CCCCFF' CLASS='TableHeadingColor'>  
                 <TD>  
                         <span CLASS="font12bold">Include Statements Summary</span>  
             <A HREF="#top" CLASS="links">^TOP</A>  
                 </TD>  
         </TR>  
 </TABLE>  
 <TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='100%' CLASS="border">  
         <THEAD>  
                 <TR><TH>INCLUDE TYPE</TH><TH>INCLUDED FILENAME</TH><TH>DESCRIPTION</TH></TR>  
         </THEAD>  
         <TBODY>  
                         </TBODY>  
 </TABLE>  
 <br>  
 <br>  
 <!-- =========== GLOBAL VARIABLE SUMMARY =========== -->  
 <A NAME='global_summary'><!-- --></A>  
 <TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='100%' CLASS="bordernobottom">  
         <TR BGCOLOR='#CCCCFF' CLASS='TableHeadingColor'>  
                 <TD>  
                         <span CLASS="font12bold">Global Variable Summary</span>  
             <A HREF="#top" CLASS="links">^TOP</A>  
                 </TD>  
         </TR>  
 </TABLE>  
 <TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='100%' CLASS="border">  
         <THEAD>  
                 <TR><TH>VARIABLE NAME</TH><TH>VARIABLE VALUE</TH><TH>DESCRIPTION</TH></TR>  
         </THEAD>  
         <TBODY>  
                         </TBODY>  
 </TABLE>  
 <br>  
 <br>  
 <!-- =========== CONSTANT SUMMARY =========== -->  
 <A NAME='constant_summary'><!-- --></A>  
 <TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='100%' Class="bordernobottom">  
         <TR BGCOLOR='#CCCCFF' CLASS='TableHeadingColor'>  
                 <TD>  
                         <span class="font12bold">Constant Summary</span>  
             <A HREF="#top" CLASS="links">^TOP</A>  
                 </TD>  
         </TR>  
 </TABLE>  
 <TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='100%' CLASS="border">  
         <THEAD>  
                 <TR><TH>CONSTANT NAME</TH><TH>CONSTANT VALUE</TH><TH>DESCRIPTION</TH></TR>  
         </THEAD>  
         <TBODY>  
                                 <TR BGCOLOR='white' CLASS='TableRowColor'>  
                         <TD><A HREF="../../phpHtmlLib/FormProcessing/_form_FormValidation_inc.html#defineSXVALIDATE_MAX_HOSTNAME_ELEMENT_LENGTH">SXVALIDATE_MAX_HOSTNAME_ELEMENT_LENGTH</A></TD>  
                         <TD>63</TD>  
                         <TD></TD>  
                 </TR>  
                                 <TR BGCOLOR='white' CLASS='TableRowColor'>  
                         <TD><A HREF="../../phpHtmlLib/FormProcessing/_form_FormValidation_inc.html#defineVALID">VALID</A></TD>  
                         <TD>TRUE</TD>  
                         <TD></TD>  
                 </TR>  
                                 <TR BGCOLOR='white' CLASS='TableRowColor'>  
                         <TD><A HREF="../../phpHtmlLib/FormProcessing/_form_FormValidation_inc.html#defineVALIDATE_EMAIL_LENGTH">VALIDATE_EMAIL_LENGTH</A></TD>  
                         <TD>256</TD>  
                         <TD></TD>  
                 </TR>  
                                 <TR BGCOLOR='white' CLASS='TableRowColor'>  
                         <TD><A HREF="../../phpHtmlLib/FormProcessing/_form_FormValidation_inc.html#defineVALIDATE_MAXSIZE">VALIDATE_MAXSIZE</A></TD>  
                         <TD>40</TD>  
                         <TD>$Id$</TD>  
                 </TR>  
                                 <TR BGCOLOR='white' CLASS='TableRowColor'>  
                         <TD><A HREF="../../phpHtmlLib/FormProcessing/_form_FormValidation_inc.html#defineVALIDATE_MAX_HOSTNAME_LENGTH">VALIDATE_MAX_HOSTNAME_LENGTH</A></TD>  
                         <TD>255</TD>  
                         <TD></TD>  
                 </TR>  
                         </TBODY>  
 </TABLE>  
 <br>  
 <br>  
 <!-- =========== FUNCTION SUMMARY =========== -->  
 <A NAME='function_summary'><!-- --></A>  
 <TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='100%' Class="bordernobottom">  
         <TR BGCOLOR='#CCCCFF' CLASS='TableHeadingColor'>  
                 <TD>  
                         <span class="font12bold">Function Summary</span>  
             <A HREF="#top" CLASS="links">^TOP</A>  
                 </TD>  
         </TR>  
   
         </TABLE>  
 <br>  
 <!-- ============ Includes DETAIL =========== -->  
   
 <A NAME='includes_detail'></A>  
 <TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='100%' CLASS="border">  
         <TR BGCOLOR='#CCCCFF' CLASS='TableHeadingColor'>  
                 <TD>  
                         <span CLASS="font12bold">Include Statements Detail</span>  
             <A HREF="#top" CLASS="links">^TOP</A>  
                 </TD>  
         </TR>  
 </TABLE>  
   
 <br>  
 <!-- ============ GLOBALS DETAIL =========== -->  
   
 <A NAME='global_detail'></A>  
 <TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='100%' CLASS="bordernobottom">  
         <TR BGCOLOR='#CCCCFF' CLASS='TableHeadingColor'>  
                 <TD>  
                         <span CLASS="font12bold">Global Variable Detail</span>  
             <A HREF="#top" CLASS="links">^TOP</A>  
                 </TD>  
         </TR>  
 </TABLE>  
   
 <br>  
 <!-- ============ CONSTANT DETAIL =========== -->  
   
 <A NAME='constant_detail'></A>  
 <TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='100%' CLASS="bordernobottom">  
         <TR BGCOLOR='#CCCCFF' CLASS='TableHeadingColor'>  
                 <TD>  
                         <span CLASS="font12bold">Constant Detail</span>  
             <A HREF="#top" CLASS="links">^TOP</A>  
                 </TD>  
         </TR>  
 </TABLE>  
   
 <DIV CLASS="function">  
 <A NAME="defineSXVALIDATE_MAX_HOSTNAME_ELEMENT_LENGTH"><!-- --></A>  
 <span class="font10bold">Constant Name : </span>SXVALIDATE_MAX_HOSTNAME_ELEMENT_LENGTH (line <span class="linenumber">22</span>)  
 <BR>  
 <span class="font10bold">Value         : </span>63  
 <DIV STYLE="padding-left: 10px">  
   
 <br />  
   
 <UL>  
         </UL>  
 </DIV>  
 </DIV>  
 <br>  
 <DIV CLASS="function">  
 <A NAME="defineVALID"><!-- --></A>  
 <span class="font10bold">Constant Name : </span>VALID (line <span class="linenumber">23</span>)  
 <BR>  
 <span class="font10bold">Value         : </span>TRUE  
 <DIV STYLE="padding-left: 10px">  
   
 <br />  
   
 <UL>  
         </UL>  
 </DIV>  
 </DIV>  
 <br>  
 <DIV CLASS="function">  
 <A NAME="defineVALIDATE_EMAIL_LENGTH"><!-- --></A>  
 <span class="font10bold">Constant Name : </span>VALIDATE_EMAIL_LENGTH (line <span class="linenumber">20</span>)  
 <BR>  
 <span class="font10bold">Value         : </span>256  
 <DIV STYLE="padding-left: 10px">  
   
 <br />  
   
 <UL>  
         </UL>  
 </DIV>  
 </DIV>  
 <br>  
 <DIV CLASS="function">  
 <A NAME="defineVALIDATE_MAXSIZE"><!-- --></A>  
 <span class="font10bold">Constant Name : </span>VALIDATE_MAXSIZE (line <span class="linenumber">19</span>)  
 <BR>  
 <span class="font10bold">Value         : </span>40  
 <DIV STYLE="padding-left: 10px">  
 $Id$  
 <br />  
 <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>  
 <UL>  
                 <LI><b>copyright</b> - <CODE>LGPL - See LICENCE</CODE></LI>  
                 <LI><b>author</b> - <CODE>Walter A. Boring IV &lt;<a href="mailto:waboring@buildabetterweb.com">mailto:waboring@buildabetterweb.com</a>&gt;</CODE></LI>  
         </UL>  
 </DIV>  
 </DIV>  
 <br>  
 <DIV CLASS="function">  
 <A NAME="defineVALIDATE_MAX_HOSTNAME_LENGTH"><!-- --></A>  
 <span class="font10bold">Constant Name : </span>VALIDATE_MAX_HOSTNAME_LENGTH (line <span class="linenumber">21</span>)  
 <BR>  
 <span class="font10bold">Value         : </span>255  
 <DIV STYLE="padding-left: 10px">  
   
 <br />  
   
 <UL>  
         </UL>  
 </DIV>  
 </DIV>  
 <br>  
 <br>  
 <!-- ============ FUNCTION DETAIL =========== -->  
   
 <A NAME='function_detail'></A>  
 <TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='100%' CLASS="bordernobottom">  
         <TR BGCOLOR='#CCCCFF' CLASS='TableHeadingColor'>  
                 <TD>  
                         <span class="font12bold">Function Detail</span>  
             <A HREF="#top" CLASS="links">^TOP</A>  
                 </TD>  
         </TR>  
 </TABLE>  
 <BR>  
 <br>  
         <div id="credit">  
                 <hr>  
                 Documention generated on Thu, 20 Feb 2003 16:22:55 -0800 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.2.0rc1</a>  
         </div>  
 </body>  
 </html>  
 </HTML>  
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    <h2 class="file-name">/form/FormValidation.inc</h2>
13    
14    <a name="sec-description"></a>
15    <div class="info-box">
16            <div class="info-box-title">Description</div>
17            <div class="nav-bar">
18                                            <span class="disabled">Description</span> |
19                                                            <a href="#sec-classes">Classes</a>
20                            |                                                                       <a href="#sec-constants">Constants</a>
21                                                                                    </div>
22            <div class="info-box-body">    
23                    <!-- ========== Info from phpDoc block ========= -->
24    <p class="short-description">$Id$</p>
25    <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>
26            <ul class="tags">
27                                    <li><span class="field">copyright:</span> LGPL - See LICENCE</li>
28                                    <li><span class="field">author:</span> Walter A. Boring IV &lt;<a href="mailto:waboring@buildabetterweb.com">waboring@buildabetterweb.com</a>&gt;</li>
29                            </ul>
30                    
31                            </div>
32    </div>
33                    
34            <a name="sec-classes"></a>      
35            <div class="info-box">
36                    <div class="info-box-title">Classes</div>
37                    <div class="nav-bar">
38                            <a href="#sec-description">Description</a> |
39                            <span class="disabled">Classes</span>
40                            |                                                                               <a href="#sec-constants">Constants</a>
41                                                                                                                            </div>
42                    <div class="info-box-body">    
43                            <table cellpadding="2" cellspacing="0" class="class-table">
44                                    <tr>
45                                            <th class="class-table-header">Class</th>
46                                            <th class="class-table-header">Description</th>
47                                    </tr>
48                                                                    <tr>
49                                            <td style="padding-right: 2em; vertical-align: top">
50                                                    <a href="../../phpHtmlLib/FormProcessing/FormValidation.html">FormValidation</a>
51                                            </td>
52                                            <td>
53                                                                                            This is the base validation class that  contains some basic FormElement validation  methods.
54                                                                                    </td>
55                                    </tr>
56                                                            </table>
57                    </div>
58            </div>
59    
60            
61            <a name="sec-constants"></a>    
62            <div class="info-box">
63                    <div class="info-box-title">Constants</div>
64                    <div class="nav-bar">
65                            <a href="#sec-description">Description</a> |
66                                                            <a href="#sec-classes">Classes</a>
67                                    |                                                                       <span class="disabled">Constants</span>
68                                                                                            </div>
69                    <div class="info-box-body">    
70                            <a name="defineSXVALIDATE_MAX_HOSTNAME_ELEMENT_LENGTH"><!-- --></a>
71    <div class="oddrow">
72            
73            <div>
74                    <span class="const-title">
75                            <span class="const-name">SXVALIDATE_MAX_HOSTNAME_ELEMENT_LENGTH</span> = 63
76                            (line <span class="line-number">22</span>)
77                    </span>
78            </div>
79            
80            <!-- ========== Info from phpDoc block ========= -->
81            
82                    
83    </div>
84    <a name="defineVALID"><!-- --></a>
85    <div class="evenrow">
86            
87            <div>
88                    <span class="const-title">
89                            <span class="const-name">VALID</span> = TRUE
90                            (line <span class="line-number">23</span>)
91                    </span>
92            </div>
93            
94            <!-- ========== Info from phpDoc block ========= -->
95            
96                    
97    </div>
98    <a name="defineVALIDATE_EMAIL_LENGTH"><!-- --></a>
99    <div class="oddrow">
100            
101            <div>
102                    <span class="const-title">
103                            <span class="const-name">VALIDATE_EMAIL_LENGTH</span> = 256
104                            (line <span class="line-number">20</span>)
105                    </span>
106            </div>
107            
108            <!-- ========== Info from phpDoc block ========= -->
109            
110                    
111    </div>
112    <a name="defineVALIDATE_MAXSIZE"><!-- --></a>
113    <div class="evenrow">
114            
115            <div>
116                    <span class="const-title">
117                            <span class="const-name">VALIDATE_MAXSIZE</span> = 40
118                            (line <span class="line-number">19</span>)
119                    </span>
120            </div>
121            
122            <!-- ========== Info from phpDoc block ========= -->
123            
124                    
125    </div>
126    <a name="defineVALIDATE_MAX_HOSTNAME_LENGTH"><!-- --></a>
127    <div class="oddrow">
128            
129            <div>
130                    <span class="const-title">
131                            <span class="const-name">VALIDATE_MAX_HOSTNAME_LENGTH</span> = 255
132                            (line <span class="line-number">21</span>)
133                    </span>
134            </div>
135            
136            <!-- ========== Info from phpDoc block ========= -->
137            
138                    
139    </div>
140                    </div>
141            </div>
142            
143            
144            
145            <p class="notes" id="credit">
146                    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>
147            </p>
148            </div></body>
149    </html>

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

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