trait HasPosition (View source)

Methods

static 
bootHasPosition()

No description

setToLastPosition()

No description

getCurrentLastPosition()

No description

Builder
scopeOrdered(Builder $query)

No description

static void
setNewOrder(array $ids, int $startOrder = 1)

No description

Details

static protected bootHasPosition()

No description

protected setToLastPosition()

No description

protected getCurrentLastPosition()

No description

Builder scopeOrdered(Builder $query)

No description

Parameters

Builder $query

Return Value

Builder

static void setNewOrder(array $ids, int $startOrder = 1)

No description

Parameters

array $ids
int $startOrder

Return Value

void