Class WFPagedPropelQuery

Description

Implements interfaces:

A WFPagedData implementation for a Propel query.

For PHOCOA, use this instead of PropelPager.

Sorting support: The sortKeys should be the "XXXPeer::COLUMN" with +/- prepended.

Located in /framework/WFPagination.php (line 871)


	
			
Variable Summary
Method Summary
WFPagedPropelQuery __construct (object Criteria $criteria, string $peerName, [string $peerSelectMethod = 'doSelect'])
void itemCount ()
void itemsAtIndex ( $startIndex,  $numItems,  $sortKeys)
Variables
mixed $criteria (line 873)
  • access: protected
mixed $peerName (line 874)
  • access: protected
mixed $peerSelectMethod (line 875)
  • access: protected
Methods
Constructor __construct (line 884)

Constructor.

WFPagedPropelQuery __construct (object Criteria $criteria, string $peerName, [string $peerSelectMethod = 'doSelect'])
  • object Criteria $criteria: The Propel criteria for the query.
  • string $peerName: The name of the Peer class to run the query against.
  • string $peerSelectMethod: The name of the Peer method to use for the select. Defaults to doSelect.
itemCount (line 895)
void itemCount ()

Implementation of:
WFPagedData::itemCount()
Get the total number of items in the paged data.
itemsAtIndex (line 900)
void itemsAtIndex ( $startIndex,  $numItems,  $sortKeys)
  • $startIndex
  • $numItems
  • $sortKeys

Implementation of:
WFPagedData::itemsAtIndex()
Get a page of the managed items.

Documentation generated on Thu, 17 Apr 2008 13:52:00 -0400 by phpDocumentor 1.4.1