文件名称:simple-pagination
文件大小:20KB
文件格式:ZIP
更新时间:2024-04-06 13:42:52
PHP
教义/教义Примериспользованияпагинациинапримере $ perPage = 20 ; $ currentPage = ( int ) $ request -> query -> get ( 'page' , 1 ); $ qb = $ this -> repository -> paginationQuery (); $ pagination = new Paginator ( $ perPage , $ currentPage , new DoctrineOrmDataProvider ( $ qb )); return [ 'list' => $ pagination -> result (), 'currentPage' => $ curre
【文件预览】:
simple-pagination-master
----.gitignore(6B)
----src()
--------Paginator.php(2KB)
--------Exceptions()
--------resources()
--------tests()
--------DataProviders()
----composer.json(622B)
----composer.lock(113KB)
----Readme.md(987B)
----phpunit.dist.xml(667B)