category Zend
package Zend_Paginator
copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
license New BSD License

 Methods

Constructor.

__construct(array $array) 

Parameters

$array

array

Array to paginate

Returns the total number of rows in the array.

count() : integer

Returns

integer

Returns an array of items for a page.

getItems(integer $offset, integer $itemCountPerPage) : array
inherited_from \Zend_Paginator_Adapter_Interface::getItems()

Parameters

$offset

integer

Page offset

$itemCountPerPage

integer

Number of items per page

Returns

array

 Properties

 

Array

$_array : array

Default

null
 

Item count

$_count : integer

Default

null