Zend Framework  1.12
Public Member Functions | Protected Attributes | List of all members
Zend_Paginator_Adapter_Null Class Reference

Public Member Functions

 __construct ($count=0)
 Constructor.
 
 getItems ($offset, $itemCountPerPage)
 Returns an array of items for a page.
 
 count ()
 Returns the total number of rows in the array.
 

Protected Attributes

 $_count = null
 

Constructor & Destructor Documentation

__construct (   $count = 0)

Constructor.

Parameters
array$countTotal item count

Member Function Documentation

count ( )

Returns the total number of rows in the array.

Returns
integer
getItems (   $offset,
  $itemCountPerPage 
)

Returns an array of items for a page.

Parameters
integer$offsetPage offset
integer$itemCountPerPageNumber of items per page
Returns
array

Implements Zend_Paginator_Adapter_Interface.

Member Data Documentation

$_count = null
protected