October\Rain\Database\Behaviors\Sortable

Extends:

Public properties

There are no public properties in the class.

Show inherited public properties

Inherited public properties

Protected properties

protected $model

protected static $sortableShownDeprecation

Show inherited protected properties

Inherited protected properties

Public methods

public void __construct($parent)
Parameters
  • $parent

public void bootSortable()

Boot the sortable behavior for this model.

public string getSortOrderColumn()

Get the name of the "sort order" column.

public void setSortableOrder(mixed $itemIds, array $itemOrders=NULL)

Sets the sort order of records to the specified orders. If the orders is undefined, the record identifier is used.

Parameters
  • mixed $itemIds
  • array $itemOrders

Show inherited public methods

Inherited public methods

Protected methods

Show inherited protected methods

Inherited protected methods