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

Annotation of /nfo/php/libs/com.newsblob.phphtmllib/doc/phpHtmlLib/FormProcessing/FormErrors.html

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (hide annotations)
Sat Sep 20 00:37:10 2003 UTC (20 years, 11 months ago) by jonen
Branch: MAIN
Changes since 1.1: +166 -232 lines
File MIME type: text/html
+ updated whole phphtmllib to v2.3.0

1 jonen 1.2 <?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 Class FormErrors</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="class-name">Class FormErrors</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-var-summary">Vars</a> (<a href="#sec-vars">details</a>)
20     | <a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>)
21    
22     </div>
23     <div class="info-box-body">
24     <!-- ========== Info from phpDoc block ========= -->
25     <p class="short-description">This file holds the error codes and error messages associated with those codes for English</p>
26     <p class="description"><p>$Id: FormErrors.html,v 1.14 2003/08/01 01:37:46 hemna Exp $</p></p>
27     <ul class="tags">
28     <li><span class="field">copyright:</span> <p>LGPL - See LICENCE</p></li>
29     <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     </ul>
31     <p class="notes">
32     Located in <a class="field" href="_form_FormErrors_inc.html">Program_Root/form/FormErrors.inc</a> (line <span class="field">16</span>)
33     </p>
34    
35    
36     <pre></pre>
37    
38     </div>
39     </div>
40    
41    
42     <a name="sec-var-summary"></a>
43     <div class="info-box">
44     <div class="info-box-title">Variable Summary</span></div>
45     <div class="nav-bar">
46     <a href="#sec-description">Description</a> |
47     <span class="disabled">Vars</span> (<a href="#sec-vars">details</a>)
48     |
49     <a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>)
50    
51     </div>
52     <div class="info-box-body">
53     <div class="var-summary">
54     <div class="var-title">
55     <span class="var-type">mixed</span>
56     <a href="#$error_array" title="details" class="var-name">$error_array</a>
57     </div>
58     </div>
59     </div>
60     </div>
61    
62     <a name="sec-method-summary"></a>
63     <div class="info-box">
64     <div class="info-box-title">Method Summary</span></div>
65     <div class="nav-bar">
66     <a href="#sec-description">Description</a> |
67     <a href="#sec-var-summary">Vars</a> (<a href="#sec-vars">details</a>)
68    
69     |
70     <span class="disabled">Methods</span> (<a href="#sec-methods">details</a>)
71     </div>
72     <div class="info-box-body">
73     <div class="method-summary">
74    
75     <div class="method-definition">
76     <span class="method-result">string</span>
77     <a href="#get_error_msg" title="details" class="method-name">get_error_msg</a>
78     (<span class="var-type">string</span>&nbsp;<span class="var-name">$err</span>)
79     </div>
80     </div>
81     </div>
82     </div>
83    
84     <a name="sec-vars"></a>
85     <div class="info-box">
86     <div class="info-box-title">Variables</div>
87     <div class="nav-bar">
88     <a href="#sec-description">Description</a> |
89     <a href="#sec-var-summary">Vars</a> (<span class="disabled">details</span>)
90    
91    
92     |
93     <a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>)
94    
95     </div>
96     <div class="info-box-body">
97     <a name="var$error_array" id="$error_array"><!-- --></A>
98     <div class="evenrow">
99    
100     <div class="var-header">
101     <span class="var-title">
102     <span class="var-type">mixed</span>
103     <span class="var-name">$error_array</span>
104     = <span class="var-default">array(<br /> &quot;ERR_OK&quot; =&gt; 0,<br /> &quot;ERR_EMPTY&quot; =&gt; &quot;This field cannot be empty&quot;,<br /><br /> &quot;INVALID_IP&quot; =&gt; &quot;The IP address you have entered is not in a valid format&quot;,<br /> &quot;INVALID_LOGIN_NAME_LENGTH&quot; =&gt; &quot;The User Name must be less than 40 characters.&quot;,<br /> &quot;INVALID_LOGIN_NAME_EMPTY&quot; =&gt; &quot;The User Name field must not be blank.&quot;,<br /> &quot;INVALID_LOGIN_NAME_CHARACTERS&quot; =&gt; &quot;The User Name field may contain only letters and numbers.&quot;,<br /> &quot;INVALID_PASSWORD_EMPTY&quot; =&gt; &quot;The Password field must not be blank.&quot;,<br /> &quot;INVALID_PASSWORD_LENGTH&quot; =&gt; &quot;The Password field should be less than 40 characters.&quot;,<br /> &quot;INVALID_PASSWORD_CHARACTERS&quot; =&gt; &quot;The Password field contains invalid characters&quot;,<br /> &quot;PASSWORD_CONFIRM_NO_MATCH&quot; =&gt; &quot;The password and confirmation password you have typed do not match. Please try again.&quot;,<br /><br /> &quot;INVALID_PATH_LENGTH&quot; =&gt; &quot;The path field does not meet the requirements. It must be less than 40 characters.&quot;,<br /> &quot;INVALID_PATH_EMPTY&quot; =&gt; &quot;The path field must not be blank.&quot;,<br /> &quot;INVALID_PATH_CHARACTERS &quot; =&gt; &quot;The path field may contain only letters and numbers.&quot;,<br /><br /> &quot;INVALID_NUMBER&quot; =&gt; &quot;This field must contain a valid number.&quot;,<br /> &quot;INVALID_LENGTH_40&quot; =&gt; &quot;This field must not exceed 40 characters in length.&quot;,<br /> &quot;INVALID_NAME_EMPTY&quot; =&gt; &quot;The name must not be empty.&quot;,<br /> &quot;INVALID_NAME_CHARACTERS&quot; =&gt; &quot;The name may contain only letters and numbers.&quot;,<br /><br /> &quot;EMPTY_FIELD&quot; =&gt; &quot;This field can not be empty&quot;,<br /> &quot;INVALID_DOMAIN_NAME&quot; =&gt; &quot;This domain name you have entered is not valid.&quot;,<br /> &quot;INVALID_HOST_NAME&quot; =&gt; &quot;The host name you have entered is not valid.&quot;,<br /> &quot;INVALID_IP_EMPTY&quot; =&gt; &quot;The IP Address must not be empty.&quot;,<br /> &quot;INVALID_EMAIL_EMPTY&quot; =&gt; &quot;The email address can not be empty.&quot;,<br /> &quot;INVALID_EMAIL&quot; =&gt; &quot;The email address is not properly formatted.&quot;,<br /> &quot;INVALID_LENGTH_256&quot; =&gt; &quot;This field must not exceed 256 characters in length.&quot;,<br /> &quot;INVALID_PHONE&quot; =&gt; &quot;The phone number you have entered is not properly formatted.&quot;,<br /> <br /> &quot;ONLY_DIGITS&quot; =&gt; &quot;Only numeric digits are allowed in this field.&quot;,<br /> &quot;INVALID_MONTH&quot; =&gt; &quot;You have entered an invalid month.&quot;,<br /> &quot;INVALID_DAY&quot; =&gt; &quot;You have entered an invalid day.&quot;,<br /> &quot;INVALID_YEAR&quot; =&gt; &quot;You have entered an invalid year.&quot;,<br /> &quot;INVALID_HOUR&quot; =&gt; &quot;You have entered an invalid hour.&quot;,<br /> &quot;INVALID_MINUTES&quot; =&gt; &quot;You have entered invalid mintues.&quot;,<br /> &quot;INVALID_SECONDS&quot; =&gt; &quot;You have entered invalid seconds.&quot;,<br /> &quot;INVALID_LEAP_DAY&quot; =&gt; &quot;The year you have entered is not a leap year. February only has 28 days.&quot;,<br /> &quot;INVALID_30_DAY&quot; =&gt; &quot;There are only 30 days in this month.&quot;,<br /> &quot;INVALID_ZERO_HUNDRED_NUMBER&quot; =&gt; &quot;This number must be between 0 and 100.&quot;,<br /> &quot;INVALID_MONEY&quot; =&gt; &quot;This must be a valid amount in Dollars and Cents.&quot;,<br /> &quot;INVALID_FLOAT&quot; =&gt; &quot;This must be a valid floating point number.&quot;,<br /> &quot;INVALID_EMAIL_MISSING_BRACKETS&quot; =&gt; &quot;The long form email address must contain the &lt; &gt; characters, such as \&quot;Foo Bar &amp;lt;foo@bar.com&amp;gt;\&quot;.&quot;,<br /><br /> &quot;INVALID_EMPTY&quot; =&gt; &quot;This field cannot be empty.&quot;,<br /> &quot;INVALID_STATE&quot; =&gt; &quot;You must specify a 2 letter state code (ie. 'CA' for California).&quot;,<br /> &quot;INVALID_ZIP&quot; =&gt; &quot;Invalid zip code&quot;,<br /> &quot;INVALID_FIELD&quot; =&gt; &quot;This field's value is invalid.&quot;,<br /> &quot;INVALID_TIME_FORMAT&quot; =&gt; &quot;You have entred an invalid date/time format.&quot;,<br /> &quot;INVALID_YEAR_DATE_1990_3000&quot; =&gt; &quot;The year must be between 1990 and 3000&quot;,<br /><br /> &quot;INVALID_PRICE&quot; =&gt; &quot;Price must be a valid, non-zero amount in dollars and cents.&quot;,<br /><br /> &quot;CCEXP&quot; =&gt; &quot;Credit card expired already&quot;,<br /> &quot;CCEXP_TOO_FAR&quot; =&gt; &quot;Credit card expires in more than 30 years?&quot;,<br /> &quot;NOT_IN_RANGE&quot; =&gt; &quot;Value not in range.&quot;,<br /> &quot;INVALID_URL&quot; =&gt; &quot;URL must be in the form of http[s]://hostip [:port number] [path]&quot;,<br /> &quot;INVALID_LENGTH&quot; =&gt; &quot;Entry has exceeded allowed length.&quot;,<br /> &quot;INVALID_STANDALONE_HOST_NAME&quot; =&gt; &quot;You have entered an invalid host name. Please enter a Hostname without the domainname.&quot;,<br /><br /> &quot;INVALID_ALPHANUM_CHARACTERS&quot; =&gt; &quot;This field may contain only numbers and letters.&quot;,<br /> &quot;NOT_LEAPYEAR&quot; =&gt; &quot;The year is not a leapyear&quot;<br /> )</span> (line <span class="line-number">22</span>)
105     </span>
106     </div>
107    
108     <!-- ========== Info from phpDoc block ========= -->
109     <p class="short-description">error array from the FormValidation class.</p>
110    
111    
112    
113    
114    
115     </div>
116    
117     </div>
118 jonen 1.1 </div>
119 jonen 1.2
120     <a name="sec-methods"></a>
121     <div class="info-box">
122     <div class="info-box-title">Methods</div>
123     <div class="nav-bar">
124     <a href="#sec-description">Description</a> |
125     <a href="#sec-var-summary">Vars</a> (<a href="#sec-vars">details</a>)
126     <a href="#sec-method-summary">Methods</a> (<span class="disabled">details</span>)
127    
128     </div>
129     <div class="info-box-body">
130     <A NAME='method_detail'></A>
131     <a name="methodget_error_msg" id="get_error_msg"><!-- --></a>
132     <div class="oddrow">
133    
134     <div class="method-header">
135     <span class="method-title">get_error_msg</span> (line <span class="line-number">95</span>)
136     </div>
137    
138     <!-- ========== Info from phpDoc block ========= -->
139     <p class="short-description">This returns the appropriate error message based on the error #.</p>
140     <ul class="tags">
141     <li><span class="field">return:</span> <p>- the error string.</p></li>
142     </ul>
143    
144     <div class="method-signature">
145     <span class="method-result">string</span>
146     <span class="method-name">
147     get_error_msg
148     </span>
149     (<span class="var-type">string</span>&nbsp;<span class="var-name">$err</span>)
150     </div>
151    
152     <ul class="parameters">
153     <li>
154     <span class="var-type">string</span>
155     <span class="var-name">$err</span><span class="var-description">: <p>- the error code</p></span> </li>
156     </ul>
157    
158    
159     </div>
160    
161     </div>
162     </div>
163    
164     <p class="notes" id="credit">
165     Documention generated on Thu, 31 Jul 2003 18:32:44 -0700 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.2.0</a>
166     </p>
167     </div></body>
168 jonen 1.1 </html>

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