symfony API

sfDoctrinePager 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:

sfDoctrine pager class.

Inheritence

sfDoctrinePager  <  sfPager

Method Summary

  • Doctrine_Query getCountQuery()
    Returns a query for counting the total results.
  • Doctrine_Query getQuery()
    Get the query for the pager.
  • Doctrine_Collection|array getResults($hydrationMode)
    Get all the results for the pager instance
  • string getTableMethod()
    Get the name of the table method used to retrieve the query object for the pager
  • init()
    @see sfPager
  • initializeIterator()
    @see sfPager
  • Doctrine_Record retrieveObject($offset)
    Retrieve the object for a certain offset
  • string serialize()
    Serialize the pager object
  • setQuery($query)
    Set query object for the pager
  • void setTableMethod($tableMethodName)
    Set the name of the table method used to retrieve the query object for the pager
  • unserialize($serialized)
    Unserialize a pager object

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

  • (Doctrine_Query) getCountQuery () Browse code

    Returns a query for counting the total results.

  • (Doctrine_Query) getQuery () Browse code

    Get the query for the pager.

  • (Doctrine_Collection|array) getResults ($hydrationMode) Browse code

    $hydrationMode A hydration mode identifier

    Get all the results for the pager instance

  • (string) getTableMethod () Browse code

    Get the name of the table method used to retrieve the query object for the pager

    returns $tableMethodName

  • init () Browse code

    @see sfPager

  • initializeIterator () Browse code

    @see sfPager

  • (Doctrine_Record) retrieveObject ($offset) Browse code

    Retrieve the object for a certain offset

  • (string) serialize () Browse code

    Serialize the pager object

    returns $serialized

  • setQuery ($query) Browse code

    Set query object for the pager

  • (void) setTableMethod ($tableMethodName) Browse code

    Set the name of the table method used to retrieve the query object for the pager

  • unserialize ($serialized) Browse code

    Unserialize a pager object