PHP Класс Devise\Search\Pagination

Наследование: implements IteratorAggregat\IteratorAggregate, implements Illuminate\Contracts\Support\Jsonable
Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
$appendsToLink
$appendsToLinkData
$items

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

Метод Описание
appends ( $data ) Append input queries
getIterator ( ) : Traversable Iterator lets us traverse this paginated object
links ( ) : mixed Lets us do links on this paginated object
make ( $collection, $page, $perPage ) Makes a new paginated result from a collection
toArray ( ) : array Turns this paginated object into an array
toJson ( integer $options ) : string Turns this object into a json serialized object

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

Метод Описание
View ( ) : mixed Creates the view for us
convertItemsToRealModel ( ) Turns the items into the real model. PageSearch turns into Page model. We usually want that model instead.

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

View() защищенный Метод

Creates the view for us
protected View ( ) : mixed
Результат mixed

appends() публичный Метод

Append input queries
public appends ( $data )
$data

convertItemsToRealModel() защищенный Метод

..
protected convertItemsToRealModel ( )

getIterator() публичный Метод

Iterator lets us traverse this paginated object
public getIterator ( ) : Traversable
Результат Traversable

make() публичный Метод

Makes a new paginated result from a collection
public make ( $collection, $page, $perPage )
$collection
$page
$perPage

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

Turns this paginated object into an array
public toArray ( ) : array
Результат array

toJson() публичный Метод

Turns this object into a json serialized object
public toJson ( integer $options ) : string
$options integer
Результат string

Описание свойств

$appendsToLinkData защищенное свойство

protected $appendsToLinkData

$items защищенное свойство

protected $items