Paginator::__construct()
  • References/PHP/Laravel/Pagination

void __construct(mixed $items, int $perPage, int|null $currentPage = null, array $options = array())

2025-01-10 15:47:30
Paginator::toJson()
  • References/PHP/Laravel/Pagination

string toJson(int $options) Convert the object to its JSON representation

2025-01-10 15:47:30
LengthAwarePaginator::hasMorePages()
  • References/PHP/Laravel/Pagination

bool hasMorePages() Determine if there are more items in the data source

2025-01-10 15:47:30
LengthAwarePaginator::getUrlRange()
  • References/PHP/Laravel/Pagination

string getUrlRange(int $start, int $end) Create a range of pagination URLs

2025-01-10 15:47:30
Paginator::offsetUnset()
  • References/PHP/Laravel/Pagination

void offsetUnset(mixed $key) Unset the item at the given key.

2025-01-10 15:47:30
LengthAwarePaginator::lastItem()
  • References/PHP/Laravel/Pagination

int lastItem() Get the number of the last item in the slice.

2025-01-10 15:47:30
Paginator::previousPageUrl()
  • References/PHP/Laravel/Pagination

string|null previousPageUrl() Get the URL for the previous page.

2025-01-10 15:47:30
LengthAwarePaginator::offsetExists()
  • References/PHP/Laravel/Pagination

bool offsetExists(mixed $key) Determine if the given item exists.

2025-01-10 15:47:30
LengthAwarePaginator::previousPageUrl()
  • References/PHP/Laravel/Pagination

string|null previousPageUrl() Get the URL for the previous page.

2025-01-10 15:47:30
Paginator::jsonSerialize()
  • References/PHP/Laravel/Pagination

array jsonSerialize() Convert the object into something JSON serializable

2025-01-10 15:47:30