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
-
@see sfPager
-
@see sfPager
-
(Doctrine_Record) retrieveObject ($offset)
Browse code
Retrieve the object for a certain offset
-
Serialize the pager object
returns $serialized
-
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
|