PHP 클래스 KGzocha\Searcher\Criteria\Adapter\ImmutablePaginationAdapter

Every other behaviour will be untouched.
저자: Krzysztof Gzocha ([email protected])
상속: implements KGzocha\Searcher\Criteria\PaginationCriteriaInterface
파일 보기 프로젝트 열기: krzysztof-gzocha/searcher

공개 메소드들

메소드 설명
__construct ( KGzocha\Searcher\Criteria\PaginationCriteriaInterface $pagination )
getItemsPerPage ( )
getPage ( )
setItemsPerPage ( $itemsPerPage ) This method will not allow to change items per page.
setPage ( $page )
shouldBeApplied ( )

메소드 상세

__construct() 공개 메소드

public __construct ( KGzocha\Searcher\Criteria\PaginationCriteriaInterface $pagination )
$pagination KGzocha\Searcher\Criteria\PaginationCriteriaInterface

getItemsPerPage() 공개 메소드

public getItemsPerPage ( )

getPage() 공개 메소드

public getPage ( )

setItemsPerPage() 공개 메소드

On each call it will set the same value. {@inheritdoc}
public setItemsPerPage ( $itemsPerPage )

setPage() 공개 메소드

public setPage ( $page )

shouldBeApplied() 공개 메소드

public shouldBeApplied ( )