X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/7a654f8d43fdb43d78b63d90528bed6e86b608cc..f562e4c6e5fac7bcb445985b99acbea4d706e6f0:/docs/source/SortTypes.html diff --git a/docs/source/SortTypes.html b/docs/source/SortTypes.html index 9bf64460..6171d7a2 100644 --- a/docs/source/SortTypes.html +++ b/docs/source/SortTypes.html @@ -1,4 +1,21 @@ -Sencha Documentation Project
/**
+
+
+
+  
+  The source code
+  
+  
+  
+  
+
+
+  
/**
  * @class Ext.data.SortTypes
  * This class defines a series of static methods that are used on a
  * {@link Ext.data.Field} for performing sorting. The methods cast the 
@@ -45,52 +62,52 @@ Ext.define('Ext.data.SortTypes', {
     
     singleton: true,
     
-    /**
+    /**
      * Default sort that does nothing
-     * @param {Mixed} s The value being converted
-     * @return {Mixed} The comparison value
+     * @param {Object} s The value being converted
+     * @return {Object} The comparison value
      */
     none : function(s) {
         return s;
     },
 
-    /**
+    /**
      * The regular expression used to strip tags
      * @type {RegExp}
      * @property
      */
     stripTagsRE : /<\/?[^>]+>/gi,
 
-    /**
+    /**
      * Strips all HTML tags to sort on text only
-     * @param {Mixed} s The value being converted
+     * @param {Object} s The value being converted
      * @return {String} The comparison value
      */
     asText : function(s) {
         return String(s).replace(this.stripTagsRE, "");
     },
 
-    /**
+    /**
      * Strips all HTML tags to sort on text only - Case insensitive
-     * @param {Mixed} s The value being converted
+     * @param {Object} s The value being converted
      * @return {String} The comparison value
      */
     asUCText : function(s) {
         return String(s).toUpperCase().replace(this.stripTagsRE, "");
     },
 
-    /**
+    /**
      * Case insensitive string
-     * @param {Mixed} s The value being converted
+     * @param {Object} s The value being converted
      * @return {String} The comparison value
      */
     asUCString : function(s) {
         return String(s).toUpperCase();
     },
 
-    /**
+    /**
      * Date sorting
-     * @param {Mixed} s The value being converted
+     * @param {Object} s The value being converted
      * @return {Number} The comparison value
      */
     asDate : function(s) {
@@ -103,23 +120,25 @@ Ext.define('Ext.data.SortTypes', {
         return Date.parse(String(s));
     },
 
-    /**
+    /**
      * Float sorting
-     * @param {Mixed} s The value being converted
-     * @return {Float} The comparison value
+     * @param {Object} s The value being converted
+     * @return {Number} The comparison value
      */
     asFloat : function(s) {
         var val = parseFloat(String(s).replace(/,/g, ""));
         return isNaN(val) ? 0 : val;
     },
 
-    /**
+    /**
      * Integer sorting
-     * @param {Mixed} s The value being converted
+     * @param {Object} s The value being converted
      * @return {Number} The comparison value
      */
     asInt : function(s) {
         var val = parseInt(String(s).replace(/,/g, ""), 10);
         return isNaN(val) ? 0 : val;
     }
-});
\ No newline at end of file +});
+ +