Download the PHP package victor-codigo/doctrine-paginator-adapter without Composer
On this page you can find all versions of the php package victor-codigo/doctrine-paginator-adapter. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download victor-codigo/doctrine-paginator-adapter
More information about victor-codigo/doctrine-paginator-adapter
Files in victor-codigo/doctrine-paginator-adapter
Download victor-codigo/doctrine-paginator-adapter
More information about victor-codigo/doctrine-paginator-adapter
Files in victor-codigo/doctrine-paginator-adapter
Vendor victor-codigo
Package doctrine-paginator-adapter
Short Description A doctrine paginator
License GPL-3.0-only
Package doctrine-paginator-adapter
Short Description A doctrine paginator
License GPL-3.0-only
Please rate this library. Is it a good library?
Informations about the package doctrine-paginator-adapter
DoctrinePaginatorAdapter
Description
PHP classes for doctrine pagination
Requeriments
Usage
Development
Installation
Install with Composer:
Classes
DoctrinePaginatorAdapter: Class to create the pagination
PaginatorInterface: Interface for paginator adapter
PaginatorException: Page exceptions
Usage
DoctrinePaginatorAdapter methods:
| Method | Description | Params | Return |
|---|---|---|---|
| __construct | Creates a class instance | 1. Doctrine\ORM\Tools\Pagination\Paginator or null: doctrine paginator | |
| createPaginator | Creates a new instance of DoctrinePaginatorAdapter | 1. Doctrine\ORM\Query or Doctrine\ORM\QueryBuilder: Query to create pagination | DoctrinePaginatorAdapter<TKey, TResult> |
| getPageItems | Gets the number of items by page | int or null | |
| setPagination | Sets the page to return, and the number of items per page | 1. int: Page number. 2. int: Number of items by page |
DoctrinePaginatorAdapter<TKey, TResult> |
| getPagesRange | Get a range of pages | 1. int: First page. 2. int: Last page. 3. int: Number of items per page |
\Generator |
| getAllPages | Gets all pages | int: Number of items per page | \Generator |
| getPageCurrent | Gets current page | int | |
| getPagesTotal | Gets the total number of pages | int | |
| hasNext | Gets if there is another page after the current page | int | |
| hasPrevious | Gets if there is a page before the current page | int | |
| getPageNextNumber | Gets the number of the page after | int or null | |
| getPagePreviousNumber | Gets the number of the page before | int or null | |
| getItemsTotal and count |
Gets the total number of items | int | |
| getIterator | Gets an iterator of the current page | \Tarversable |
All versions of doctrine-paginator-adapter with dependencies
PHP Build Version
Package Version
The package victor-codigo/doctrine-paginator-adapter contains the following files
Loading the files please wait ...