PHP 클래스 Bootstrap\View\Helper\BootstrapPaginatorHelper

상속: extends Cake\View\Helper\PaginatorHelper, use trait BootstrapTrait
파일 보기 프로젝트 열기: holt59/cakephp3-bootstrap3-helpers 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$_defaultConfig array Options: Holds the default options for pagination links The values that may be specified are: - url Url of the action. See Router::url() - url['sort'] the key that the recordset is sorted. - url['direction'] Direction of the sorting (default: 'asc'). - url['page'] Page number to use in links. - model The name of the model. - escape Defines if the title field for the link should be escaped (default: true). Templates: the templates used by this class

공개 메소드들

메소드 설명
first ( $first = '<< first', array $options = [] )
last ( $last = 'last >>', array $options = [] )
next ( $title = 'Next >>', array $options = [] )
numbers ( array $options = [] ) Get pagination link list.
prev ( $title = '<< Previous', array $options = [] )

메소드 상세

first() 공개 메소드

public first ( $first = '<< first', array $options = [] )
$options array

last() 공개 메소드

public last ( $last = 'last >>', array $options = [] )
$options array

next() 공개 메소드

public next ( $title = 'Next >>', array $options = [] )
$options array

numbers() 공개 메소드

Get pagination link list.
public numbers ( array $options = [] )
$options array Options for link element Extra options: - size small/normal/large (default normal)

prev() 공개 메소드

public prev ( $title = '<< Previous', array $options = [] )
$options array

프로퍼티 상세

$_defaultConfig 보호되어 있는 프로퍼티

Options: Holds the default options for pagination links The values that may be specified are: - url Url of the action. See Router::url() - url['sort'] the key that the recordset is sorted. - url['direction'] Direction of the sorting (default: 'asc'). - url['page'] Page number to use in links. - model The name of the model. - escape Defines if the title field for the link should be escaped (default: true). Templates: the templates used by this class
protected array $_defaultConfig
리턴 array