trait SupportsCursorTrait (View source)

Methods

getCurrentCursorFromRequest(Request $request)

No description

addCursorToResource(iterable $results, Request $request, $getNewCursor, ResourceAbstract $resource, $previousCursor = null)

No description

setupSortAndCursor(Request $request, ItemList $list, PagerColumnInterface $column, callable $getCursorObjectFunction)

No description

Details

getCurrentCursorFromRequest(Request $request)

No description

Parameters

Request $request

addCursorToResource(iterable $results, Request $request, $getNewCursor, ResourceAbstract $resource, $previousCursor = null)

No description

Parameters

iterable $results
Request $request
$getNewCursor
ResourceAbstract $resource
$previousCursor

setupSortAndCursor(Request $request, ItemList $list, PagerColumnInterface $column, callable $getCursorObjectFunction)

No description

Parameters

Request $request
ItemList $list
PagerColumnInterface $column
callable $getCursorObjectFunction