dev-master
9999999-dev http://github.com/jr-k/JRKEasyPaginationBundleeasypagination bundle for symfony2/3
MIT GNU GPL v2
The Requires
- php >=5.3.2
- ext-curl *
- symfony/framework-bundle >=2.0
pagination pager jrk easypagination fanta
Wallogit.com
2017 © Pedro Peláez
easypagination bundle for symfony2/3
JRKEasyPaginationBundle requires the Pagerfanta api folder, (*1)
Add jrk/easypagination-bundle as a dependency in your project's composer.json file:, (*2)
{
"require": {
"jrk/easypagination-bundle": "dev-master"
}
}
Update composer, (*3)
php composer update
or
php composer.phar update
- Add JRKEasyPaginationBundle to your application kernel
``` php
get('jrk_easypagination')->paginate(
$queryBuilder, // QueryBuilder
array('args' => array('limit' => $limit), 'route' => self::$route_list), // Route for HTML widget
$limit, // Number of items per page
false, // OutOfRangeException quiet or not
$page, // The page number (by default it will check for "page" attribute in the request)
true // If you need the HTML widget
);
?>
easypagination bundle for symfony2/3
MIT GNU GPL v2
pagination pager jrk easypagination fanta