X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/7a654f8d43fdb43d78b63d90528bed6e86b608cc..3789b528d8dd8aad4558e38e22d775bcab1cbd36:/docs/source/validations.html?ds=sidebyside diff --git a/docs/source/validations.html b/docs/source/validations.html index 4237f814..f12d2f13 100644 --- a/docs/source/validations.html +++ b/docs/source/validations.html @@ -1,4 +1,21 @@ -Sencha Documentation Project
/**
+
+
+
+  
+  The source code
+  
+  
+  
+  
+
+
+  
/**
  * @author Ed Spencer
  * @class Ext.data.validations
  * @extends Object
@@ -10,42 +27,42 @@
 Ext.define('Ext.data.validations', {
     singleton: true,
     
-    /**
+    /**
      * The default error message used when a presence validation fails
      * @property presenceMessage
      * @type String
      */
     presenceMessage: 'must be present',
     
-    /**
+    /**
      * The default error message used when a length validation fails
      * @property lengthMessage
      * @type String
      */
     lengthMessage: 'is the wrong length',
     
-    /**
+    /**
      * The default error message used when a format validation fails
      * @property formatMessage
      * @type Boolean
      */
     formatMessage: 'is the wrong format',
     
-    /**
+    /**
      * The default error message used when an inclusion validation fails
      * @property inclusionMessage
      * @type String
      */
     inclusionMessage: 'is not included in the list of acceptable values',
     
-    /**
+    /**
      * The default error message used when an exclusion validation fails
      * @property exclusionMessage
      * @type String
      */
     exclusionMessage: 'is not an acceptable value',
     
-    /**
+    /**
      * Validates that the given value is present
      * @param {Object} config Optional config object
      * @param {Mixed} value The value to validate
@@ -59,7 +76,7 @@ Ext.define('Ext.data.validations', {
         return !!value;
     },
     
-    /**
+    /**
      * Returns true if the given value is between the configured min and max values
      * @param {Object} config Optional config object
      * @param {String} value The value to validate
@@ -81,7 +98,7 @@ Ext.define('Ext.data.validations', {
         }
     },
     
-    /**
+    /**
      * Returns true if the given value passes validation against the configured {@link #matcher} regex
      * @param {Object} config Optional config object
      * @param {String} value The value to validate
@@ -91,7 +108,7 @@ Ext.define('Ext.data.validations', {
         return !!(config.matcher && config.matcher.test(value));
     },
     
-    /**
+    /**
      * Validates that the given value is present in the configured {@link #list}
      * @param {String} value The value to validate
      * @return {Boolean} True if the value is present in the list
@@ -100,7 +117,7 @@ Ext.define('Ext.data.validations', {
         return config.list && Ext.Array.indexOf(config.list,value) != -1;
     },
     
-    /**
+    /**
      * Validates that the given value is present in the configured {@link #list}
      * @param {Object} config Optional config object
      * @param {String} value The value to validate
@@ -109,4 +126,6 @@ Ext.define('Ext.data.validations', {
     exclusion: function(config, value) {
         return config.list && Ext.Array.indexOf(config.list,value) == -1;
     }
-});
\ No newline at end of file +});
+ +