We have moved our forum to GitHub Discussions. For questions about Phalcon v3/v4/v5 you can visit here and for Phalcon v6 here.

paginator->getPaginate can return Total record Count?

$paginator = new \Phalcon\Paginator\Adapter\QueryBuilder(array( "builder" => $builder, "limit"=> $page_rows, "page" => $page )); $voList = $paginator->getPaginate(); Attribute Description items The set of records to be displayed at the current page before The previous page to the current one next The next page to the current one last The last page in the set of records total_pages The number of pages



98.9k

In recent commits we have added that functionality in the returning page.

Could you recompile 1.1.0 again?



3.9k

haha,it's work!tks!



64

Hi Phalcon -- i am new in phalcon How i can create pagination ,using phalcon paginator adapter query builder?