SilverShop\ListSorter\ListSorterOption
Encapsulate sort option title, sorting SQL, GET parameter key, and reverse option.
Synopsis
class ListSorterOption
extends ViewableData
{
- // members
- protected $title;
- protected $id;
- protected $sortSet;
- protected $reverseOption;
- // methods
- public void __construct()
- public void getTitle()
- public void setTitle()
- public void getSortSet()
- public void setReverseOption()
- public void getReverseOption()
- public void isReversable()
- public void setID()
- public void getID()
- public void __toString()
- public void getLink()
- private string generateLink()
Hierarchy
Extends
- SilverStripe\View\ViewableData
Tasks
Line | Task |
---|---|
97 | strip "start" pagination parameter, |
Members
protected
- $id
- $reverseOption
- $sortSet
- $title