new tart.base.plugin.Sorter(model)
Name | Type | Description |
---|---|---|
model |
tart.base.Model |
Extends
Members
-
key
-
Set plugin's param
-
protectedmap
-
-
protectedmodel
-
-
protectedsorts
-
Methods
-
addSort(field, order)
-
Name Type Description field
string field to be sorted.
order
string order by directive, which is asc or desc.
-
clear()
-
clear map for plugin
-
inherited getModel()
-
Getter for model