Свойство | Type | Description | |
---|---|---|---|
$appendsToLink | |||
$appendsToLinkData | |||
$items |
Méthode | Description | |
---|---|---|
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 |
Méthode | Description | |
---|---|---|
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. |
public getIterator ( ) : Traversable | ||
Résultat | Traversable |
public make ( $collection, $page, $perPage ) | ||
$collection | ||
$page | ||
$perPage |