Download the PHP package vudev/pagination without Composer
On this page you can find all versions of the php package vudev/pagination. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package pagination
ConstructPagination
php >= 5.3
Установка
Описание
Создание объекта
Доступные методы
Метод | Доступ | Описание |
---|---|---|
pg_print | public | Отображает на экране результат |
pg_return | public | Возвращает результат |
Свойства объекта Pagination
Свойство | Тип | По умолчанию | Обязательно | Описание |
---|---|---|---|---|
count | integer | нет | Да | Общее кол-во записей (например в БД) |
current_page | integer | 1 | Да | Номер текущей страницы (от 1) |
page_count | integer | 25 | нет | Кол-во выводимых записей на одной странице |
views_page | integer | 5 | нет | Кол-во отображаемых нумераций на странице |
query_key | string | page | нет | Кол-во отображаемых нумераций на странице |
temps | array | массив | нет | Массив дополнительных свойств (см. ниже) |
Дополнительные свойства temps
:
start_text
- Свойство изменяет текст «В начало», который отображается с более 5 страниц;next_text
- Свойство изменяет текст «дальше», который отображается с более 5 страниц;-
classes
- Предназначено для изменения стилей пагинации. В данных свойствах указываются только пользовательские классы:linkpage
- Нумерция страниц (1,2,3,4...)current
- Текущая страницаstart
- Текст «В начало»next
- Текст «дальше»
Пример использования
All versions of pagination with dependencies
PHP Build Version
Package Version
Requires
php Version
>=5.3
The package vudev/pagination contains the following files
Loading the files please wait ....