PHP 클래스 Devise\Search\Pagination

상속: implements IteratorAggregat\IteratorAggregate, implements Illuminate\Contracts\Support\Jsonable
파일 보기 프로젝트 열기: devisephp/cms

보호된 프로퍼티들

프로퍼티 타입 설명
$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