@@ -363,28 +363,28 @@ Each paginator instance provides additional pagination information via the follo
363
363
364
364
<div class =" overflow-auto " >
365
365
366
- | Method | Description |
367
- | --- | --- |
368
- | ` $paginator->count() ` | Get the number of items for the current page. |
369
- | ` $paginator->currentPage() ` | Get the current page number. |
370
- | ` $paginator->firstItem() ` | Get the result number of the first item in the results. |
371
- | ` $paginator->getOptions() ` | Get the paginator options. |
372
- | ` $paginator->getUrlRange($start, $end) ` | Create a range of pagination URLs. |
373
- | ` $paginator->hasPages() ` | Determine if there are enough items to split into multiple pages. |
374
- | ` $paginator->hasMorePages() ` | Determine if there are more items in the data store. |
375
- | ` $paginator->items() ` | Get the items for the current page. |
376
- | ` $paginator->lastItem() ` | Get the result number of the last item in the results. |
377
- | ` $paginator->lastPage() ` | Get the page number of the last available page. (Not available when using ` simplePaginate ` ). |
378
- | ` $paginator->nextPageUrl() ` | Get the URL for the next page. |
379
- | ` $paginator->onFirstPage() ` | Determine if the paginator is on the first page. |
380
- | ` $paginator->onLastPage() ` | Determine if the paginator is on the last page. |
381
- | ` $paginator->perPage() ` | The number of items to be shown per page. |
382
- | ` $paginator->previousPageUrl() ` | Get the URL for the previous page. |
383
- | ` $paginator->total() ` | Determine the total number of matching items in the data store. (Not available when using ` simplePaginate ` ). |
384
- | ` $paginator->url($page) ` | Get the URL for a given page number. |
385
- | ` $paginator->getPageName() ` | Get the query string variable used to store the page. |
386
- | ` $paginator->setPageName($name) ` | Set the query string variable used to store the page. |
387
- | ` $paginator->through($callback) ` | Transform each item using a callback. |
366
+ | Method | Description |
367
+ | --------------------------------------- | --------------------------------------------------------------------------------------------------------- --- |
368
+ | ` $paginator->count() ` | Get the number of items for the current page. |
369
+ | ` $paginator->currentPage() ` | Get the current page number. |
370
+ | ` $paginator->firstItem() ` | Get the result number of the first item in the results. |
371
+ | ` $paginator->getOptions() ` | Get the paginator options. |
372
+ | ` $paginator->getUrlRange($start, $end) ` | Create a range of pagination URLs. |
373
+ | ` $paginator->hasPages() ` | Determine if there are enough items to split into multiple pages. |
374
+ | ` $paginator->hasMorePages() ` | Determine if there are more items in the data store. |
375
+ | ` $paginator->items() ` | Get the items for the current page. |
376
+ | ` $paginator->lastItem() ` | Get the result number of the last item in the results. |
377
+ | ` $paginator->lastPage() ` | Get the page number of the last available page. (Not available when using ` simplePaginate ` ). |
378
+ | ` $paginator->nextPageUrl() ` | Get the URL for the next page. |
379
+ | ` $paginator->onFirstPage() ` | Determine if the paginator is on the first page. |
380
+ | ` $paginator->onLastPage() ` | Determine if the paginator is on the last page. |
381
+ | ` $paginator->perPage() ` | The number of items to be shown per page. |
382
+ | ` $paginator->previousPageUrl() ` | Get the URL for the previous page. |
383
+ | ` $paginator->total() ` | Determine the total number of matching items in the data store. (Not available when using ` simplePaginate ` ). |
384
+ | ` $paginator->url($page) ` | Get the URL for a given page number. |
385
+ | ` $paginator->getPageName() ` | Get the query string variable used to store the page. |
386
+ | ` $paginator->setPageName($name) ` | Set the query string variable used to store the page. |
387
+ | ` $paginator->through($callback) ` | Transform each item using a callback. |
388
388
389
389
</div >
390
390
0 commit comments