PHP Класс Bootstrap\View\Helper\BootstrapPaginatorHelper

Наследование: extends Cake\View\Helper\PaginatorHelper, use trait BootstrapTrait
Показать файл Открыть проект Примеры использования класса

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

Свойство Тип Описание
$_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