Class Ext.data.SortTypes
Package: | Ext.data |
Class: | SortTypes |
Extends: | Object |
Defined In: | SortTypes.js |
This class is a singleton and cannot be created directly.
属性
-
方法
-
事件
公共属性
|
stripTagsRE : RegExp |
SortTypes |
The regular expression used to strip tags |
公共方法
|
asDate(Mixed s ) : Number |
SortTypes |
Date sorting |
|
asFloat(Mixed s ) : Float |
SortTypes |
Float sorting |
|
asInt(Mixed s ) : Number |
SortTypes |
Integer sorting |
|
asText(Mixed s ) : String |
SortTypes |
Strips all HTML tags to sort on text only |
|
asUCString(Mixed s ) : String |
SortTypes |
Case insensitive string |
|
asUCText(Mixed s ) : String |
SortTypes |
Strips all HTML tags to sort on text only - Case insensitive |
|
none(Mixed s ) : Mixed |
SortTypes |
Default sort that does nothing |
公共事件
此类没有公共事件。
属性详情
stripTagsRE
public RegExp stripTagsRE
The regular expression used to strip tags
This property is defined by SortTypes.
方法详情
asDate
public function asDate(Mixed s
)
Date sorting
参数:
返回:
Number
The comparison value
This method is defined by SortTypes.
asFloat
public function asFloat(Mixed s
)
Float sorting
参数:
返回:
Float
The comparison value
This method is defined by SortTypes.
asInt
public function asInt(Mixed s
)
Integer sorting
参数:
返回:
Number
The comparison value
This method is defined by SortTypes.
asText
public function asText(Mixed s
)
Strips all HTML tags to sort on text only
参数:
返回:
String
The comparison value
This method is defined by SortTypes.
asUCString
public function asUCString(Mixed s
)
Case insensitive string
参数:
返回:
String
The comparison value
This method is defined by SortTypes.
asUCText
public function asUCText(Mixed s
)
Strips all HTML tags to sort on text only - Case insensitive
参数:
返回:
String
The comparison value
This method is defined by SortTypes.
none
public function none(Mixed s
)
Default sort that does nothing
参数:
返回:
Mixed
The comparison value
This method is defined by SortTypes.