We are moving our forum in GitHub Discussions. For questions about Phalcon v3/v4 you can visit here and for Phalcon v5 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


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

Could you recompile 1.1.0 again?


haha,it's work!tks!


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