symfony API

sfPropelPager Class

You are currently browsing
the website for symfony 1

Visit the Symfony2 website


« Back to API menu

1.3 API OpenSearch

Packages

You are currently browsing the symfony API for the 1.3 version. Switch to:

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 () Browse code

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

  • (Criteria) getCriteria () Browse code

    Returns the current Criteria.

  • (string) getPeerCountMethod () Browse code

    Returns the peer count method name.

  • (string) getPeerMethod () Browse code

    Returns the peer method name.

  • getResults () Browse code

    @see sfPager

  • init () Browse code

    @see sfPager

  • retrieveObject () Browse code

    @see sfPager

  • setCriteria ($criteria) Browse code

    Sets the Criteria for the current pager.

  • setPeerCountMethod ($peer_count_method_name) Browse code

    Sets the peer count method name.

  • setPeerMethod ($method) Browse code

    $method A method on the current peer class

    Sets the peer method name.

  • __construct () Browse code

    Constructor.