OrderTrait
Order Records
OrderTrait PHP Methods
dragOrder(string $newID, bool $isLast = false) v5
Change the order for a record when using drag and drop to order records
PARAMETERS:
$newID = String, new record id attribute
$isLast = bool, true if the record is the last record, false otherwise
RETURN VALUE:
VOID fixOrder() v5
Fix records order based on their dorder column value in ASC order
PARAMETERS:
None
RETURN VALUE:
VOID moveDown() v5
Moves a record down by 1
PARAMETERS:
None
RETURN VALUE:
VOID moveUp() v5
Moves a record up by 1
PARAMETERS:
None
RETURN VALUE:
VOIDOrderTrait PHP Variables
🔎︎ %l4610%