X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/7a654f8d43fdb43d78b63d90528bed6e86b608cc..3789b528d8dd8aad4558e38e22d775bcab1cbd36:/docs/source/VTypes.html diff --git a/docs/source/VTypes.html b/docs/source/VTypes.html index f0967b10..a38438a2 100644 --- a/docs/source/VTypes.html +++ b/docs/source/VTypes.html @@ -1,4 +1,21 @@ -Sencha Documentation Project
/**
+
+
+
+  
+  The source code
+  
+  
+  
+  
+
+
+  
/**
  * @class Ext.form.field.VTypes
  * <p>This is a singleton object which contains a set of commonly used field validation functions.
  * The validations provided are basic and intended to be easily customizable and extended.</p>
@@ -44,7 +61,7 @@ Ext.define('Ext.form.field.VTypes', (function(){
         singleton: true,
         alternateClassName: 'Ext.form.VTypes',
 
-        /**
+        /**
          * The function used to validate email addresses.  Note that this is a very basic validation -- complete
          * validation per the email RFC specifications is very complex and beyond the scope of this class, although
          * this function can be overridden if a more comprehensive validation scheme is desired.  See the validation
@@ -58,13 +75,13 @@ Ext.define('Ext.form.field.VTypes', (function(){
         'email' : function(v){
             return email.test(v);
         },
-        /**
+        /**
          * The error text to display when the email validation function returns false.  Defaults to:
          * <tt>'This field should be an e-mail address in the format "user@example.com"'</tt>
          * @type String
          */
         'emailText' : 'This field should be an e-mail address in the format "user@example.com"',
-        /**
+        /**
          * The keystroke filter mask to be applied on email input.  See the {@link #email} method for
          * information about more complex email validation. Defaults to:
          * <tt>/[a-z0-9_\.\-@]/i</tt>
@@ -72,7 +89,7 @@ Ext.define('Ext.form.field.VTypes', (function(){
          */
         'emailMask' : /[a-z0-9_\.\-@\+]/i,
 
-        /**
+        /**
          * The function used to validate URLs
          * @param {String} value The URL
          * @return {Boolean} true if the RegExp test passed, and false if not.
@@ -80,14 +97,14 @@ Ext.define('Ext.form.field.VTypes', (function(){
         'url' : function(v){
             return url.test(v);
         },
-        /**
+        /**
          * The error text to display when the url validation function returns false.  Defaults to:
          * <tt>'This field should be a URL in the format "http:/'+'/www.example.com"'</tt>
          * @type String
          */
         'urlText' : 'This field should be a URL in the format "http:/'+'/www.example.com"',
 
-        /**
+        /**
          * The function used to validate alpha values
          * @param {String} value The value
          * @return {Boolean} true if the RegExp test passed, and false if not.
@@ -95,20 +112,20 @@ Ext.define('Ext.form.field.VTypes', (function(){
         'alpha' : function(v){
             return alpha.test(v);
         },
-        /**
+        /**
          * The error text to display when the alpha validation function returns false.  Defaults to:
          * <tt>'This field should only contain letters and _'</tt>
          * @type String
          */
         'alphaText' : 'This field should only contain letters and _',
-        /**
+        /**
          * The keystroke filter mask to be applied on alpha input.  Defaults to:
          * <tt>/[a-z_]/i</tt>
          * @type RegExp
          */
         'alphaMask' : /[a-z_]/i,
 
-        /**
+        /**
          * The function used to validate alphanumeric values
          * @param {String} value The value
          * @return {Boolean} true if the RegExp test passed, and false if not.
@@ -116,13 +133,13 @@ Ext.define('Ext.form.field.VTypes', (function(){
         'alphanum' : function(v){
             return alphanum.test(v);
         },
-        /**
+        /**
          * The error text to display when the alphanumeric validation function returns false.  Defaults to:
          * <tt>'This field should only contain letters, numbers and _'</tt>
          * @type String
          */
         'alphanumText' : 'This field should only contain letters, numbers and _',
-        /**
+        /**
          * The keystroke filter mask to be applied on alphanumeric input.  Defaults to:
          * <tt>/[a-z0-9_]/i</tt>
          * @type RegExp
@@ -130,4 +147,6 @@ Ext.define('Ext.form.field.VTypes', (function(){
         'alphanumMask' : /[a-z0-9_]/i
     };
 })());
-
\ No newline at end of file +
+ +