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 $count = 0

Parameters

$count

array

Total item count

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

 

Item count

$_count : integer

Default

null