sfPager is an abstract class that lets you deal with pagination at a high level. The symfony core comes with two concrete implementations of sfPager : sfPropelPager and sfDoctrinePager (one for each ORM). The benefit of this abstraction is that you can reuse the business-logic of pagination and apply it to anything, without reinventing the wheel. Scott Meves have already submitted a snippet in whi