Class WFPagedArray

Description

Implements interfaces:

A WFPagedData implementation for an array.

WFPagedArray supports the following sortKeys: "+sort, -sort". These will sort the array with sort and rsort respectively.

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


	
			
Variable Summary
mixed $data
Method Summary
WFPagedArray __construct (array $array)
void itemCount ()
void itemsAtIndex ( $startIndex,  $numItems,  $sortKeys)
Variables
mixed $data (line 829)
  • access: protected
Methods
Constructor __construct (line 836)

Constructor.

WFPagedArray __construct (array $array)
  • array $array: An array of data to paginate.
itemCount (line 841)
void itemCount ()

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

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

Documentation generated on Thu, 14 May 2009 16:20:16 -0400 by phpDocumentor 1.4.2