PHP Класс Askedio\ItemPaginator\ItemPaginator

Наследование: extends Illuminate\Pagination\Paginator, implements Illuminate\Contracts\Support\Arrayable, implements ArrayAcces\ArrayAccess, implements Countabl\Countable, implements IteratorAggregat\IteratorAggregate, implements JsonSerializabl\JsonSerializable, implements Illuminate\Contracts\Support\Jsonable, implements Illuminate\Contracts\Pagination\Paginator
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
firstItem ( ) : integer Get the number of the first item in the slice.
lastItem ( ) : integer Get the number of the last item in the slice.
nextPageUrl ( ) : string | null Get the URL for the next page.
toArray ( ) : array Get the instance as an array.

Защищенные методы

Метод Описание
getField ( )

Описание методов

firstItem() публичный метод

Get the number of the first item in the slice.
public firstItem ( ) : integer
Результат integer

getField() защищенный метод

protected getField ( )

lastItem() публичный метод

Get the number of the last item in the slice.
public lastItem ( ) : integer
Результат integer

nextPageUrl() публичный метод

Get the URL for the next page.
public nextPageUrl ( ) : string | null
Результат string | null

toArray() публичный метод

Get the instance as an array.
public toArray ( ) : array
Результат array