![]() The LengthAwarePaginator accepts almost the same arguments as the Paginator however, it requires a count of the total number of items in the result set. The Paginator and CursorPaginator classes do not need to know the total number of items in the result set however, because of this, these classes do not have methods for retrieving the index of the last page. ![]() You may do so by creating either an Illuminate\Pagination\Paginator, Illuminate\Pagination\LengthAwarePaginator or Illuminate\Pagination\CursorPaginator instance, depending on your needs. Sometimes you may wish to create a pagination instance manually, passing it an array of items that you already have in memory.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |