Inheritence
sfDoctrinePager
<
sfPager
Method Summary
-
getCountQuery()
-
Doctrine_Query
getQuery()
Get the query for the pager
-
mixed
getResults($hydrationMode = Doctrine::HYDRATE_RECORD)
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()
Initialize the pager instance and prepare it to be used for rendering
-
Doctrine_Record
retrieveObject($offset)
Retrieve the object for a certain offset
-
string
serialize()
Serialize the pager object
-
setQuery((Doctrine_Query) $query)
Set query object for the pager
-
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
getClass , getCurrent , getCurrentMaxLink , getCursor , getFirstIndice , getFirstPage , getLastIndice , getLastPage , getLinks , getMaxPerPage , getMaxRecordLimit , getNbResults , getNext , getNextPage , getObjectByCursor , getPage , getParameter , getParameterHolder , getPrevious , getPreviousPage , getResults , hasParameter , haveToPaginate , init , retrieveObject , setClass , setCursor , setLastPage , setMaxPerPage , setMaxRecordLimit , setNbResults , setPage , setParameter , __construct
Method Details
-
-
(Doctrine_Query) getQuery ()
Browse code
Get the query for the pager
-
(mixed) getResults ($hydrationMode = Doctrine::HYDRATE_RECORD)
Browse code
| $hydrationMode |
Doctrine::HYDRATE_* constants
|
Get all the results for the pager instance
returns Doctrine_Collection/array
-
(string) getTableMethod ()
Browse code
Get the name of the table method used to retrieve the query object for the
pager
-
Initialize the pager instance and prepare it to be used for rendering
-
(Doctrine_Record) retrieveObject ($offset)
Browse code
Retrieve the object for a certain offset
-
Serialize the pager object
-
setQuery ((Doctrine_Query) $query)
Browse code
Set query object for the pager
-
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
|