94c1e7a5751bc0f301ebac33c7f38b0a27505f6c.svn-base 8.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187
  1. <div class="body-wrap">
  2. <div class="top-tools">
  3. <a class="inner-link" href="#Ext.data.SortTypes-props"><img src="../resources/images/default/s.gif" class="item-icon icon-prop">Properties</a>
  4. <a class="inner-link" href="#Ext.data.SortTypes-methods"><img src="../resources/images/default/s.gif" class="item-icon icon-method">Methods</a>
  5. <a class="inner-link" href="#Ext.data.SortTypes-events"><img src="../resources/images/default/s.gif" class="item-icon icon-event">Events</a>
  6. <a class="bookmark" href="../docs/?class=Ext.data.SortTypes"><img src="../resources/images/default/s.gif" class="item-icon icon-fav">Direct Link</a>
  7. </div>
  8. <h1>Class Ext.data.SortTypes</h1>
  9. <table cellspacing="0">
  10. <tr><td class="label">Package:</td><td class="hd-info">Ext.data</td></tr>
  11. <tr><td class="label">Defined In:</td><td class="hd-info"><a href="../src/SortTypes.js" target="_blank">SortTypes.js</a></td></tr>
  12. <tr><td class="label">Class:</td><td class="hd-info">SortTypes</td></tr>
  13. <tr><td class="label">Extends:</td><td class="hd-info">Object</td></tr>
  14. </table>
  15. <div class="description">
  16. <br><br><i>This class is a singleton and cannot be created directly.</i> </div>
  17. <div class="hr"></div>
  18. <a id="Ext.data.SortTypes-props"></a>
  19. <h2>Public Properties</h2>
  20. <table cellspacing="0" class="member-table">
  21. <tr>
  22. <th class="sig-header" colspan="2">Property</th>
  23. <th class="msource-header">Defined By</th>
  24. </tr>
  25. <tr class="property-row">
  26. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  27. <td class="sig">
  28. <a id="Ext.data.SortTypes-stripTagsRE"></a>
  29. <b>stripTagsRE</b> : RegExp <div class="mdesc">
  30. The regular expression used to strip tags </div>
  31. </td>
  32. <td class="msource">SortTypes</td>
  33. </tr>
  34. </table>
  35. <a id="Ext.data.SortTypes-methods"></a>
  36. <h2>Public Methods</h2>
  37. <table cellspacing="0" class="member-table">
  38. <tr>
  39. <th class="sig-header" colspan="2">Method</th>
  40. <th class="msource-header">Defined By</th>
  41. </tr>
  42. <tr class="method-row expandable">
  43. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  44. <td class="sig">
  45. <a id="Ext.data.SortTypes-asDate"></a>
  46. <b>asDate</b>(&nbsp;<code>Mixed s</code>&nbsp;) : Number <div class="mdesc">
  47. <div class="short">Date sorting</div>
  48. <div class="long">
  49. Date sorting <div class="mdetail-params">
  50. <strong>Parameters:</strong>
  51. <ul><li><code>s</code> : Mixed<div class="sub-desc">The value being converted</div></li> </ul>
  52. <strong>Returns:</strong>
  53. <ul>
  54. <li><code>Number</code><div class="sub-desc">The comparison value</div></li>
  55. </ul>
  56. </div>
  57. </div>
  58. </div>
  59. </td>
  60. <td class="msource">SortTypes</td>
  61. </tr>
  62. <tr class="method-row alt expandable">
  63. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  64. <td class="sig">
  65. <a id="Ext.data.SortTypes-asFloat"></a>
  66. <b>asFloat</b>(&nbsp;<code>Mixed s</code>&nbsp;) : Float <div class="mdesc">
  67. <div class="short">Float sorting</div>
  68. <div class="long">
  69. Float sorting <div class="mdetail-params">
  70. <strong>Parameters:</strong>
  71. <ul><li><code>s</code> : Mixed<div class="sub-desc">The value being converted</div></li> </ul>
  72. <strong>Returns:</strong>
  73. <ul>
  74. <li><code>Float</code><div class="sub-desc">The comparison value</div></li>
  75. </ul>
  76. </div>
  77. </div>
  78. </div>
  79. </td>
  80. <td class="msource">SortTypes</td>
  81. </tr>
  82. <tr class="method-row expandable">
  83. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  84. <td class="sig">
  85. <a id="Ext.data.SortTypes-asInt"></a>
  86. <b>asInt</b>(&nbsp;<code>Mixed s</code>&nbsp;) : Number <div class="mdesc">
  87. <div class="short">Integer sorting</div>
  88. <div class="long">
  89. Integer sorting <div class="mdetail-params">
  90. <strong>Parameters:</strong>
  91. <ul><li><code>s</code> : Mixed<div class="sub-desc">The value being converted</div></li> </ul>
  92. <strong>Returns:</strong>
  93. <ul>
  94. <li><code>Number</code><div class="sub-desc">The comparison value</div></li>
  95. </ul>
  96. </div>
  97. </div>
  98. </div>
  99. </td>
  100. <td class="msource">SortTypes</td>
  101. </tr>
  102. <tr class="method-row alt expandable">
  103. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  104. <td class="sig">
  105. <a id="Ext.data.SortTypes-asText"></a>
  106. <b>asText</b>(&nbsp;<code>Mixed s</code>&nbsp;) : String <div class="mdesc">
  107. <div class="short">Strips all HTML tags to sort on text only</div>
  108. <div class="long">
  109. Strips all HTML tags to sort on text only <div class="mdetail-params">
  110. <strong>Parameters:</strong>
  111. <ul><li><code>s</code> : Mixed<div class="sub-desc">The value being converted</div></li> </ul>
  112. <strong>Returns:</strong>
  113. <ul>
  114. <li><code>String</code><div class="sub-desc">The comparison value</div></li>
  115. </ul>
  116. </div>
  117. </div>
  118. </div>
  119. </td>
  120. <td class="msource">SortTypes</td>
  121. </tr>
  122. <tr class="method-row expandable">
  123. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  124. <td class="sig">
  125. <a id="Ext.data.SortTypes-asUCString"></a>
  126. <b>asUCString</b>(&nbsp;<code>Mixed s</code>&nbsp;) : String <div class="mdesc">
  127. <div class="short">Case insensitive string</div>
  128. <div class="long">
  129. Case insensitive string <div class="mdetail-params">
  130. <strong>Parameters:</strong>
  131. <ul><li><code>s</code> : Mixed<div class="sub-desc">The value being converted</div></li> </ul>
  132. <strong>Returns:</strong>
  133. <ul>
  134. <li><code>String</code><div class="sub-desc">The comparison value</div></li>
  135. </ul>
  136. </div>
  137. </div>
  138. </div>
  139. </td>
  140. <td class="msource">SortTypes</td>
  141. </tr>
  142. <tr class="method-row alt expandable">
  143. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  144. <td class="sig">
  145. <a id="Ext.data.SortTypes-asUCText"></a>
  146. <b>asUCText</b>(&nbsp;<code>Mixed s</code>&nbsp;) : String <div class="mdesc">
  147. <div class="short">Strips all HTML tags to sort on text only - Case insensitive</div>
  148. <div class="long">
  149. Strips all HTML tags to sort on text only - Case insensitive <div class="mdetail-params">
  150. <strong>Parameters:</strong>
  151. <ul><li><code>s</code> : Mixed<div class="sub-desc">The value being converted</div></li> </ul>
  152. <strong>Returns:</strong>
  153. <ul>
  154. <li><code>String</code><div class="sub-desc">The comparison value</div></li>
  155. </ul>
  156. </div>
  157. </div>
  158. </div>
  159. </td>
  160. <td class="msource">SortTypes</td>
  161. </tr>
  162. <tr class="method-row expandable">
  163. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  164. <td class="sig">
  165. <a id="Ext.data.SortTypes-none"></a>
  166. <b>none</b>(&nbsp;<code>Mixed s</code>&nbsp;) : Mixed <div class="mdesc">
  167. <div class="short">Default sort that does nothing</div>
  168. <div class="long">
  169. Default sort that does nothing <div class="mdetail-params">
  170. <strong>Parameters:</strong>
  171. <ul><li><code>s</code> : Mixed<div class="sub-desc">The value being converted</div></li> </ul>
  172. <strong>Returns:</strong>
  173. <ul>
  174. <li><code>Mixed</code><div class="sub-desc">The comparison value</div></li>
  175. </ul>
  176. </div>
  177. </div>
  178. </div>
  179. </td>
  180. <td class="msource">SortTypes</td>
  181. </tr>
  182. </table>
  183. <a id="Ext.data.SortTypes-events"></a>
  184. <h2>Public Events</h2>
  185. <div class="no-members">This class has no public events.</div>
  186. </div>