News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

ProDevTips.com:
Pagination with PHP Doctrine
September 04, 2008 @ 09:30:06

The ProDevTips blog continues their series on using Doctrine in a sample application in this new part, a look at paginating the results from your database query.

Things are starting to become more and more feature complete. Let's look at how to implement general search and pagination.

They define the search to perform ($searchConf) and the pagination parameters ($pageConf) and apply them to their current Doctrine setup applying a simple layout to make the numbered links for switching between pages. They also define the search() method that pulls the results from the table to push into the pagination component.

0 comments voice your opinion now!
pagination doctrine configure search template tutorial


blog comments powered by Disqus

Similar Posts

Michelangelo van Dam's Blog: Quality Assurance on PHP projects - PHPUnit part 3

DevShed: Handling Entries for a Blogger Built with PHP

IBM developerWorks: Developing PHP the Ajax way, Part 2 - Back, Forward, Reload

Chris Jones: Using PHP and Oracle Database 12c Implicit Result Sets

PHP-GTK Community Blog: Articles on other sites (PHP6, an Intro & Desktop Apps)


Community Events

Don't see your event here?
Let us know!


podcast programming php7 application api list language opinion symfony example laravel yii2 interview framework part2 project introduction series composer community

All content copyright, 2015 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework