symfony API

sfPropelPager Class

You are currently browsing
the website for symfony 1

Visit the Symfony2 website


« Back to API menu

Packages

You are currently browsing the symfony API for the 1.4 version. Switch to:
This version of symfony is not maintained anymore.
If some of your projects still use this version, consider upgrading as soon as possible.

This class is the Propel implementation of sfPager. It interacts with the propel record set and

Inheritence

sfPropelPager  <  sfPager

Method Summary

Methods inherited from sfPager

count , current , getClass , getCurrent , getCurrentMaxLink , getCursor , getFirstIndice , getFirstPage , getLastIndice , getLastPage , getLinks , getMaxPerPage , getMaxRecordLimit , getNbResults , getNext , getNextPage , getObjectByCursor , getPage , getParameter , getParameterHolder , getPrevious , getPreviousPage , getResults , hasParameter , haveToPaginate , init , initializeIterator , isFirstPage , isIteratorInitialized , isLastPage , key , next , resetIterator , retrieveObject , rewind , setClass , setCursor , setLastPage , setMaxPerPage , setMaxRecordLimit , setNbResults , setPage , setParameter , valid , __construct

Method Details

  • (string) getClassPeer ()

    Returns the name of the current model class' peer class.

  • (Criteria) getCriteria ()

    Returns the current Criteria.

  • (string) getPeerCountMethod ()

    Returns the peer count method name.

  • (string) getPeerMethod ()

    Returns the peer method name.

  • getResults ()

    @see sfPager

  • init ()

    @see sfPager

  • retrieveObject ()

    @see sfPager

  • setCriteria ($criteria)

    Sets the Criteria for the current pager.

  • setPeerCountMethod ($peer_count_method_name)

    Sets the peer count method name.

  • setPeerMethod ($method)

    $method A method on the current peer class

    Sets the peer method name.

  • __construct ()

    Constructor.