SilverCart\ORM\DataList
Alternative DataList to provide optional non-linear (inter relation) sorting of DataObjects.
- Author: Sebastian Diel <sdiel@pixeltricks.de>
- Copyright: 2018 pixeltricks GmbH
- License: see license file in modules root directory
Synopsis
class DataList
extends DataList
{
- // members
- public static bool $do_linear_sort = true;
- // methods
- public static void set_do_linear_sort()
- public static bool get_do_linear_sort()
- public static bool do_linear_sort()
- public $this sort()
Hierarchy
Extends
- SilverStripe\ORM\DataList
Members
public
- $do_linear_sort
—
SilverCart\ORM\bool
Determines whether to sort linear or not.
Methods
public
- do_linear_sort() — Returns whether to sort linear or not.
- get_do_linear_sort() — Returns whether to sort linear or not.
- set_do_linear_sort() — Sets whether to sort linear or not.
- sort() — Adds the optional non-linear sort.